Legato NetWorker Commands Index:
ansrdascdcode
cdi_block_limits
cdi_bsf
cdi_bsr
cdi_eod
cdi_filemark
cdi_fsf
cdi_fsr
cdi_get_config
cdi_get_status
cdi_inq
cdi_load_unload
cdi_locate
cdi_offline
cdi_rewind
cdi_set_compression
cdi_space
cdi_ta
cdi_tapesize
cdi_tur
changers
dasadmin
ddmgr
EMASS_silo
erase
generate_test_tape
hadump
hafs
hagentd
hagetconf
haprune
hascsi
hasubmit
hasys
hpflip
IBM_silo
ielem
inquire
jbconfig
jbexercise
jbverify
ldunld
lgtolic
lgtolmd
libcdi
libscsi
libsji
libstlemass
libstlibm
libstlstk
lrescan
lreset
lus_add_fp_devs
lusbinfo
lusdebug
mini_el
mm_data
mminfo
mmlocate
mmpool
mmrecov
msense
mt
ndmpjbconf
networker
nsr (1)
nsr (5)
nsr_archive_request
nsr_client
nsr_crash
nsr_data
nsr_device
nsr_directive
nsr_getdate
nsr_group
nsr_ize
nsr_jukebox
nsr_label
nsr_layout
nsr_license
nsr_migration
nsr_notification
nsr_policy
nsr_pool
nsr_regexp
nsr_resource
nsr_schedule
nsr_service
nsr_shutdown
nsr_stage
nsr_storage_node
nsr_support
nsr_usergroup
nsradmin
nsralist
nsrarchive
nsrcap
nsrcat
nsrck
nsrclone
nsrcnct
nsrd
nsrexec
nsrexecd
nsrhsmck
nsrhsmclear
nsrhsmd
nsrhsmls
nsrhsmnfs
nsrhsmrc
nsrhsmrecall
nsrib
nsriba
nsrim
nsrindexasm
nsrindexd
nsrinfo
nsrjb
nsrlic
nsrls
nsrmig
nsrmm
nsrmmd
nsrmmdbasm
nsrmmdbd
nsrmon
nsrndmp_clone
nsrndmp_recover
nsrndmp_save
nsrpmig
nsrports
nsrretrieve
nsrssc
nsrstage
nsrtrap
nsrwatch
nwadmin
nwarchive
nwbackup
nwrecover
nwretrieve
pathownerignore
pmode
preclntsave
pstclntsave
read_a_block
recover
relem
resource
save
savefs
savegrp
savepnpc
scanner
sjiielm
sjiinq
sjimm
sjirdp
sjirdtag
sjirelem
sjirjc
sjisn
sn
ssi
stk_eject
STK_silo
stli
sym2xdm
tapeexercise
tur
uasm
writebuf
* - Windows Only
* mt
* nsrlpr
* nsrperf
nsr_support
nsrsup - NetWorker command to gather system informationSYNOPSIS
nsr_support [ -ab:cdef:g:hi:jl:m:no:prst:uvwxz ] nsrsup [ -ab:cdef:g:hi:jl:m:no:prst:uvwxz ]
DESCRIPTION
nsr_support gathers up information about a system to be used by Technical Support or Engineering for analysis. Although there are a lot of flags, in most cases the default should suffice. The output is gathered into /nsr/tmp/n_supp.pid. If an output filename is provided, the contents are moved there. If output is to be emailed, the output is split into multiple files with appropriate names with the pid as suffix, then it's tar'red, optionally compressed and then uuencoded for mailing. The output can also be in html format for either saving locally or mailing.
PLATFORMS
nsr_support is officially supported on the following platforms. It will likely run on other Un*x platforms as well. Platform names as reported by the uname(1) command. SunOS OSF1 HP-UX Linux AIX IRIX IRIX64 DYNIX/ptx
OPTIONS
The following options affect the behaviour of nsr_support(1). Long boolean flags can be turned on with --flag-name | --flag-name=yes, and they can be turned off with --noflag-name | --flag-name=no. Long non-boolean flags can only be turned of with --noflag-name. Flags which take arguments require their arguments to be a comma or space separated, quoted list. For single letter options, the uppercase version of the flag turns the behaviour off. -a, --all Turn on all flags. -A Turn off all flags. -b cores,daemons --dbg-cores --dbg-daemons Run debugger on core files and/or daemons. Default is --dbg-cores. --all turns on --dbg-cores --dbg-daemons. -B Turn off running debugger on cores and daemons. -c, --clients -e, --env-path Append the PATH from the environment to the default in script. The default is /sbin:/usr/sbin:/bin:/usr/bin:/etc If it exists, /usr/xpg4/bin is prepended. The following are appended, if they exist. /usr/ucb /usr/bsd /usr/sadm/bin /usr/ccs/bin /usr/etc /etc/LGTOuscsi /usr/local/bin /usr/libexec /usr/libexec/sccs /usr/sbin/nsr /usr/bin/nsr /usr/nsrsbin /usr/nsrbin /opt/SUNWspro/bin /opt/networker/bin /usr/opt/networker/bin -f arg, --file-list=arg Tail additional named files. -F Do not tail additional files. -g arg, --grep-list=arg grep(1) logfiles specified with -l. Default is --greplist=mbuf. -G Turn off grepping of logfiles. -h Print help on the single character flags and exit. --help Print help on the long flags and exit. --hw-conf Attempt to gather some hardware and kernel configuration information. On by default. --html-output, --html Generate html output. Off by default. --all turns it on. -i arg, --mminfo=arg Run mminfo(1) with the specified flags, do not use the - before arg. Default is --mminfo=mvV,avV. -I Do not run mminfo(1). --ipcs-info Run ipcs(1) -a. On by default. -j, --jb-info Display jukebox info, if available. On by default. -J Do not display jukebox info. Display log files, the nsr res files and query RAP. Default is --nsr-log --daemon-log --sysmess-log --nsr-res --log-lines=3000. --all turns on --nsr-log --daemon-log --sysmess-log --nsr-res --rap-res --log-lines=all. -L Do not display logfiles. -m arg, --mail=arg Set email address to arg. Output will be emailed to named person. The output is going to be multiple files that are tar'red, compressed and then uuencoded. If output is in html mode, there will be only one single file but the above still applies. To retrieve the files use: uudecode -p < file_name | uncompress -c | tar xf - You can replace the uncompress(1) command with gzip -dc. -M Do not email output. On by default. -n, --netstat Run netstat(1). On by default. -N Do not run netstat(1). -o arg, --output-file=arg Set output file name to arg. -O Do not set output file name. On by default. -p, --check-path Check for presence of NetWorker executables. Runs cksum(1) and what(1) on binaries. On by default. -P Do not check for presence of NetWorker binaries. --path=arg Add arg to the PATH. See --env-path as well. -r, --rpcinfo Run rpcinfo(1) -b 390109 2 to find NetWorker servers. On by default. -R Do not run rpcinfo(1). -s, --ps Run ps(1). On by default. -S Do not run ps(1). --savegrp Run savegrp(1) -p on every group --show-pkgs Attempt to show the packages installed. On by default. --subject=arg Set the email's Subject: field. -t arg, --trace-list=arg, --trace-time=nnn Set temp directory for temporary output files. -u, --user-info Interactively obtain user info, incident #, etc. On by default. -U Do not try to obtain user info interactively. -v, --vmstat Run vmstat(1)/sar(8). On by default. -V Do not run vmstat(1)/sar(8). --verbose Set verbose output. Prints the values of the internal configuration parameters. Also prints some info on the progress of the script. -w, --swap-info Get swap info. On by default. -W Do not get swap info. -x, --indexes Print index data. On by default. -X Do not print index data. -z, --compress Compress output using compress(1). Emails are always compressed. -Z Do not compress(1) output. On by default.
REQUIREMENTS
nsr_support requires a temporary directory to store the data it is gathering. This directory is by default /nsr/tmp or if that does not exist, it is /tmp. This can be changed with --temp-dir. This is only important if you're emailing the output or you're not specifying an output file.
EXAMPLES
nsrsup --mail=ts-in@legato.com --nouser-info --html-output nsrsup --path=/usr/mybin:/usr/mybin/sbin
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk