cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
How to control the CPU usage.
How to control the CPU usage.
Jun 4, 2009 at 6:02am UTC
mathueie
(22)
Hi
How to control the CPU usage of particular process in linux.
Jun 4, 2009 at 11:47am UTC
kbw
(9488)
You can change the priority, but that doesn't change CPU usage as such.
http://www.manpagez.com/man/1/nice/
http://www.manpagez.com/man/3/nice/
Jun 4, 2009 at 12:26pm UTC
jsmith
(5804)
You can look at setrlimit() under RLIMIT_CPU. It's probably not exactly what you want,
but I thought I'd mention it anyway.
Topic archived. No new replies allowed.