diff options
author | Roland McGrath <roland@gnu.org> | 1999-05-29 20:21:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-05-29 20:21:16 +0000 |
commit | 5ea0a1ed519374f106698115da0ba06efc66b2fc (patch) | |
tree | f7f3f6e22ddc97befbd659209304764dcd91d419 /utils/x.c | |
parent | 3394e1801bb74af09765c191d42a7fc2446b0c4c (diff) |
1999-05-29 Roland McGrath <roland@baalperazim.frob.com>
* w.c (fetch_boot_time): New function. Use libps to get
task_basic_info for PID 1 (init); its creation_time is "boot time".
(uptime): Use it, instead of stat'ing /var/run/uptime.
Diffstat (limited to 'utils/x.c')
0 files changed, 0 insertions, 0 deletions