Use this option to gather only cpuset information. It is necessary to get information about a cpuset-aware system that is not running as the PBS server/scheduler.
pbs_diag - diagnostic tool for PBS Professional
pbs_diag [-c] [-d <date range>] [-f] [-g <core file>] [-i <daemon PID>] [-j <job ID list>] [-n <days>] [-o <output directory>] [-p <daemon name>] [-r <remote command>] [-u <username>]
The pbs_diag command is an interactive tool for collecting information used to diagnose problems encountered when running PBS Professional. You can also use pbs_diag to generate a current snapshot of the configuration of the server and scheduler in a PBS complex. This tool does not collect MoM configuration information.
This command extracts the following information:
Use this option to gather only cpuset information. It is necessary to get information about a cpuset-aware system that is not running as the PBS server/scheduler.
Specifies a date range or a single integer representing the number of days in the past to retrieve server and scheduler logs. Date ranges must be of the form MM/DD/YYYY-MM/DD/YYYY. Defaults to 1 day.
Use this option for non-interactive mode. The greeting will be supressed, as will the command execution confirmation and prompts for additional parameters. If no other options are specified, only basic configuration information is collected.
Must use -u option with this option.
Path to core file. Obtains a stack trace for all threads from the specified core file produced by one of the PBS daemons. Works only on Linux systems where gdb (the GNU debugger) is installed.
If you specify -g, no other data collection takes place.
In the rare case that the PID stored in the PBS lock file is incorrect, use this option to specify the correct PID.
Collects information about specified job IDs. Use this option on the command line, to avoid being prompted during the running of the script. Format: comma-separated list of job IDs.
This overrides $HOME as the default location for the output .tar.gz file.
Specifies name of misbehaving (hung) daemon. The pbs_diag command gets daemon PID via lock file and gathers OS level data about the daemon process.
Use -i to optionally override by specifying daemon PID.
If you specify -p, no other data collection takes place.
Specifies the number of days of log files to query. Defaults to 3 days. Passed directly to and used only by pbs_dtj.
Overrides the rsh or ssh settings for PBS_SCP in pbs.conf. Anything be used here as long as it allows "rcommand username@remotehost command" rsh-like syntax. Passed directly to and used only by pbs_dtj.
Specifies a username under which to run. This option is useful if you are running the script as root, but you do not have passwordless remote access set up for the root account. You can specify a different username here to be used when connecting to the remote vnodes. Passed directly to and used only by pbs_dtj.
When specifying non-interactive use via the -f option, you must use the -u option.