Today at 7:49am, Jerry Feldman wrote:
On Fri, 6 Aug 2004 18:27:13 -0700 Kastus
wrote: I've just noticed that ps reports start time of the process in the future:
pike@fizia:~> ps u USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND pike 7294 0.0 0.3 4068 1748 pts/0 Ss 18:12 0:00 -bash pike 15111 0.0 0.1 2148 672 pts/0 R+ 18:29 0:00 ps u pike@fizia:~> date Fri Aug 6 18:21:25 PDT 2004
This happens on two installations of 9.1 with kernel 2.6.5-7.95-default
Anybody else observed that? Interesting. I'm running 2.6.5-7.104 and the start times are correct. gaf@lap1800:~> ps u;date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND gaf 3236 0.0 0.5 3972 1732 pts/1 Ss 07:46 0:00 -bash gaf 3297 0.0 0.5 3980 1724 pts/2 Ss+ 07:47 0:00 /bin/bash gaf 3526 0.0 0.2 2164 688 pts/1 R+ 07:49 0:00 ps u Sat Aug 7 07:49:29 EDT 2004
Yes, interesting. I also am running 2.6.5-7.95 and see a discrepancy, but not as large as yours. The difference also changes at various seconds within a minute: jlc:~ # ps u ; date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 17629 0.0 0.3 2696 1672 pts/1 S Aug06 0:00 -bash root 19717 0.0 0.1 2164 688 pts/1 R+ 07:58 0:00 ps u Sat Aug 7 07:57:31 PDT 2004 jlc:~ # ps u ; date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 17629 0.0 0.3 2696 1672 pts/1 S Aug06 0:00 -bash root 19719 0.0 0.1 2164 688 pts/1 R+ 07:59 0:00 ps u Sat Aug 7 07:58:03 PDT 2004 jlc:~ # ps u ; date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 17629 0.0 0.3 2696 1672 pts/1 S Aug06 0:00 -bash root 19725 0.0 0.1 2164 688 pts/1 R+ 07:59 0:00 ps u Sat Aug 7 07:58:19 PDT 2004 jlc:~ # ps u ; date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 17629 0.0 0.3 2696 1672 pts/1 S Aug06 0:00 -bash root 19731 0.0 0.1 2164 688 pts/1 R+ 07:59 0:00 ps u Sat Aug 7 07:58:32 PDT 2004 jlc:~ # ps u ; date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 17629 0.0 0.3 2696 1672 pts/1 S Aug06 0:00 -bash root 19736 0.0 0.1 2164 688 pts/1 R+ 08:00 0:00 ps u Sat Aug 7 07:58:56 PDT 2004 jlc:~ # ps u ; date USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 17629 0.0 0.3 2696 1672 pts/1 S Aug06 0:00 -bash root 19740 0.0 0.1 2164 688 pts/1 R+ 08:00 0:00 ps u Sat Aug 7 07:59:01 PDT 2004 jlc:~ # uname -a Linux jlc 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC 2004 i686 athlon i386 GNU/Linux Jim