| 313 |
|
"fs", name, "used_inodes", NULL); |
| 314 |
|
add_stat(LONG_LONG, &disk[i].free_inodes, |
| 315 |
|
"fs", name, "free_inodes", NULL); |
| 316 |
+ |
add_stat(LONG_LONG, &disk[i].avail_inodes, |
| 317 |
+ |
"fs", name, "avail_inodes", NULL); |
| 318 |
+ |
add_stat(LONG_LONG, &disk[i].io_size, |
| 319 |
+ |
"fs", name, "io_size", NULL); |
| 320 |
+ |
add_stat(LONG_LONG, &disk[i].block_size, |
| 321 |
+ |
"fs", name, "block_size", NULL); |
| 322 |
+ |
add_stat(LONG_LONG, &disk[i].total_blocks, |
| 323 |
+ |
"fs", name, "total_blocks", NULL); |
| 324 |
+ |
add_stat(LONG_LONG, &disk[i].free_blocks, |
| 325 |
+ |
"fs", name, "free_blocks", NULL); |
| 326 |
+ |
add_stat(LONG_LONG, &disk[i].avail_blocks, |
| 327 |
+ |
"fs", name, "avail_blocks", NULL); |
| 328 |
+ |
add_stat(LONG_LONG, &disk[i].used_blocks, |
| 329 |
+ |
"fs", name, "used_blocks", NULL); |
| 330 |
|
|
| 331 |
|
free(buf); |
| 332 |
|
} |
| 426 |
|
"net", name, "speed", NULL); |
| 427 |
|
add_stat(BOOL, &iface[i].up, |
| 428 |
|
"net", name, "up", NULL); |
| 429 |
< |
add_stat(DUPLEX, &iface[i].dup, |
| 429 |
> |
add_stat(DUPLEX, &iface[i].duplex, |
| 430 |
|
"net", name, "duplex", NULL); |
| 431 |
|
} |
| 432 |
|
} |
| 643 |
|
"If no STATs are given, all will be displayed. Specify 'STAT.' to display all\n" |
| 644 |
|
"statistics starting with that prefix.\n" |
| 645 |
|
"\n"); |
| 646 |
< |
printf(" -l Linux sysctl-style output (default)\n" |
| 647 |
< |
" -b BSD sysctl-style output\n" |
| 648 |
< |
" -m MRTG-compatible output\n" |
| 649 |
< |
" -u Plain output (only show values)\n" |
| 650 |
< |
" -n Display cumulative stats once (default)\n" |
| 651 |
< |
" -s Display stat differences repeatedly\n" |
| 652 |
< |
" -o Display stat differences once\n" |
| 646 |
> |
printf(" -l Linux sysctl-style output (default)\n" |
| 647 |
> |
" -b BSD sysctl-style output\n" |
| 648 |
> |
" -m MRTG-compatible output\n" |
| 649 |
> |
" -u Plain output (only show values)\n" |
| 650 |
> |
" -n Display cumulative stats once (default)\n" |
| 651 |
> |
" -s Display stat differences repeatedly\n" |
| 652 |
> |
" -o Display stat differences once\n" |
| 653 |
|
" -t DELAY When repeating, wait DELAY seconds between updates (default 1)\n" |
| 654 |
< |
" -p Display CPU usage differences as percentages rather than\n" |
| 655 |
< |
" absolute values\n" |
| 656 |
< |
" -f SCALE Display floating-point values as integers scaled by FACTOR\n" |
| 654 |
> |
" -p Display CPU usage differences as percentages rather than\n" |
| 655 |
> |
" absolute values\n" |
| 656 |
> |
" -f FACTOR Display floating-point values as integers scaled by FACTOR\n" |
| 657 |
|
" -K Display byte counts in kibibytes\n" |
| 658 |
|
" -M Display byte counts in mebibytes\n" |
| 659 |
|
" -G Display byte counts in gibibytes\n" |