Commit Graph

10 Commits

Author SHA1 Message Date
sin
41d82175fc Do not use a magic number for the size of the array 2013-08-17 17:20:00 +01:00
sin
42b640fa21 Rename validps() to pidfile() 2013-08-16 16:42:59 +01:00
sin
e33f5bed23 Add parsestatus() 2013-08-16 16:36:52 +01:00
sin
f462025156 ps(1) cleanup + comments 2013-08-16 15:59:20 +01:00
sin
3516186e4c No need to keep a tm pointer around 2013-08-16 15:53:07 +01:00
sin
9e8a7ac616 Check return value of sysinfo() 2013-08-16 15:51:37 +01:00
sin
f088b12877 Divide by sysconf(_SC_CLK_TCK) instead of a fixed 100 2013-08-16 15:49:51 +01:00
sin
7f301a0825 Only parse extra things when -f is supplied 2013-08-16 14:50:01 +01:00
sin
e84531958e Support -f for ps(1)
Fix missing break in tty.c as well.
2013-08-16 14:41:42 +01:00
sin
5df65ecfd4 Add barebones ps(1) 2013-08-15 16:50:48 +01:00