Lines Matching refs:uptime
0 /* uptime.c - Tell how long the system has been running.
7 USE_UPTIME(NEWTOY(uptime, ">0ps", TOYFLAG_USR|TOYFLAG_BIN))
10 bool "uptime"
14 usage: uptime [-ps]
19 -p Pretty (human-readable) uptime
41 t -= info.uptime;
51 info.uptime /= 60;
52 minutes = info.uptime%60;
53 info.uptime /= 60;
54 hours = info.uptime%24;
55 days = info.uptime/24;