HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 41

Process Management Commands

Page 41 highlights

Managing Processes # /sbin/init.d/ subsystem_name stop Process Management Commands The following tools may provide additional information to help you examine your system's operation. Although they are commands, some (top and sar) are accessible from the Process Management area of SAM. top Displays and updates information about the top processes on the system, summarizes the general state of the system (load average), quantifies the amount of memory in use and free, and reports on individual processes active on the system. Whereas ps gives a single "snapshot" of the system, top ADD: samples the system and updates its display at intervals. On multi-processing systems, top reports on the state of each CPU. This command is also available in IRIX, and most of the displayed information is identical. sar (Available from either HP-UX or IRIX.) Reports on cumulative system activity, including CPU utilization, buffer activity, transfer of data to and from devices, terminal activity, number of specific system calls used, amount of swapping and switching activity, queue lengths, and other kernel tables. vmstat (HP-UX only.) Quantifies the use of virtual memory used by processes on the system; also reports on traps and CPU activity. iostat (HP-UX only.) Reports I/O statistics for active disks, terminal, and processor. Cron crontab files are found in /var/spool/cron/crontabs and should not be edited directly. Like IRIX, there is a -e option to crontab. The one-line entries in crontab files are the same for IRIX. Summary Both systems support the AT&T version of the ps command. Both also support the nice and renice commands. Both operating systems have two versions of the kill command-usr/bin/kill and ksh-builtin; each has slightly different signal values. Both systems have the same cron tables. The biggest difference in process management between IRIX and HP-UX is setting up priorities for realtime processes. But, process management between the two systems is similar. To kill a process you can use the most common signals, such as SIGHUP, SIGABRT, SIGKILL, and SIGTERM, which have the same values. Starting at 20, signal types change from IRIX to HP-UX. 36

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Managing Processes
36
# /sbin/init.d/ subsystem_name stop
Process Management Commands
The following tools may provide additional information to help you examine your system±s operation.
Although they are commands, some (
top
and
sar
) are accessible from the Process Management area of
SAM.
top
Displays and updates information about the
top
processes on the system, summarizes the general state of
the system (load average), quantifies the amount of memory in use and free, and reports on individual
processes active on the system. Whereas
ps
gives a single ²snapshot³ of the system,
top
ADD: samples the
system and updates its display at intervals.
On multi-processing systems,
top
reports on the state of each
CPU. This command is also available in IRIX, and most of the displayed information is identical.
sar
(Available from either HP-UX or IRIX.)
Reports on cumulative system activity, including CPU utilization,
buffer activity, transfer of data to and from devices, terminal activity, number of specific system calls used,
amount of swapping and switching activity, queue lengths, and other kernel tables.
vmstat
(HP-UX only.)
Quantifies the use of virtual memory used by processes on the system; also reports on traps
and CPU activity.
iostat
(HP-UX only.)
Reports I/O statistics for active disks, terminal, and processor.
Cron
crontab
files are found in
/var/spool/cron/crontabs
and should not be edited directly. Like IRIX, there is a
-e
option to
crontab
.
The one-line entries in
crontab
files are the same for IRIX.
Summary
Both systems support the AT&T version of the
ps
command. Both also support the
nice
and
renice
commands. Both operating systems have two versions of the
kill
command°
usr/bin/kill
and
ksh—
built-
in; each has slightly different signal values. Both systems have the same
cron
tables.
The biggest difference in process management between IRIX and HP-UX is setting up priorities for
realtime processes.
But, process management between the two systems is similar. To kill a process you can use the most
common signals, such as SIGHUP, SIGABRT, SIGKILL, and SIGTERM, which have the same values.
Starting at
20
, signal types change from IRIX to HP-UX.