Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* CPU usage explanation
@ 2003-09-04  3:40 David Gore
       [not found] ` <bj6r9p$189$1@Mercury.ev.co.yu>
  0 siblings, 1 reply; 3+ messages in thread
From: David Gore @ 2003-09-04  3:40 UTC (permalink / raw)


Could anyone point me to a good description of how the CPU is utilized on a
single processor system running dgux 4.0f?

I have a development manager hounding me because our Big Brother (BB)
scripts are using what he considers an unacceptable amount of CPU, 12-24%
several times in an hour.

I know in general how jobs/processes are scheduled, but am a little unclear
on what it actually means when a process uses a certain percentage of CPU.
If only one process can run on the CPU at a time it would almost seem like
each process would use a 100% and then the next process would use a 100%
since only 1 process can use the CPU at a time?  Obviously there are some
other calculations involved in regards to priority and such.  The percentage
could be, I am using the CPU 25% of the time in comparison to other
processes?

I aplogize if I missed a FAQ somewhere.  If I did please let me know where I
can find it.

From the man page for ps:

This is a decaying average of up to a minute of previous (real) time.

I think I understand that but more detail would be helpful.  I am thinking
BB takes 12-24% cpu every now and then, so what.  It was available and BB
grabbed the CPU time?  Is it reasonable to expect processes to take less
CPU, or as much as they need, if available?

David




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-08  5:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-04  3:40 CPU usage explanation David Gore
     [not found] ` <bj6r9p$189$1@Mercury.ev.co.yu>
2003-09-05 18:17   ` Udo Grabowski
2003-09-08  5:40     ` Nikola Milutinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox