Page Properties | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
- server/
- qstat_B.out: output of "qstat -B"
- qstat_Bf.out: output of "qstat -Bf"
- qmgr_ps.out: output of "qmgr print server"
- server_priv/: a copy of the 'server_priv' directory inside PBS_HOME, may or may not include accounting logs (see the -L option under "Interface Documentation"), core files are not captured (see core_file_bt/).
- server_logs/ (optional): contains server logs from the PBS_HOME/server_logs directory for the number of days specified by -L option
- job/
- qstat.out: output of "qstat"
- qstat_f.out: output of "qstat -f"
- qstat_t.out: output of "qstat -t"
- qstat_tf.out: output of "qstat -tf"
- qstat_x.out: output of "qstat -x"
- qstat_xf.out: output of "qstat -xf"
- qstat_ns.out: output of "qstat -ns"
- qstat_fx_F_dsv.out: output of "qstat -fx -F dsv"
- qstat_f_F_dsv.out: output of "qstat -f -F dsv"
- node/
- pbsnodes_va.out: output of "pbsnodes -va"
- pbsnodes_a.out: output of "pbsnodes -a"
- pbsnodes_avSj.out: output of "pbsnodes -avSj"
- pbsnodes_aSj.out: output of "pbsnodes -aSj"
- pbsnodes_avS.out: output of "pbsnodes -avS"
- pbsnodes_aS.out: output of "pbsnodes -aS"
- pbsnodes_aFdsv.out: output of "pbsnodes -aFdsv"
- pbsnodes_avFdsv.out: output of "pbsnodes -avFdsv"
- qmgr_pn_default.out: output of "qmgr print node @default"
mom_priv/
Copies of the following files: 'config', 'prologue', 'epilogue', 'mom.lock'
config.d/: contains copy of all vnode def files from inside PBS_HOME/mom_priv/config.d/
- mom_logs/ (optional): contains mom logs from the PBS_HOME/mom_logs directory for the number of days specified by -L option
- comm/
- comm_logs/ (optional): contains comm logs from the PBS_HOME/comm_logs directory for the number of days specified by -L option
- queue/
- qstat_Q.out: output of "qstat -Q"
- qstat_Qf.out: output of "qstat -Qf"
- hook/
- qmgr_ph_default.out: output of "qmgr print hook @default"
- qmgr_lpbshook.out: output of "qmgr list pbshook"
- scheduler/
- qmgr_psched.out: output of "qmgr print sched"
- sched_priv/: a copy of the 'sched_priv' directory inside PBS_HOME with all the files, core files are not captured (see core_file_bt/).
- sched_logs/ (optional): contains scheduler logs from the PBS_HOME/sched_logs directory for the number of days specified by -L option
- reservation/
- pbs_rstat_f.out: output of "pbs_rstat -f"
- pbs_rstat.out: output of "pbs_rstat"
- resource/
- qmgr_pr.out: output of "qmgr print resource"
- rscs_all (derived from the resourcedef file): Will list out built-in as well as custom resources in the following format:
Name: <resource name>
type = <resource type attribute>
flag = <resource flag attribute>Name: <resource name>
type = <resource type attribute>
flag = <resource flag attribute>...
...
datastore/
pg_log/: a copy of the "PBS_HOME/datastore/pg_log" directory
pbs/
pbs.conf: a copy of the pbs.conf file for the PBS system
pbs_probe_v.out: output of "pbs_probe -v"
- pbs_hostn_v.out: output of "pbs_hostn -v $(hostname)"
- pbs_environment: copy of PBS_HOME/pbs_environment file
core_file_bt/ (stack backtrace from core files)
sched_priv/: files containing the output of "thread apply all backtrace full" on all core files captured from PBS_HOME/sched_priv
- server_priv/: files containing the output of "thread apply all backtrace full" on all core files captured from PBS_HOME/server_priv
- mom_priv/: files containing the output of "thread apply all backtrace full" on all core files captured from PBS_HOME/mom_priv
- system/
- os_info: Information about the OS: version, flavour of linux etc. (output of "uname -a" and "cat /etc/*release*" for linux)
- process_info: List of processes running on the system when the snapshot was taken (output of "ps -ef | grep pbs | grep -v grep" for linux)
- lsof_pbs.out: output of "lsof | grep pbs | grep -v grep", only on linux systems
- ps_aux_pbs.out: output of "ps -aux | grep pbs | grep -v grep", only on linux systems
- etc_hosts: Copy of "/etc/hosts" file, only on linux systems.
- etc_nsswitch_conf: Copy of "/etc/nsswitch.conf" file, only on linux systems.
- vmstat.out: Output of the command 'vmstat', only on linux systems.
- df_h.out: Output of the command 'df -h', only on linux systems.
- ctime: this will log the time (since epoch) when the snapshot was taken.
- cmds.err: captures the stderr of all PBS commands run by pbs_snapshot in the following format:
<command run>:
<stderr>
<command run>:
<stderr>
.. - pbs_snapshot.log (optional): captures the logs generated by pbs_snapshot if the -l option is provided.
...
-d <pbs_diag>: diag directory to use as input
-H <hostname>: hostname to operate on. Defaults to the value of PBS_SERVER
-L <num days>: number of days of server, scheduler, accounting pbs logs to collect
-l <loglevel>: set log level to one of INFO, INFOCLI, INFOCLI2, DEBUG, DEBUG2,
WARNING, ERROR, FATAL
-o <dir>: Output directory
--addadditional_mom_logshosts=<id><hostname>: Also capture mom logs. 'id' is comma separated list of
logs from additional hosts
mom ids to get mom logs from.
--add_comm_logs=<hostname>: Also capture comm logs. 'hostname' is a comma separated
list of hostnames running pbs_comm to capture take logs from.
--map=<file>: Optional path to filename to store the mapping of obfuscated data
--obfuscate: Obfuscates euser, egroup, project, account_name, hostnames,
IP Addressses, PBS dataservice username
Deletes mail endpoints, owner, managers, operators, variable_list
ACLs, group_list, job name, jobdir
--version: print version number and exit
...
- Synopsis: Option to specify path to the output/snapshot directory
- Details:
- By default, pbs_snapshot will generate the snapshot directory inside /tmp/, and the snapshot directory will be named as "snapshot_<timestamp>"
- <timestamp> will be in the format: YYYYMMDD_HH_MM_SS
- If a directory <dir> already exists, pbs_snapshot will prompt the user to confirm whether to over-write it or not.
- By default, pbs_snapshot will generate the snapshot directory inside /tmp/, and the snapshot directory will be named as "snapshot_<timestamp>"
Interface: Option --add-mom-logs=<id>additional_hosts=<hostname>
- Synopsis: Option to capture
...
- logs
...
- This option only works with the -L <days> option.
- This option will cause pbs_snapshot to capture logs from the PBS_HOME/mom_logs/ directory for the moms specified, for the days specified in the -L option.
- The 'id' argument could either be a single mom's id value, or a comma separated list of mom ids to capture mom logs from, or blank, in which case logs from all the moms will be captured.
- The logs will be stored inside <snapshot>/node/mom_logs/ directory in the snapshot captured.
- Warning: This can bloat the size of snapshot a lot if there are a large number of mom daemons running in the cluster.
Interface: Option --add-comm-logs=<hostname>
- Synopsis: Option to capture comm logs in addition to other logs being captured.from hosts other than the one where PBS Server is running
- Details:
- This option only works with the -L <days> option.
- This option will cause pbs_snapshot to capture logs from the PBS_HOME/comm_logs/ directory for the hostnames of all the daemons running on the hosts specified, for the days specified in the -L option.
- The 'hostname' argument could either be a single hostname value, or a comma separated list of hostnames to capture the logs from, or blank, in which case logs from all the comms hosts running PBS daemons will be captured.
- The logs will be stored inside <snapshot>/comm/comm_logs/ directory in the snapshot captured.
- Warning: This can bloat the size of snapshot by a lot if there are a large number of comm daemons running in the cluster.
Interface: Option --map=<file>
...