Home
last modified time | relevance | path

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

1234

/titanic_51/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c103 static char *cmdname; /* Last qualifier of arg0 */ variable
141 if (cmdname = strrchr(argv[0], '/'))
142 ++cmdname;
144 cmdname = argv[0];
191 cmdname, size);
207 (void)fprintf(stderr, "%s: Message file \"%s\" already exists;\ndid not overwrite it\n", cmdname, pathoutp);
215 (void)fprintf(stderr, "%s: Message file \"%s\" already exists;\ndid not overwrite it\n", cmdname, ofilep);
225 cmdname, ifilep, syserr());
233 cmdname, 2 * LINESZ);
245 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, work
[all...]
/titanic_51/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()
/titanic_51/usr/src/cmd/grep_xpg4/
H A Dgrep.c103 static char *cmdname; variable
148 cmdname = argv[0]; in main()
149 if (ap = strrchr(cmdname, '/')) in main()
150 cmdname = ap + 1; in main()
152 ap = cmdname; in main()
207 cmdname); in main()
221 cmdname); in main()
422 cmdname, path); in process_path()
445 gettext("%s: can't open \"%s\"\n"), cmdname, name); in recursive()
472 cmdname, nam in process_file()
[all...]
/titanic_51/usr/src/cmd/halt/
H A Dhalt.c112 static char *cmdname; /* basename(argv[0]), the name of the command */ variable
415 cmdname, FMRI_GDM, scf_strerror(scf_error())); in stop_gdm()
423 cmdname, FMRI_GDM); in stop_gdm()
494 " (out of memory).\n"), cmdname); in halt_zones()
506 cmdname); in halt_zones()
509 cmdname, nz - 1); in halt_zones()
525 cmdname, zones[i], strerror(errno)); in halt_zones()
535 cmdname, zname, strerror(errno)); in halt_zones()
544 cmdname, zname, strerror(errno)); in halt_zones()
583 cmdname); in check_zones_haltedness()
[all...]
/titanic_51/usr/src/cmd/psradm/
H A Dpsradm.c42 static char *cmdname; /* command name for messages */ variable
58 "\t%s -a -f|-n|-i [-v]\n", cmdname, cmdname); in usage()
125 cmdname, cpu); in psr_set_state()
133 "add -F option to force change\n", cmdname, cpu); in psr_set_state()
143 cmdname, cpu); in psr_set_state()
166 openlog(cmdname, LOG_CONS, LOG_USER); /* open syslog */ in psr_set_state()
205 cmdname, first, last); in do_range()
222 cmdname = basename(argv[0]); in main()
242 "mutually exclusive.\n", cmdname); in main()
[all...]
/titanic_51/usr/src/cmd/pginfo/
H A Dpginfo.pl86 our $cmdname = basename($0, ".pl");
128 printf gettext("%s version %s\n"), $cmdname, VERSION;
138 $cmdname;
147 $cmdname;
153 gettext("%s: option -p can not be used with -s\n"), $cmdname;
160 $cmdname;
179 $cmdname;
197 $cmdname;
234 $cmdname, $p->id_collapse(@bad_cpus);
252 $cmdname,
[all...]
/titanic_51/usr/src/cmd/sgs/prof/common/
H A Drdelf.c44 (void) fprintf(stderr, "%s: can't open `%s'\n", cmdname, name); in is_shared_obj()
49 (void) fprintf(stderr, "%s: libelf out of date\n", cmdname); in is_shared_obj()
54 (void) fprintf(stderr, "%s: elf_begin failed\n", cmdname); in is_shared_obj()
60 cmdname, name); in is_shared_obj()
266 cmdname, filename); in fetch_symtab()
273 "%s: can't handle more than 2^32 symbols", cmdname); in fetch_symtab()
279 cmdname, filename); in fetch_symtab()
287 cmdname, filename); in fetch_symtab()
293 cmdname, nsyms * sizeof (nltype)); in fetch_symtab()
341 cmdname, filenam in fetch_symtab()
[all...]
H A Dprofv.c69 cmdname, namebuf_sz); in setup_demangled_names()
87 cmdname, BUCKET_SZ); in setup_demangled_names()
293 cmdname, total_funcs * sizeof (profnames_t)); in check_dupnames()
368 cmdname, total_funcs * sizeof (profrec_t)); in collect_profsyms()
480 cmdname, nelem); in process_pcsamples()
557 cmdname, sizeof (mod_info_t)); in get_shobj_syms()
564 cmdname, strlen(pathname) + 1); in get_shobj_syms()
630 cmdname, modlp->version); in process_modules()
708 cmdname, so_path); in process_modules()
764 cmdname, obj in process_mon_out()
[all...]
/titanic_51/usr/src/cmd/srchtxt/
H A Dsrchtxt.c74 static char *cmdname; /* points to the name of the command */ variable
105 if (cmdname = strrchr(*argv, '/')) in main()
106 ++cmdname; in main()
108 cmdname = *argv; in main()
147 cmdname); in main()
168 "%s: ERROR: failed to access message file '%s'\n", cmdname, cp); in main()
183 cmdname, pathname, syserr()); in main()
192 "%s: ERROR: failed to access message file '%s'\n", cmdname, pathname); in main()
/titanic_51/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl53 our $cmdname = basename($0, ".pl");
102 $cmdname;
109 $cmdname;
116 $cmdname;
122 $cmdname;
132 die(gettext("$cmdname: can not get lgroup information from the system\n"));
160 $cmdname;
215 $cmdname;
236 printf STDERR gettext("%s: No matching lgroups found!\n"), $cmdname;
299 printf STDERR gettext("Usage:\t%s"), $cmdname;
[all...]
/titanic_51/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()
/titanic_51/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()
/titanic_51/usr/src/cmd/devmgmt/cmds/
H A Dlistdgrp.c145 char *cmdname; /* Simple command name */ in main()
155 if ((cmdname = strrchr(argv[0], '/')) != (char *) NULL) cmdname++; in main()
156 else cmdname = argv[0]; in main()
157 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
142 char *cmdname; /* Simple command name */ main() local
H A Dgetdev.c155 char *cmdname; /* Simple command name */ in main()
168 if ((cmdname = strrchr(argv[0], '/')) != (char *) NULL) cmdname++; in main()
169 else cmdname = argv[0]; in main()
170 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
153 char *cmdname; /* Simple command name */ main() local
H A Ddevattr.c168 char *cmdname; /* Pointer to command name */ in main()
206 cmdname = argv[0]; in main()
207 if ((p = strrchr(cmdname, '/')) != (char *) NULL) cmdname = p+1; in main()
208 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
165 char *cmdname; /* Pointer to command name */ main() local
H A Dgetdgrp.c177 char *cmdname; /* Simple command name */ in main()
191 if (cmdname = strrchr(argv[0], '/')) cmdname++; in main()
192 else cmdname = argv[0]; in main()
193 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl)); in main()
175 char *cmdname; /* Simple command name */ main() local
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c125 char *cmdname; local
136 cmdname = argv[0];
172 usage(cmdname);
176 usage(cmdname);
181 usage(cmdname);
193 cmdname, targethost);
200 cmdname, targethost);
513 usage(cmdname) in usage() argument
514 char *cmdname; in usage()
517 "[-f <hostname>] -p bootparams|bootp\n", cmdname);
[all...]
/titanic_51/usr/src/cmd/pgstat/
H A Dpgstat.pl108 our $cmdname = basename($0, ".pl");
149 printf gettext("%s version %s\n"), $cmdname, VERSION;
159 $cmdname, $do_timestamp;
165 $cmdname;
171 $cmdname;
195 $cmdname, $sort_key;
218 $cmdname;
232 $cmdname;
254 $cmdname, $interval;
261 $cmdname,
[all...]
/titanic_51/usr/src/cmd/cfgadm/
H A Dcfgadm.c123 static char *cmdname; variable
221 cmdname = basename(argv[0]); in main()
223 cmdname = "cfgadm"; in main()
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, in main()
[all...]
/titanic_51/usr/src/cmd/getent/
H A Dgetent.c35 static const char *cmdname; variable
72 cmdname = argv[0]; in main()
106 gettext("usage: %s database [ key ... ]\n"), cmdname); in usage()
/titanic_51/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()
/titanic_51/usr/src/cmd/awk/
H A Dmain.c45 uchar *cmdname; /* gets argv[0] for error messages */ variable
71 cmdname = (uchar *)argv[0]; in main()
75 "[-v var=value] [files]\n"), cmdname); in main()
151 argv[0] = (char *)cmdname; /* put prog name at front of arglist */ in main()
/titanic_51/usr/src/cmd/find/
H A Dfind.c238 static char *cmdname; variable
268 cmdname = argv[0]; in main()
271 cmdname, strerror(errno)); in main()
298 gettext("%s: insufficient number of arguments\n"), cmdname); in main()
335 cmdname); in main()
383 "working directory\n"), cmdname); in main()
393 cmdname, curpath, strerror(errno)); in main()
446 cmdname);
458 cmdname);
509 cmdname);
[all...]
/titanic_51/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()
/titanic_51/usr/src/cmd/saf/
H A Dsacadm.c405 * args: cmdname - the name command was invoked with
409 usage(cmdname) in usage() argument
410 char *cmdname; in usage()
412 (void) fprintf(stderr, "Usage:\t%s -a -p pmtag -t type -c cmd -v ver [ -f dx ] [ -n count ]\n", cmdname);
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);
[all...]

1234