HP Visualize c160L IRIX to HP-UX Migration Guide - Page 38
ps, nice, and renice
View all HP Visualize c160L manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 38 highlights
Managing Processes XCPU XFSZ There are some minor differences between this list and the list produced by HP-UX. Check the HP-UX list later in this section. # /usr/bin/kill -l 1) HUP 8) FPE 2) INT 9) KILL 3) QUIT 10) BUS 4) ILL 11) SEGV 5) TRAP 12) SYS 6) IOT 13) PIPE 7) EMT 14) ALRM 15) TERM 16) USR1 17) USR2 18) CHLD 19) PWR 20) WINCH 21) URG 22) POLL 23) STOP 24) TSTP 25) CONT 26) TTIN 27) TTOU 28) VTALRM 29) PROF 30) XCPU 31) XFSZ Again, there are some differences in the kill list produced by HP-UX. Both systems have a killall command that users can run to kill all processes, except the sending process. The syntax is: # killall - Signal Both systems also support the sar command. HP-UX supports a vmstat and iostat command. See the HPUX section for descriptions of these commands. Cron Both systems support an AT&T-style crontab file with each one-line entry containing the following: • Minute • Hour • Day of the month • Month of the year • Day of the week • Command IRIX, like HP-UX, supports a convenient option to the crontab command: the -e option. This option will load the contents of your crontab file into an editing session. The editor used is determined by the value of the editor variable. Once you save and exit from the editing session, your changes become your new crontab file and take effect immediately. The crontab spool directories are found in /var/spool/cron. HP-UX ps, nice, and renice The HP-UX ps command is strictly AT&T-style. Therefore a complete listing of every process is: # ps -elf Within a given range of priority numbers, the process assigned the lowest number has the highest priority. For example, a process assigned a priority of 1 takes precedence over a process assigned a priority of 6. You can check the priority setting for a process by looking in the PRI column when you invoke ps or top. (The lowest number within the range represents the highest priority.) The four categories of priority, from highest to lowest, are listed below: 33