/proc or ps tools bug? 2.6.3, time is off

From: David Ford
Date: Tue Feb 24 2004 - 21:02:05 EST


Kernel 2.6.3, procps 3.2.0

# while [ 1 ]; do (ps aux|grep "grep ps aux" && date) ; sleep 1; done
root 20043 0.0 0.0 1504 456 pts/0 R 20:45 0:00 grep grep ps aux
Tue Feb 24 20:45:25 EST 2004
root 20062 0.0 0.0 1504 460 pts/0 S 20:45 0:00 grep grep ps aux
Tue Feb 24 20:45:26 EST 2004
root 20081 0.0 0.0 1504 460 pts/0 S 20:46 0:00 grep grep ps aux
Tue Feb 24 20:45:27 EST 2004

Note the change in the timestamp as reported by 'ps' v.s. the time reported by 'date'.

Repeatable every time at 26 seconds after the minute +/- a portion of a second.

David

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/