Skip to main content
corrected markup for key
Source Link
manatwork
  • 32.1k
  • 8
  • 104
  • 93

If you run man ps then type /SpaceShift+CSpaceSpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

Cumulative CPU time is the amount of time the processor spent running the process, i.e. actually using CPU cycles, not sleeping, waiting to run, or waiting for I/O.

It's determined by summing the utime and stime values that are described in the proc(5) man page.

 utime %lu Amount of time that this process has been scheduled in user mode... stime %lu Amount of time that this process has been scheduled in kernel mode... 

If you run man ps then type /SpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

Cumulative CPU time is the amount of time the processor spent running the process, i.e. actually using CPU cycles, not sleeping, waiting to run, or waiting for I/O.

It's determined by summing the utime and stime values that are described in the proc(5) man page.

 utime %lu Amount of time that this process has been scheduled in user mode... stime %lu Amount of time that this process has been scheduled in kernel mode... 

If you run man ps then type /SpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

Cumulative CPU time is the amount of time the processor spent running the process, i.e. actually using CPU cycles, not sleeping, waiting to run, or waiting for I/O.

It's determined by summing the utime and stime values that are described in the proc(5) man page.

 utime %lu Amount of time that this process has been scheduled in user mode... stime %lu Amount of time that this process has been scheduled in kernel mode... 
describe time more fully based on proc(5)
Source Link
Mikel
  • 58.7k
  • 16
  • 136
  • 155

If you run man ps then type /SpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

Cumulative CPU time is the amount of time the processor spent running the process, i.e. actually using CPU cycles, not sleeping, waiting to run, or waiting for I/O.

It's determined by summing the utime and stime values that are described in the proc(5) man page.

 utime %lu Amount of time that this process has been scheduled in user mode... stime %lu Amount of time that this process has been scheduled in kernel mode... 

If you run man ps then type /SpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

If you run man ps then type /SpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has been running cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

Cumulative CPU time is the amount of time the processor spent running the process, i.e. actually using CPU cycles, not sleeping, waiting to run, or waiting for I/O.

It's determined by summing the utime and stime values that are described in the proc(5) man page.

 utime %lu Amount of time that this process has been scheduled in user mode... stime %lu Amount of time that this process has been scheduled in kernel mode... 
mention that first match should be skipped over
Source Link
Mikel
  • 58.7k
  • 16
  • 136
  • 155

If you run man ps then type /SpaceCShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the  integer value of the percent usage over the  lifetime of the process. (see %cpu). 

and thenwhich sounds right. For more details, doing the same towe search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format.  Currently, it is the CPU time used divided by the   time the process has  time the process has been running (cputime/realtime  ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

If you run man ps then type /SpaceCSpaceEnter, you should see this line.

 c C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu). 

and then, doing the same to search for %cpu:

 %cpu %CPU cpu utilization of the process in "##.#" format. Currently, it is the CPU time used divided by the time the process has  been running (cputime/realtime ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 

If you run man ps then type /SpaceShift+CSpaceEnter, you should see this line.

 C pcpu cpu utilization 

but that's under the OBSOLETE SORT KEYS header, so is not what we're looking for.

Press n to find the next match:

 c C processor utilization. Currently, this is the  integer value of the percent usage over the  lifetime of the process. (see %cpu). 

which sounds right. For more details, we search for %cpu and find:

 %cpu %CPU cpu utilization of the process in "##.#" format.  Currently, it is the CPU time used divided by the   time the process has been running cputime/realtime  ratio), expressed as a percentage. ... (alias pcpu). 

And TIME has two matches, but only one that matches the hh:mm:ss format:

 cputime TIME cumulative CPU time, "[DD-]hh:mm:ss" format. (alias time). 
Source Link
Mikel
  • 58.7k
  • 16
  • 136
  • 155
Loading