WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Control CPU usage  (Read 2008 times)

Offline therunningotaku

  • Newbie
  • *
  • Posts: 3
[SOLVED] Control CPU usage
« 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!
« Last Edit: October 24, 2013, 07:45:09 AM by therunningotaku »

Pseudoman

  • Guest
Re: Control CPU usage
« Reply #1 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.

Offline therunningotaku

  • Newbie
  • *
  • Posts: 3
Re: Control CPU usage
« Reply #2 on: October 19, 2013, 10:05:45 AM »
Thanks a lot! :)
I'll give it a go