Bug#842879: use uptime, not btime, else wrong start times on some systems

2016-11-05 Thread 積丹尼 Dan Jacobson
Yup just like uptime, w.procps etc. don't bother with btime, you can't lose! (At least on the handful of systems that I have encountered.)

Bug#842879: use uptime, not btime, else wrong start times on some systems

2016-11-05 Thread Craig Small
On Sun, 6 Nov 2016, 10:18 AM 積丹尼 Dan Jacobson wrote: > Craig, it turns out ps is using the wrong file in the first place! > If it used /proc/uptime it would surely never have this problem on any > system Thats a big call to say it won't have a problem on any system. The problem is lots of syste

Bug#842879: use uptime, not btime, else wrong start times on some systems

2016-11-05 Thread 積丹尼 Dan Jacobson
severity 842879 normal retitle 842879 use uptime, not btime, else wrong start times on some systems thanks Craig, it turns out ps is using the wrong file in the first place! If it used /proc/uptime it would surely never have this problem on any system. $ perl /tmp/misTime|head (init): b Tu