This soft copy for use by IBM employees only.
The hwevents file contains state change actions that are to be performed by the
splogd logging daemon. The fields in this file are:
frame
Specifies the frame number (1-
n) or * (asterisk) for all
frames.
slot
Specifies the following:
•
A number from 0-17
•
One of
−
NODES_ONLY (addresses 1 through 16)
−
SWITCH (address 17)
−
FRAME (address 0)
−
* (asterisk, all addresses)
−
NODES_AND_SWITCH (addresses 1-17)
−
FRAME_AND_NODES (addresses 0-16)
−
FRAME_AND_SWITCH (addresses 0 and-17)
variable
Specifies a hardware variable. For example, nodePower,
Temp, LED7SegA.
operator
Specifies how to compare the value. Acceptable values
a r e : = , < , > a n d ! = .
value
Specifies the value of the variable to match the operator
wildcard (*) or a partial match with the wildcard at the end
(23*).
time
Specifies if the function should be called at startup or
when the state changes, or both times. Valid options are
startup, change or both.
function
Specifies the program to call when the event occurs.
There two special keywords for function If function is
SP_ERROR_LOG, error logging is performed provided that
syslog is set up and AIX error logging is set up to perform
SP logging. Refer to the setup_logd.
If function is SP_STATE_LOG, these state changes that
meet the statement
′
s criteria are logged to the file
/ v a r / a d m / S P l o g s / s p m o n / s p l o g d . s t a t e _ c h a n g e s . < t i m e s t a m p > .
Note that you must send a SIGHUP signal to splogd to close the current
state_changes.<timestamp> and to open a new one. For example:
kill -HUP <splogd_PID>
User Exit Arguments
When a user exit is called by splogd, the following arguments are passed:
1. A c or s depending on whether this call is for a change of state or to
provide the startup values for the variables being monitored.
2. For each variable being reported, the following arguments are passed:
•
Frame number
•
Node number
•
Variable name
•
Value of the variable. (Boolean values are expressed as TRUE or FALSE,
integers as decimal strings, and floating-point values as floating-point
strings.)
192
SP PD Guide
Содержание RS/6000 SP
Страница 2: ......
Страница 14: ...This soft copy for use by IBM employees only xii SP PD Guide...
Страница 16: ...This soft copy for use by IBM employees only xiv SP PD Guide...
Страница 106: ...This soft copy for use by IBM employees only 86 SP PD Guide...
Страница 178: ...This soft copy for use by IBM employees only 158 SP PD Guide...
Страница 214: ...This soft copy for use by IBM employees only 194 SP PD Guide...
Страница 248: ...This soft copy for use by IBM employees only 228 SP PD Guide...
Страница 250: ...This soft copy for use by IBM employees only Figure 102 setup_authent Script Flow Chart 2 7 230 SP PD Guide...
Страница 252: ...This soft copy for use by IBM employees only Figure 104 setup_authent Script Flow Chart 4 7 232 SP PD Guide...
Страница 254: ...This soft copy for use by IBM employees only Figure 106 setup_authent Script Flow Chart 6 7 234 SP PD Guide...
Страница 258: ...This soft copy for use by IBM employees only Figure 110 install_cw Script Flow Chart 3 3 238 SP PD Guide...
Страница 260: ...This soft copy for use by IBM employees only Figure 112 setup_server Script Flow Chart 2 23 240 SP PD Guide...
Страница 262: ...This soft copy for use by IBM employees only Figure 114 setup_server Script Flow Chart 4 23 242 SP PD Guide...
Страница 264: ...This soft copy for use by IBM employees only Figure 116 setup_server Script Flow Chart 6 23 244 SP PD Guide...
Страница 266: ...This soft copy for use by IBM employees only Figure 118 setup_server Script Flow Chart 8 23 246 SP PD Guide...
Страница 268: ...This soft copy for use by IBM employees only Figure 120 setup_server Script Flow Chart 10 23 248 SP PD Guide...
Страница 270: ...This soft copy for use by IBM employees only Figure 122 setup_server Script Flow Chart 12 23 250 SP PD Guide...
Страница 272: ...This soft copy for use by IBM employees only Figure 124 setup_server Script Flow Chart 14 23 252 SP PD Guide...
Страница 274: ...This soft copy for use by IBM employees only Figure 126 setup_server Script Flow Chart 16 23 254 SP PD Guide...
Страница 276: ...This soft copy for use by IBM employees only Figure 128 setup_server Script Flow Chart 18 23 256 SP PD Guide...
Страница 278: ...This soft copy for use by IBM employees only Figure 130 setup_server Script Flow Chart 20 23 258 SP PD Guide...
Страница 280: ...This soft copy for use by IBM employees only Figure 132 setup_server Script Flow Chart 22 23 260 SP PD Guide...
Страница 284: ...This soft copy for use by IBM employees only Figure 136 rc switch Script Flow Chart 3 8 264 SP PD Guide...
Страница 286: ...This soft copy for use by IBM employees only Figure 138 rc switch Script Flow Chart 5 8 266 SP PD Guide...
Страница 288: ...This soft copy for use by IBM employees only Figure 140 rc switch Script Flow Chart 7 8 268 SP PD Guide...
Страница 290: ...This soft copy for use by IBM employees only 270 SP PD Guide...
Страница 292: ...This soft copy for use by IBM employees only 272 SP PD Guide...
Страница 300: ...This soft copy for use by IBM employees only 280 SP PD Guide...
Страница 304: ...This soft copy for use by IBM employees only 284 SP PD Guide...
Страница 308: ...This soft copy for use by IBM employees only 288 SP PD Guide...
Страница 310: ...This soft copy for use by IBM employees only 290 SP PD Guide...
Страница 316: ...IBML This soft copy for use by IBM employees only Printed in U S A SG24 4778 00...