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
Summary of Contents for RS/6000 SP
Page 2: ......
Page 14: ...This soft copy for use by IBM employees only xii SP PD Guide...
Page 16: ...This soft copy for use by IBM employees only xiv SP PD Guide...
Page 106: ...This soft copy for use by IBM employees only 86 SP PD Guide...
Page 178: ...This soft copy for use by IBM employees only 158 SP PD Guide...
Page 214: ...This soft copy for use by IBM employees only 194 SP PD Guide...
Page 248: ...This soft copy for use by IBM employees only 228 SP PD Guide...
Page 290: ...This soft copy for use by IBM employees only 270 SP PD Guide...
Page 292: ...This soft copy for use by IBM employees only 272 SP PD Guide...
Page 300: ...This soft copy for use by IBM employees only 280 SP PD Guide...
Page 304: ...This soft copy for use by IBM employees only 284 SP PD Guide...
Page 308: ...This soft copy for use by IBM employees only 288 SP PD Guide...
Page 310: ...This soft copy for use by IBM employees only 290 SP PD Guide...
Page 316: ...IBML This soft copy for use by IBM employees only Printed in U S A SG24 4778 00...