412 |
|
"net", name, "speed", NULL); |
413 |
|
add_stat(BOOL, &iface[i].up, |
414 |
|
"net", name, "up", NULL); |
415 |
< |
add_stat(DUPLEX, &iface[i].dup, |
415 |
> |
add_stat(DUPLEX, &iface[i].duplex, |
416 |
|
"net", name, "duplex", NULL); |
417 |
|
} |
418 |
|
} |
629 |
|
"If no STATs are given, all will be displayed. Specify 'STAT.' to display all\n" |
630 |
|
"statistics starting with that prefix.\n" |
631 |
|
"\n"); |
632 |
< |
printf(" -l Linux sysctl-style output (default)\n" |
633 |
< |
" -b BSD sysctl-style output\n" |
634 |
< |
" -m MRTG-compatible output\n" |
635 |
< |
" -u Plain output (only show values)\n" |
636 |
< |
" -n Display cumulative stats once (default)\n" |
637 |
< |
" -s Display stat differences repeatedly\n" |
638 |
< |
" -o Display stat differences once\n" |
632 |
> |
printf(" -l Linux sysctl-style output (default)\n" |
633 |
> |
" -b BSD sysctl-style output\n" |
634 |
> |
" -m MRTG-compatible output\n" |
635 |
> |
" -u Plain output (only show values)\n" |
636 |
> |
" -n Display cumulative stats once (default)\n" |
637 |
> |
" -s Display stat differences repeatedly\n" |
638 |
> |
" -o Display stat differences once\n" |
639 |
|
" -t DELAY When repeating, wait DELAY seconds between updates (default 1)\n" |
640 |
< |
" -p Display CPU usage differences as percentages rather than\n" |
641 |
< |
" absolute values\n" |
642 |
< |
" -f SCALE Display floating-point values as integers scaled by FACTOR\n" |
640 |
> |
" -p Display CPU usage differences as percentages rather than\n" |
641 |
> |
" absolute values\n" |
642 |
> |
" -f FACTOR Display floating-point values as integers scaled by FACTOR\n" |
643 |
|
" -K Display byte counts in kibibytes\n" |
644 |
< |
" -M Display byte counts in mibibytes\n" |
644 |
> |
" -M Display byte counts in mebibytes\n" |
645 |
|
" -G Display byte counts in gibibytes\n" |
646 |
|
"\n"); |
647 |
|
printf("Version %s - report bugs to <%s>.\n", |