Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: therunningotaku on October 18, 2013, 12:13:37 AM

Title: [SOLVED] Control CPU usage
Post by: therunningotaku on October 18, 2013, 12:13:37 AM
Hello!
I'm new to Linux, and I've recently set up a Minecraft Server running on a MicroCoreLinux box.
It's running pretty well, but I think I'll set up a CUPS print server for my parent's printer on there as well as possibly a FTP server on the same machine.
As I don't want my Minecraft server(s) to lag, I was wondering if there was a way to control the CPU usage of a single program or process in the MicroCore machine and if so how I could use it to control multiple programs?
The Server's running in a screen tab so i can type commands into the console even though the server's running.

Thanks in advance!
Title: Re: Control CPU usage
Post by: Pseudoman on October 18, 2013, 12:47:29 AM
Have you looked at the "nice" and "renice" commands? I haven't used them much myself, bit I think that they are supposed to control process priority.
Title: Re: Control CPU usage
Post by: therunningotaku on October 19, 2013, 10:05:45 AM
Thanks a lot! :)
I'll give it a go