Petri Gynther
|
c0b79b6e42
vmstat: increase column sizes
|
4 years ago |
Elliott Hughes
|
b60eaface3
Fix precedence error in vmstat.
|
6 years ago |
Rob Landley
|
01b5fb007c
Haroon Maqsood pointed out "vmstat 1 1" didn't stop and "vmstat -n" didn't
|
6 years ago |
Rob Landley
|
3fed6c84e7
Add the extra info we've got back to the error message.
|
6 years ago |
Rob Landley
|
0068c53f7e
Collate two error messages that both mean "your kernel is broken".
|
6 years ago |
Elliott Hughes
|
133915d494
Fix vmstat for large machines.
|
6 years ago |
Rob Landley
|
4d3ad67ab3
Add strafter() to lib.
|
8 years ago |
Colin Cross
|
54524ccbf8
vmstat: fix units for bi and bo columns
|
8 years ago |
Rob Landley
|
3b83ab5cc7
Trivial code style tweak.
|
8 years ago |
Colin Cross
|
7d58b3085c
vmstat: reset header pointer when looping
|
8 years ago |
Rob Landley
|
7a3f53ba44
Mark command-local functions static.
|
9 years ago |
Rob Landley
|
f033f8607f
Move the magic list of commands needing cleanup from toys/pending/README
|
9 years ago |
Rob Landley
|
fad2fb09b8
Fix bug pointed out by Elliott Hughes ("vmstat 1" should repeat endlessly), and remove final delay (after all output) for "vmstat 2 3" case.
|
9 years ago |
Rob Landley
|
f9d5b02e66
Cleanup vmstat. Procs, memory, and cpu are reading right, the others not so much.
|
10 years ago |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 years ago |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 years ago |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 years ago |
Rob Landley
|
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
|
12 years ago |