This soft copy for use by IBM employees only.
Service
The
service
function first calls the
snap
command to gather system data to the
top level directory if the
-p
option is used. The
snap
command creates a set of
subdirectories based on the
-p
arguments. The additional data defined in the
table data is then collected in the other subdirectory created by the
snap
command. If the
-p
option is not used, the data will be collected in the other
subdirectory. Note that you must have root authority to execute the
snap
command.
View
The
view
function displays the output of the command or contents of the entries
in the input table to the local host. The following is an example of the
/spdata/sys1/amd.tab file:
#
# This is a sample service collection table for amd problems.
# To use:
#
1.
Uncomment lines to be collected.
#
2.
Replace the target node list for each line with node names,
#
a file containing node names, or a ! to designate the
#
local node.
(See the splm reference page)
#
3.
Add to the node list or add additional collection commands
#
if needed.
#
# In this table the following target nodes need to edited:
#
allnodes
-
All nodes in the SP system
#
amd_server
-
amd server node (usually the cws)
#
cws
-
Control Workstation
#cws,allnodes: /etc/amd/amd-maps/*
/amd-maps/
#amd_server: /etc/exports etc_exports
#amd_server: /etc/filesystems etc_filesystems
#cws,allnodes: /etc/amd/amq > amq.output
#cws,allnodes: /bin/df > df.output
#cws: /var/adm/SPlogs/amd/amd.log
Figure 73. /spdata/sys1/amd.tab
6.2.6 Collecting System Data
Create service collections
From SMIT, the fast path to invoke for the Create Service Collections menu is:
smit spcreate_collect
In the following example, service collections are created using the table file
ssp.tab.
snap -gfk
will be called to gather general system information (
-g
), file
information (
-f
), and kernel information (
-k
). Additional log and system data
designated in the ssp.tab table will be collected in the other directory created by
snap
. The nodename.tar.Z compressed tar file will be created.
splm -a service -t /spdata/sys1/logtables/ssp.tab -p
′
gfk
′
-c
The fast path to invoke for the Remove Service Collections menu is:
smit spremove_collect
Chapter 6. E r r o r Logging
173
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...