HP rp7410 Anleitung zur Fehlerbehebung Seite 7

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 9
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 6
getsysinfo.sh -sd2 -sd2opt “-d MM/DD/YY” # get only data from after that date
getsysinfo.sh -sd2 -sd2opt “hostname user password”
Note: by default, sd2collect only captures data from the last 30 days unless getsysinfo.sh option -h or -a was
given.
How to capture Service Guard related information ?
By giving either the -sw or -sginfo option the script sginfo is run.
(see https://h20628.www2.hp.com/km-ext/content-webapp/document?docId=emr_na-c03661098 )
It -sginfo was given, the output filename defaults to sysinfo+sginfo_host_date.tgz.
Without that option, getsysinfo.sh still collects by default the cmclview -v information into the file
service_guard.txt
How to automatically run crashinfo ?
ksh getsysinfo.sh -c #runs /opt/sfm/tools/crashinfo on the latest dump if present
Since version 9.18 getsysinfo.sh can call the crashinfo tool which comes with System Fault
Manager and usually is located in /opt/sfm/tools.
You can also specify another crashinfo location with the CRASHINFO environment variable, for
example :
CRASHINFO=/tmp/crashinfo ksh getsysinfo.sh -c
By default, only the last dump is analyzed. To analyze all dumps younger than 6 months you can
use:
ksh getsysinfo.sh -c all
Attention: Analyzing dumps may be a time and storage (/var/adm/crash) consuming task depending
on the size of the dump.
Other Examples are:
ksh getsysinfo.sh -sw #-sw for software collections also collects dump
ksh getsysinfo.sh -sw -c 0 #disable dump collection when -sw is set
ksh getsysinfo.sh -c 2 #collect the last two dumps yunger than 6 months
ksh getsysinfo.sh -c all -h #collect really all dumps (also older 180 days)
How can I modify the temporary directory ?
Simply set the environment variable TMPDIR which is used by mktemp to specify the location of
temporary files and directories.
For example:
TMPDIR=/var/tmp ksh getsysinfo.sh
How to run/collect additional commands/files with the -x option ?
Sometimes other information may be needed than collected by getsysinfo.sh. Instead of modifying
the script (see next chapter) the -x option can be used to collect additional files or to run additional
commands. Of course you should use this option with caution.
-x <file(s)> to capture additional file(s)
By specifying one or more files (full path needed) behind the -x option you can force getsysinfo.sh
to capture them as well (output filename will be addfile_<pathname>, all “/” are replaced by “_”).
Seitenansicht 6
1 2 3 4 5 6 7 8 9

Kommentare zu diesen Handbüchern

Keine Kommentare