25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 42<br />

Troubleshooting and Error Messages<br />

Debug commands for daemons<br />

The following commands set temporary message log level options for LIM,<br />

RES, mbatchd, sbatchd, and mbschd.<br />

lsadmin limdebug [-c class_name] [-l debug_level ] [-f logfile_name] [-o]<br />

[host_name]<br />

lsadmin resdebug [-c class_name] [-l debug_level ] [-f logfile_name] [-o]<br />

[host_name]<br />

badmin mbddebug [-c class_name] [-l debug_level ] [-f logfile_name] [-o]<br />

badmin sbddebug [-c class_name] [-l debug_level ] [-f logfile_name] [-o]<br />

[host_name]<br />

badmin schddebug [-c class_name] [-l debug_level ] [-f logfile_name] [-o]<br />

For a detailed description of lsadmin and badmin, see the <strong>Platform</strong> <strong>LSF</strong><br />

Reference.<br />

Examples<br />

◆<br />

◆<br />

% lsadmin limdebug -c "LC_MULTI LC_PIM" -f myfile hostA<br />

hostB<br />

Log additional messages for the LIM daemon running on hostA and hostB,<br />

related to MultiCluster and PIM. Create log files in the <strong>LSF</strong>_LOGDIR<br />

directory with the name myfile.lim.log.hostA, and<br />

myfile.lim.log.hostB. The debug level is the default value,<br />

LOG_DEBUG level in parameter <strong>LSF</strong>_LOG_MASK.<br />

% lsadmin limdebug -o hostA hostB<br />

Turn off temporary debug settings for LIM on hostA and hostB and reset<br />

them to the daemon starting state. The message log level is reset back to<br />

the value of <strong>LSF</strong>_LOG_MASK and classes are reset to the value of<br />

<strong>LSF</strong>_DEBUG_RES, <strong>LSF</strong>_DEBUG_LIM, LSB_DEBUG_MBD,<br />

LSB_DEBUG_SBD, and LSB_DEBUG_SCH. The log file is reset to the <strong>LSF</strong><br />

system log file in the directory specified by <strong>LSF</strong>_LOGDIR in the format<br />

daemon_name.log.host_name.<br />

◆ % badmin sbddebug -o<br />

Turn off temporary debug settings for sbatchd on the local host (host from<br />

which the command was submitted) and reset them to the daemon starting<br />

state. The message log level is reset back to the value of <strong>LSF</strong>_LOG_MASK<br />

and classes are reset to the value of <strong>LSF</strong>_DEBUG_RES, <strong>LSF</strong>_DEBUG_LIM,<br />

LSB_DEBUG_MBD, LSB_DEBUG_SBD, and LSB_DEBUG_SCH. The log file<br />

is reset to the <strong>LSF</strong> system log file in the directory specified by <strong>LSF</strong>_LOGDIR<br />

in the format daemon_name.log.host_name.<br />

◆ % badmin mbddebug -l 1<br />

Log messages for mbatchd running on the local host and set the log<br />

message level to LOG_DEBUG1. This command must be submitted from<br />

the host on which mbatchd is running because host_name cannot be<br />

specified with mbddebug.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 541

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!