Searched refs:syscmd (Results 1 - 19 of 19) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DHost.java58 SysCommand syscmd = new SysCommand();
59 syscmd.exec(cmd);
61 if (syscmd.getExitValue() != 0) {
62 String err = syscmd.getError();
63 syscmd = null;
66 String o = syscmd.getOutput();
67 syscmd = null;
84 SysCommand syscmd = new SysCommand();
85 syscmd.exec(cmd);
86 if (syscmd
[all...]
H A DDoPrinterUtil.java45 SysCommand syscmd = new SysCommand();
46 syscmd.exec(cmd);
47 o = syscmd.getOutput();
48 syscmd = null;
78 SysCommand syscmd = new SysCommand();
79 syscmd.exec(cmd);
80 if (syscmd.getExitValue() != 0) {
81 String errstr = syscmd.getError();
82 syscmd = null;
86 String o = syscmd
[all...]
H A DDoPrinterAdd.java112 SysCommand syscmd = null;
206 syscmd = new SysCommand();
207 syscmd.exec(cmd);
209 err = syscmd.getError();
210 if (syscmd.getExitValue() != 0) {
211 syscmd = null;
217 syscmd = null;
231 syscmd = new SysCommand();
232 syscmd.exec(cmd);
233 err = syscmd
[all...]
H A DDoPrinterMod.java126 SysCommand syscmd = null;
299 syscmd = new SysCommand();
300 syscmd.exec(cmd);
301 err = syscmd.getError();
302 if (syscmd.getExitValue() != 0) {
304 syscmd = null;
309 syscmd = null;
349 syscmd = new SysCommand();
350 syscmd.exec(cmd);
351 err = syscmd
[all...]
H A DDoPrinterDelete.java75 SysCommand syscmd = null;
99 syscmd = new SysCommand();
100 syscmd.exec(cmd);
101 err = syscmd.getError();
105 syscmd = null;
165 SysCommand syscmd = null;
175 syscmd = new SysCommand();
176 syscmd.exec(cmd);
177 err = syscmd.getError();
181 syscmd
[all...]
H A DDoPrinterNS.java154 SysCommand syscmd = new SysCommand();
155 syscmd.exec(cmd);
157 err = syscmd.getError();
158 if (syscmd.getExitValue() != 0) {
160 syscmd = null;
166 syscmd = null;
197 SysCommand syscmd = new SysCommand();
198 syscmd.exec(cmd);
199 err = syscmd.getError();
200 if (syscmd
[all...]
H A DDoPrinterView.java104 SysCommand syscmd = new SysCommand();
105 syscmd.exec("/usr/bin/lpget -n " + nsarg + " " +
108 if (syscmd.getExitValue() != 0) {
109 err = syscmd.getError();
112 err = syscmd.getOutput();
114 syscmd = null;
117 o = syscmd.getOutput();
118 syscmd = null;
207 SysCommand syscmd = new SysCommand();
208 syscmd
[all...]
H A DValid.java193 SysCommand syscmd = new SysCommand();
194 syscmd.exec("/usr/bin/test -w " + dev);
195 exitvalue = syscmd.getExitValue();
196 syscmd = null;
221 SysCommand syscmd = new SysCommand();
222 syscmd.exec("/usr/bin/test -d -r " + dir);
223 exitvalue = syscmd.getExitValue();
224 syscmd = null;
259 SysCommand syscmd = new SysCommand();
260 syscmd
[all...]
H A DSysCommand.java45 SysCommand syscmd = new SysCommand();
49 syscmd.exec(cmd);
54 o = syscmd.getOutput();
H A DTest.java81 SysCommand syscmd = new SysCommand();
82 syscmd.exec(cmd);
83 if (syscmd.getExitValue() != 0) {
87 o = syscmd.getOutput();
88 syscmd = null;
/opensolaris-onvv-gate/usr/src/cmd/filebench/common/
H A Dprocflow.c141 char syscmd[1024]; local
151 (void) snprintf(syscmd, sizeof (syscmd), "%s -a %s -i %s -s %s",
156 if (system(syscmd) < 0) {
/opensolaris-onvv-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_rcm.c1442 char syscmd[MAX_RECONFIG_SIZE + LIFNAMSIZ]; local
1513 (void) snprintf(syscmd, sizeof (syscmd),
1517 (void) snprintf(syscmd, sizeof (syscmd),
1521 rcm_log_message(RCM_TRACE2, "IP: %s\n", syscmd);
1524 if ((fp = popen(syscmd, "r")) == NULL) {
1876 char syscmd[LIFNAMSIZ+MAXPATHLEN]; /* must be big enough */ local
1896 (void) snprintf(syscmd, sizeof (syscmd),
2724 char syscmd[MAX_RECONFIG_SIZE + MAXPATHLEN + 1]; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvd.c1639 char syscmd[BUFSIZ]; local
1727 (void) snprintf(syscmd, sizeof (syscmd),
1729 envd_log(LOG_ALERT, syscmd);
1731 (void) system(syscmd);
1881 char syscmd[BUFSIZ]; local
1942 (void) snprintf(syscmd, sizeof (syscmd),
1946 envd_log(LOG_ALERT, syscmd);
1947 (void) system(syscmd);
2043 char syscmd[BUFSIZ]; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvd.c527 char syscmd[BUFSIZ]; local
594 (void) snprintf(syscmd, sizeof (syscmd),
596 envd_log(LOG_CRIT, syscmd);
598 (void) system(syscmd);
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvd.c1211 char syscmd[BUFSIZ]; local
1328 (void) snprintf(syscmd,
1329 sizeof (syscmd),
1333 envd_log(LOG_ALERT, syscmd);
1337 (void) system(syscmd);
1557 char syscmd[BUFSIZ]; local
1705 (void) snprintf(syscmd, sizeof (syscmd),
1707 envd_log(LOG_ALERT, syscmd);
1709 (void) system(syscmd);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvd.c1274 char syscmd[BUFSIZ]; local
1356 (void) snprintf(syscmd, sizeof (syscmd),
1358 envd_log(LOG_ALERT, syscmd);
1360 (void) system(syscmd);
/opensolaris-onvv-gate/usr/src/cmd/sendmail/cf/m4/
H A Dcfhead.m425 syscmd(sh _CF_DIR_`'sh/makeinfo.sh _CF_DIR_ > TEMPFILE)dnl
27 syscmd(rm -f TEMPFILE)dnl')')
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c1799 char syscmd[BUFSIZ]; local
1881 (void) snprintf(syscmd, sizeof (syscmd),
1883 envd_log(LOG_ALERT, syscmd);
1885 (void) system(syscmd);
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dperl5db.pl6927 B<|>[B<|>]I<db_cmd> Send output to pager B<$psh>\[B<$psh>\] I<syscmd> Run cmd in a subprocess
7101 B<|>[B<|>]I<db_cmd> Send output to pager B<$psh>\[B<$psh>\] I<syscmd> Run cmd in a subprocess

Completed in 269 milliseconds