Home
last modified time | relevance | path

Searched refs:cmdname (Results 1 – 25 of 84) sorted by relevance

1234

/illumos-gate/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c142 ++cmdname;
144 cmdname = argv[0];
191 cmdname, size);
225 cmdname, ifilep, syserr());
233 cmdname, 2 * LINESZ);
261 cmdname, ifilep, syserr());
280 cmdname, workp, syserr());
305 cmdname, size);
348 cmdname, ofilep, syserr());
375 cmdname); in usage()
[all …]
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Derrmsg.c41 extern char *cmdname;
55 (void) fprintf(stderr, "UX: %s: ", cmdname); in errmsg()
66 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
70 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
75 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
80 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
85 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
90 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
95 (void) fprintf(stderr, "UX: %s: ", cmdname); in warningmsg()
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c63 cmdname, cmdname, cmdname); in usage()
131 cmdname, cpu); in psr_set_state()
149 cmdname, cpu); in psr_set_state()
211 cmdname, first, last); in do_range()
229 cmdname = basename(argv[0]); in main()
253 "mutually exclusive.\n", cmdname); in main()
273 cmdname); in main()
316 "be specified.\n", cmdname); in main()
349 " ID %s\n", cmdname, *argv); in main()
364 " range %s\n", cmdname, *argv); in main()
[all …]
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c507 cmdname); in halt_zones()
584 cmdname); in check_zones_haltedness()
667 cmdname, arg); in validate_disk()
686 perror(cmdname); in validate_ufs_disk()
716 perror(cmdname); in validate_zfs_pool()
864 cmdname, arg); in validate_unix()
1094 cmdname); in parse_fastboot_args()
1407 cmdname); in main()
1421 cmdname); in main()
1589 cmdname); in main()
[all …]
/illumos-gate/usr/src/cmd/pginfo/
H A Dpginfo.pl86 our $cmdname = basename($0, ".pl");
138 $cmdname;
147 $cmdname;
160 $cmdname;
179 $cmdname;
197 $cmdname;
234 $cmdname, $p->id_collapse(@bad_cpus);
252 $cmdname, $p->id_collapse(@bad_pgs);
273 $cmdname, "@ARGV";
608 $cmdname;
[all …]
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Drdelf.c47 (void) fprintf(stderr, "%s: libelf out of date\n", cmdname); in is_shared_obj()
52 (void) fprintf(stderr, "%s: elf_begin failed\n", cmdname); in is_shared_obj()
58 cmdname, name); in is_shared_obj()
264 cmdname, filename); in fetch_symtab()
271 "%s: can't handle more than 2^32 symbols", cmdname); in fetch_symtab()
277 cmdname, filename); in fetch_symtab()
285 cmdname, filename); in fetch_symtab()
291 cmdname, nsyms * sizeof (nltype)); in fetch_symtab()
339 cmdname, filename); in fetch_symtab()
365 cmdname, filename); in get_txtorigin()
[all …]
H A Dprofv.c69 cmdname, namebuf_sz); in setup_demangled_names()
88 cmdname, BUCKET_SZ); in setup_demangled_names()
482 cmdname, nelem); in process_pcsamples()
559 cmdname, sizeof (mod_info_t)); in get_shobj_syms()
566 cmdname, strlen(pathname) + 1); in get_shobj_syms()
632 cmdname, modlp->version); in process_modules()
710 cmdname, so_path); in process_modules()
766 cmdname, objp->type); in process_mon_out()
776 cmdname, mon_fn); in process_mon_out()
782 cmdname, mon_fn); in process_mon_out()
[all …]
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c176 ap = cmdname; in main()
275 cmdname); in main()
289 cmdname); in main()
633 cmdname); in process_file()
682 cmdname); in addfile()
719 cmdname); in addpattern()
735 cmdname); in addpattern()
745 cmdname); in addpattern()
853 cmdname); in fixpatterns()
956 cmdname); in grep()
[all …]
/illumos-gate/usr/src/cmd/srchtxt/
H A Dsrchtxt.c72 static char *cmdname; /* points to the name of the command */ variable
103 if (cmdname = strrchr(*argv, '/')) in main()
104 ++cmdname; in main()
106 cmdname = *argv; in main()
145 cmdname); in main()
166 "%s: ERROR: failed to access message file '%s'\n", cmdname, cp); in main()
181 cmdname, pathname, syserr()); in main()
190 "%s: ERROR: failed to access message file '%s'\n", cmdname, pathname); in main()
/illumos-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl53 our $cmdname = basename($0, ".pl");
102 $cmdname;
109 $cmdname;
116 $cmdname;
122 $cmdname;
160 $cmdname;
215 $cmdname;
299 printf STDERR gettext("Usage:\t%s"), $cmdname;
303 print STDERR " \t$cmdname -h\n\n";
403 $cmdname;
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_halt.c53 char *cmdname; in audit_halt_setup() local
61 cmdname = basename(*argv); in audit_halt_setup()
65 if (strcmp(cmdname, "halt") == 0) in audit_halt_setup()
67 else if (strcmp(cmdname, "poweroff") == 0) in audit_halt_setup()
/illumos-gate/usr/src/cmd/clinfo/
H A Dclinfo.c44 static char *cmdname; variable
59 cmdname = argv[0]; /* put actual command name in messages */ in main()
109 (void) fprintf(stderr, "%s: ", cmdname); in errmsg()
117 (void) fprintf(stderr, "%s: %s -[bnh]\n", gettext("usage"), cmdname); in usage()
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dlistdgrp.c142 char *cmdname; /* Simple command name */ in main() local
152 if ((cmdname = strrchr(argv[0], '/')) != (char *) NULL) cmdname++; in main()
153 else cmdname = argv[0]; in main()
154 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
H A Dgetdev.c153 char *cmdname; /* Simple command name */ in main() local
166 if ((cmdname = strrchr(argv[0], '/')) != (char *) NULL) cmdname++; in main()
167 else cmdname = argv[0]; in main()
168 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
H A Ddevattr.c165 char *cmdname; /* Pointer to command name */ in main() local
203 cmdname = argv[0]; in main()
204 if ((p = strrchr(cmdname, '/')) != (char *) NULL) cmdname = p+1; in main()
205 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
H A Dgetdgrp.c175 char *cmdname; /* Simple command name */ in main() local
189 if (cmdname = strrchr(argv[0], '/')) cmdname++; in main()
190 else cmdname = argv[0]; in main()
191 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c123 char *cmdname; local
134 cmdname = argv[0];
170 usage(cmdname);
174 usage(cmdname);
179 usage(cmdname);
191 cmdname, targethost);
198 cmdname, targethost);
509 usage(cmdname) in usage() argument
510 char *cmdname; in usage()
513 "[-f <hostname>] -p bootparams|bootp\n", cmdname);
/illumos-gate/usr/src/cmd/pgstat/
H A Dpgstat.pl108 our $cmdname = basename($0, ".pl");
159 $cmdname, $do_timestamp;
165 $cmdname;
171 $cmdname;
195 $cmdname, $sort_key;
218 $cmdname;
232 $cmdname;
254 $cmdname, $interval;
261 $cmdname, $count;
350 $cmdname;
[all …]
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c123 static char *cmdname; variable
240 cmdname, c); in main()
248 cmdname); in main()
268 cmdname, c); in main()
276 cmdname); in main()
284 cmdname); in main()
292 cmdname, c); in main()
300 cmdname, c); in main()
308 cmdname, c); in main()
316 cmdname); in main()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/ifparse/
H A Difparse.c311 char *cmdname; /* Command name */ in parsedump() local
353 cmdname = "set"; in parsedump()
355 cmdname = "destination"; in parsedump()
358 cmdname = ""; in parsedump()
361 cmdname = cmd; in parsedump()
378 (void) fputs(cmdname, stdout); in parsedump()
412 parse_append_buf(cmdname); in parsedump()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c241 static char *cmdname; variable
271 cmdname = argv[0]; in main()
338 cmdname); in main()
446 cmdname); in compile()
458 cmdname); in compile()
510 cmdname); in compile()
520 cmdname); in compile()
613 cmdname); in compile()
712 cmdname, b); in compile()
732 cmdname, b); in compile()
[all …]
/illumos-gate/usr/src/cmd/getent/
H A Dgetent.c36 static const char *cmdname; variable
78 cmdname = argv[0]; in main()
116 gettext("usage: %s database [ key ... ]\n"), cmdname); in usage()
/illumos-gate/usr/src/cmd/virtinfo/
H A Dvirtinfo.c45 static char *cmdname; variable
52 (void) fprintf(stderr, gettext("usage: %s [-%s]\n"), cmdname, options); in virtinfo_usage()
80 cmdname = basename(argv[0]); in main()
130 "%s can only be run from the global zone\n"), cmdname); in main()
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c70 char *cmdname; /* gets argv[0] for error messages */ variable
96 cmdname = argv[0]; in main()
100 "[-v var=value] [files]\n"), cmdname); in main()
213 argv[0] = cmdname; /* put prog name at front of arglist */ in main()
/illumos-gate/usr/src/cmd/saf/
H A Dsacadm.c409 usage(cmdname) in usage() argument
410 char *cmdname; in usage()
414 (void) fprintf(stderr, "\t%s -r -p pmtag\n", cmdname);
415 (void) fprintf(stderr, "\t%s -s -p pmtag\n", cmdname);
416 (void) fprintf(stderr, "\t%s -k -p pmtag\n", cmdname);
417 (void) fprintf(stderr, "\t%s -e -p pmtag\n", cmdname);
418 (void) fprintf(stderr, "\t%s -d -p pmtag\n", cmdname);
419 (void) fprintf(stderr, "\t%s -l [ -p pmtag | -t type ]\n", cmdname);
420 (void) fprintf(stderr, "\t%s -L [ -p pmtag | -t type ]\n", cmdname);
422 (void) fprintf(stderr, "\t%s -G [ -z script ]\n", cmdname);
[all …]

1234