Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Here's a chunk of the top from my server:

PID    USER      PR  NI  VIRT  RES  SHR S %CPU %MEM      TIME+  COMMAND    
18878  www-data  20   0  200m  13m 4704 S    0  0.2    0:00.07  apache2 
12374  root      20   0  197m 9460 4480 S    0  0.1  21212906w  apache2 
9136   root      20   0 79100 3488 2716 S    0  0.0  54518724d  sshd

I know the TIME+ means the total CPU time the task has used since it started. But in the above output, I simply couldn't understand what 21212906w and 54518724d mean? some considerable no of processes are showing the TIME+ with w and d prefixed.
What does this mean? Is the server in trouble?

Just to let you know - the server uptime is 4days.

EDIT:
- I can guess these refer week and days. If so why is it so large considering the uptime?
- The server has 8 cores.

share|improve this question
    
How many cores does this machine have? –  Ignacio Vazquez-Abrams Jun 21 '11 at 22:56
    
@Ignacio, 8 cores. –  ssapkota Jun 21 '11 at 23:01

1 Answer 1

weeks and days

And it looks to me like there's a bug in your version of top, or the kernel, or something... that it's showing bogus numbers there.

share|improve this answer
    
Yes, but why are they so high? –  Ignacio Vazquez-Abrams Jun 21 '11 at 22:57
    
It looks to me like a bug somewhere. I've seen things like that occasionally (and rarely). Rebooting usually clears the bogus values--in this case restarting the offending processes probably would, too. –  Flimzy Jun 21 '11 at 23:01
    
Yea, I have guessed it, week and days, but why are they so high considering my uptime? –  ssapkota Jun 21 '11 at 23:01
2  
Another option is that you have 37122585 CPU cores that have been running constantly since you rebooted 4 days ago, giving you 21212906 weeks of CPU usage... but I'm guessing that's not the real explanation :) –  Flimzy Jun 21 '11 at 23:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.