Results 1 to 3 of 3
Could someone explain what does 'cpu time' mean? For example, there is an option in /etc/security/limits.conf where you can set maximum cpu time per process, but I am not sure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-18-2005 #1
- Join Date
- Nov 2004
Could someone explain what does 'cpu time' mean? For example, there is an option in /etc/security/limits.conf where you can set maximum cpu time per process, but I am not sure what is this supposed to mean.
- 01-18-2005 #2
CPU time is the time a process/program actually uses the CPU. CPU is divided between the processes/programs, since you have more processes/programs active then there are CPU's in your system
See 'top' for some information about how much CPU Time is used by processes/programs .I\'m so tired .....
- 01-18-2005 #3
one way it to say "for how many percent of N seconds did the CPU do somethign usefull" (usefull = not in the kernels passing time code ) [cw]ould be "the CPU usage during the past N seconds is X percent".
I think those limits is one way to make you say to the system, this application may only use this much CPU time and then wait for a little while so other processes can do something. I can imagine uses for making sure eg root always can do something, even if some process has gone rennagade and just steal CPU time.Regards Scienitca (registered user #335819 - http://counter.li.org )
A master is nothing more than a student who knows something of which he can teach to other students.