/titanic_44/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | Host.java | 58 SysCommand syscmd = new SysCommand(); in getLocalHostName() local 59 syscmd.exec(cmd); in getLocalHostName() 61 if (syscmd.getExitValue() != 0) { in getLocalHostName() 62 String err = syscmd.getError(); in getLocalHostName() 63 syscmd = null; in getLocalHostName() 66 String o = syscmd.getOutput(); in getLocalHostName() 67 syscmd = null; in getLocalHostName() 84 SysCommand syscmd = new SysCommand(); in getDomainName() local 85 syscmd.exec(cmd); in getDomainName() 86 if (syscmd.getExitValue() != 0) { in getDomainName() [all …]
|
H A D | DoPrinterUtil.java | 45 SysCommand syscmd = new SysCommand(); in getDefault() local 46 syscmd.exec(cmd); in getDefault() 47 o = syscmd.getOutput(); in getDefault() 48 syscmd = null; in getDefault() 78 SysCommand syscmd = new SysCommand(); in getDevices() local 79 syscmd.exec(cmd); in getDevices() 80 if (syscmd.getExitValue() != 0) { in getDevices() 81 String errstr = syscmd.getError(); in getDevices() 82 syscmd = null; in getDevices() 86 String o = syscmd.getOutput(); in getDevices() [all …]
|
H A D | DoPrinterAdd.java | 112 SysCommand syscmd = null; in addLocal() local 206 syscmd = new SysCommand(); in addLocal() 207 syscmd.exec(cmd); in addLocal() 209 err = syscmd.getError(); in addLocal() 210 if (syscmd.getExitValue() != 0) { in addLocal() 211 syscmd = null; in addLocal() 217 syscmd = null; in addLocal() 231 syscmd = new SysCommand(); in addLocal() 232 syscmd.exec(cmd); in addLocal() 233 err = syscmd.getError(); in addLocal() [all …]
|
H A D | DoPrinterMod.java | 126 SysCommand syscmd = null; in modifyLocal() local 299 syscmd = new SysCommand(); in modifyLocal() 300 syscmd.exec(cmd); in modifyLocal() 301 err = syscmd.getError(); in modifyLocal() 302 if (syscmd.getExitValue() != 0) { in modifyLocal() 304 syscmd = null; in modifyLocal() 309 syscmd = null; in modifyLocal() 349 syscmd = new SysCommand(); in modifyLocal() 350 syscmd.exec(cmd); in modifyLocal() 351 err = syscmd.getError(); in modifyLocal() [all …]
|
H A D | DoPrinterNS.java | 154 SysCommand syscmd = new SysCommand(); in setNIS() local 155 syscmd.exec(cmd); in setNIS() 157 err = syscmd.getError(); in setNIS() 158 if (syscmd.getExitValue() != 0) { in setNIS() 160 syscmd = null; in setNIS() 166 syscmd = null; in setNIS() 197 SysCommand syscmd = new SysCommand(); in setNIS() local 198 syscmd.exec(cmd); in setNIS() 199 err = syscmd.getError(); in setNIS() 200 if (syscmd.getExitValue() != 0) { in setNIS() [all …]
|
H A D | DoPrinterDelete.java | 75 SysCommand syscmd = null; in delete() local 99 syscmd = new SysCommand(); in delete() 100 syscmd.exec(cmd); in delete() 101 err = syscmd.getError(); in delete() 105 syscmd = null; in delete() 165 SysCommand syscmd = null; in deleteLocal() local 175 syscmd = new SysCommand(); in deleteLocal() 176 syscmd.exec(cmd); in deleteLocal() 177 err = syscmd.getError(); in deleteLocal() 181 syscmd = null; in deleteLocal() [all …]
|
H A D | DoPrinterView.java | 104 SysCommand syscmd = new SysCommand(); in viewRemote() local 105 syscmd.exec("/usr/bin/lpget -n " + nsarg + " " + in viewRemote() 108 if (syscmd.getExitValue() != 0) { in viewRemote() 109 err = syscmd.getError(); in viewRemote() 112 err = syscmd.getOutput(); in viewRemote() 114 syscmd = null; in viewRemote() 117 o = syscmd.getOutput(); in viewRemote() 118 syscmd = null; in viewRemote() 207 SysCommand syscmd = new SysCommand(); in viewLocal() local 208 syscmd.exec("/usr/bin/lpstat -L -l -a " + in viewLocal() [all …]
|
H A D | Valid.java | 193 SysCommand syscmd = new SysCommand(); in device() 194 syscmd.exec("/usr/bin/test -w " + dev); in device() 195 exitvalue = syscmd.getExitValue(); in device() 196 syscmd = null; in device() 221 SysCommand syscmd = new SysCommand(); in make() 222 syscmd.exec("/usr/bin/test -d -r " + dir); in make() 223 exitvalue = syscmd.getExitValue(); in make() 224 syscmd = null; in make() 259 SysCommand syscmd = new SysCommand(); in printerType() local 260 syscmd.exec("/usr/bin/test -r " + path); in printerType() [all …]
|
H A D | Test.java | 81 SysCommand syscmd = new SysCommand(); in main() local 82 syscmd.exec(cmd); in main() 83 if (syscmd.getExitValue() != 0) { in main() 87 o = syscmd.getOutput(); in main() 88 syscmd = null; in main()
|
H A D | SysCommand.java | 45 SysCommand syscmd = new SysCommand(); in main() local 49 syscmd.exec(cmd); in main() 54 o = syscmd.getOutput(); in main()
|
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_rcm.c | 1442 char syscmd[MAX_RECONFIG_SIZE + LIFNAMSIZ]; in if_cfginfo() local 1513 (void) snprintf(syscmd, sizeof (syscmd), in if_cfginfo() 1517 (void) snprintf(syscmd, sizeof (syscmd), in if_cfginfo() 1521 rcm_log_message(RCM_TRACE2, "IP: %s\n", syscmd); in if_cfginfo() 1524 if ((fp = popen(syscmd, "r")) == NULL) { in if_cfginfo() 1876 char syscmd[LIFNAMSIZ+MAXPATHLEN]; /* must be big enough */ in modop() local 1896 (void) snprintf(syscmd, sizeof (syscmd), in modop() 1899 (void) snprintf(syscmd, sizeof (syscmd), in modop() 1907 rcm_log_message(RCM_TRACE1, "IP: modop(%s): %s\n", name, syscmd); in modop() 1908 if (rcm_exec_cmd(syscmd) == -1) { in modop() [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1639 char syscmd[BUFSIZ]; in handle_overtemp_interrupt() local 1727 (void) snprintf(syscmd, sizeof (syscmd), in handle_overtemp_interrupt() 1729 envd_log(LOG_ALERT, syscmd); in handle_overtemp_interrupt() 1731 (void) system(syscmd); in handle_overtemp_interrupt() 1881 char syscmd[BUFSIZ]; in dimm_fan_thr() local 1942 (void) snprintf(syscmd, sizeof (syscmd), in dimm_fan_thr() 1946 envd_log(LOG_ALERT, syscmd); in dimm_fan_thr() 1947 (void) system(syscmd); in dimm_fan_thr() 2043 char syscmd[BUFSIZ]; in disk_temp_thr() local 2189 (void) snprintf(syscmd, sizeof (syscmd), in disk_temp_thr() [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvd.c | 527 char syscmd[BUFSIZ]; in monitor_sensors() local 594 (void) snprintf(syscmd, sizeof (syscmd), in monitor_sensors() 596 envd_log(LOG_CRIT, syscmd); in monitor_sensors() 598 (void) system(syscmd); in monitor_sensors()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvd.c | 1211 char syscmd[BUFSIZ]; in system_temp_thr() local 1328 (void) snprintf(syscmd, in system_temp_thr() 1329 sizeof (syscmd), in system_temp_thr() 1333 envd_log(LOG_ALERT, syscmd); in system_temp_thr() 1337 (void) system(syscmd); in system_temp_thr() 1557 char syscmd[BUFSIZ]; in disk_temp_thr() local 1705 (void) snprintf(syscmd, sizeof (syscmd), in disk_temp_thr() 1707 envd_log(LOG_ALERT, syscmd); in disk_temp_thr() 1709 (void) system(syscmd); in disk_temp_thr()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 1274 char syscmd[BUFSIZ]; in handle_overtemp_interrupt() local 1356 (void) snprintf(syscmd, sizeof (syscmd), in handle_overtemp_interrupt() 1358 envd_log(LOG_ALERT, syscmd); in handle_overtemp_interrupt() 1360 (void) system(syscmd); in handle_overtemp_interrupt()
|
/titanic_44/usr/src/cmd/sendmail/cf/m4/ |
H A D | cfhead.m4 | 25 syscmd(sh _CF_DIR_`'sh/makeinfo.sh _CF_DIR_ > TEMPFILE)dnl 27 syscmd(rm -f TEMPFILE)dnl')')
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 1799 char syscmd[BUFSIZ]; in monitor_sensors() local 1881 (void) snprintf(syscmd, sizeof (syscmd), in monitor_sensors() 1883 envd_log(LOG_ALERT, syscmd); in monitor_sensors() 1885 (void) system(syscmd); in monitor_sensors()
|
/titanic_44/usr/src/grub/grub-0.97/ |
H A D | NEWS | 383 * Intel MPS 1.4 config/check code is totally new, and the "syscmd="
|