Print this page
1100 cpustat usage message is incorrect
*** 249,271 ****
errcnt++;
if (errcnt != 0 || opts->dohelp ||
(opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) {
(void) fprintf(opts->dohelp ? stdout : stderr, gettext(
! "Usage:\n\t%s [-c events] [-p period] [-nstD] "
! "[-T d|u] [interval [count]]\n\n"
"\t-c events specify processor events to be monitored\n"
"\t-n\t suppress titles\n"
"\t-p period cycle through event list periodically\n"
"\t-s\t run user soaker thread for system-only events\n"
"\t-t\t include %s register\n"
"\t-T d|u\t Display a timestamp in date (d) or unix "
"time_t (u)\n"
"\t-D\t enable debug mode\n"
"\t-h\t print extended usage information\n\n"
"\tUse cputrack(1) to monitor per-process statistics.\n"),
! opts->pgmname, CPC_TICKREG_NAME);
if (opts->dohelp) {
(void) putchar('\n');
(void) capabilities(cpc, stdout);
exit(0);
}
--- 249,271 ----
errcnt++;
if (errcnt != 0 || opts->dohelp ||
(opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) {
(void) fprintf(opts->dohelp ? stdout : stderr, gettext(
! "Usage:\n\t%s -c events [-c events]... [-p period] [-nstD] "
! "[-T d|u] [interval [count]]\n\t%s -h\n\n"
"\t-c events specify processor events to be monitored\n"
"\t-n\t suppress titles\n"
"\t-p period cycle through event list periodically\n"
"\t-s\t run user soaker thread for system-only events\n"
"\t-t\t include %s register\n"
"\t-T d|u\t Display a timestamp in date (d) or unix "
"time_t (u)\n"
"\t-D\t enable debug mode\n"
"\t-h\t print extended usage information\n\n"
"\tUse cputrack(1) to monitor per-process statistics.\n"),
! opts->pgmname, opts->pgmname, CPC_TICKREG_NAME);
if (opts->dohelp) {
(void) putchar('\n');
(void) capabilities(cpc, stdout);
exit(0);
}