2.6.1: process start times by procps

From: Petri Kaukasoina
Date: Fri Jan 23 2004 - 14:49:28 EST


Hi

I'm very sorry if this is already reported. In 2.6.1 (and earlier) ps does
not report the process start times correctly. (Either procps 2.0.18 or
3.1.15). The problem shows when uptime is large enough, now it is 14 days.
After bootup ps showed the right time.

For example, I started this bash process really at 21:24 (date showed 21:24
then):

kaukasoi 22108 0.0 0.2 4452 1532 pts/4 R 21:28 0:00 /bin/bash

Here is a line from w:
kaukasoi pts/4 - 9:24pm 0.00s 0.06s 0.00s w

BTW, is it normal that all the time stamps at the proc directory are not the same?

elektroni kaukasoi ~ > ls -l /proc/22108
total 0
-r-------- 1 kaukasoi fys 0 Jan 23 21:27 auxv
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:24 cmdline
lrwxrwxrwx 1 kaukasoi fys 0 Jan 23 21:27 cwd -> /home/kaukasoi
-r-------- 1 kaukasoi fys 0 Jan 23 21:24 environ
lrwxrwxrwx 1 kaukasoi fys 0 Jan 23 21:27 exe -> /bin/bash
dr-x------ 2 kaukasoi fys 0 Jan 23 21:24 fd
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:27 maps
-rw------- 1 kaukasoi fys 0 Jan 23 21:27 mem
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:27 mounts
lrwxrwxrwx 1 kaukasoi fys 0 Jan 23 21:27 root -> /
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:24 stat
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:27 statm
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:24 status
dr-xr-xr-x 3 kaukasoi fys 0 Jan 23 21:27 task
-r--r--r-- 1 kaukasoi fys 0 Jan 23 21:27 wchan
elektroni kaukasoi ~ >

-
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/