dwts
|
053e63968d
|
keep usage definition above main in ubase
|
2014-04-22 15:36:53 +01:00 |
|
sin
|
892d84ca24
|
Return an error if we can't open the files in /proc
|
2014-02-13 12:28:46 +00:00 |
|
s-p-k
|
e340e1373e
|
exit with EXIT_SUCCESS/EXIT_FAILURE
|
2013-10-07 19:15:00 +01:00 |
|
sin
|
921631a3a9
|
If ws_col is zero just dump the entire buffer
|
2013-09-25 12:10:46 +01:00 |
|
sin
|
c903b0da96
|
Limit ps(1) output based on the current terminal width
|
2013-09-03 14:11:37 +01:00 |
|
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 |
|