suggestion: remove /proc/uptime once and for all.

Tigran Aivazian (tigran@sco.COM)
Fri, 6 Nov 1998 13:31:33 +0000 (GMT)


Hello,

Why don't we remove /proc/uptime?

Pros:

a) on SMP systems /proc/uptime reports wrong numbers anyway so by removing
it we have one less bug to fix.

b) cpu* entries in /proc/stat file show correct numbers for the time spent
in idle task per engine so we don't really lose any information by getting
rid of /proc/uptime.

Cons:

a) uptime(1) utility will need changing to use /proc/stat instead of
/proc/uptime.

b) manpage for proc(4) will need to be updated not to refer to /proc/uptime
but it will need updating because of lots of other changes to /proc anyway
so...

regards,
Tigran

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