summaryrefslogtreecommitdiff
path: root/utils/w.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-26 02:49:26 +0000
committerMiles Bader <miles@gnu.org>1996-07-26 02:49:26 +0000
commitc63de13c80cd9f003b1861c2f0d360fc5c9acad1 (patch)
tree797821e0da777bc42efc9ccb964c78eab19bb062 /utils/w.c
parentfd2f59752aa7ff131109d063ab1639088ee50bd7 (diff)
(options, main): -k/--kilobytes, -v/--pages, and -b/--bytes options added.
(fields): New struct members initialized. `size', `cache-hit-ratio', `swap-size', `swap-active', `swap-free', and `swap-pagesize' added. (val_t, enum val_display_type, enum field_change_type): New types. (val_display_type_is_size, print_val, vm_state_refresh, vm_state_get_field, get_vmstats_field, get_size, ensure_def_pager_info, get_swap_size, get_swap_free, get_swap_page_size, get_swap_active): New functions. (struct field): CHANGE_TYPE, DISP_TYPE, STANDARD, and COMPUTE fields added. CUM field removed. (struct vm_state): New type. (main): Changed greatly to use vm_state type & functions, use print_val, and support CONST display types nicely. (argp_program_version): Version changed to 1.1.
Diffstat (limited to 'utils/w.c')
0 files changed, 0 insertions, 0 deletions