lkml.org 
[lkml]   [1997]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: %CPU field in ps, on 2.0.28
Date
Hi,

> Sometimes I'm stopping cracker (kill -STOP) and it stops really, you
> can see it in RSS field, it swaps out after some activity of other
> programs. But %CPU is still showing quite a lot. Why?
>
> USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
> root 2862 91.9 0.1 3768 60 p1 T N 15:35 1308:59 (cracker)

RTFM. The CPU field is the percantage of CPU time since the process
has been started. It does not mean that the process is currently
consuming CPU. If it would the STAT field would contain a "R" for
running.

Ralf

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.385 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site