Platform LSF Administration Guide Version 6.2

Chapter 44
Troubleshooting and Error Messages
Administering Platform LSF
617
Examples
% lsadmin limdebug -c "LC_MULTI LC_PIM" -f myfile hostA
hostB
Log additional messages for the LIM daemon running on hostA and hostB,
related to MultiCluster and PIM. Create log files in the LSF_LOGDIR directory
with the name
myfile.lim.log.hostA, and myfile.lim.log.hostB. The
debug level is the default value, LOG_DEBUG level in parameter
LSF_LOG_MASK.
% lsadmin limdebug -o hostA hostB
Turn off temporary debug settings for LIM on hostA and hostB and reset them
to the daemon starting state. The message log level is reset back to the value of
LSF_LOG_MASK and classes are reset to the value of LSF_DEBUG_RES,
LSF_DEBUG_LIM, LSB_DEBUG_MBD, LSB_DEBUG_SBD, and
LSB_DEBUG_SCH. The log file is reset to the LSF system log file in the directory
specified by LSF_LOGDIR in the format daemon_name.log.host_name.
% badmin sbddebug -o
Turn off temporary debug settings for sbatchd on the local host (host from which
the command was submitted) and reset them to the daemon starting state. The
message log level is reset back to the value of LSF_LOG_MASK and classes are
reset to the value of LSF_DEBUG_RES, LSF_DEBUG_LIM,
LSB_DEBUG_MBD, LSB_DEBUG_SBD, and LSB_DEBUG_SCH. The log file
is reset to the LSF system log file in the directory specified by LSF_LOGDIR in the
format daemon_name.log.host_name.
% badmin mbddebug -l 1
Log messages for mbatchd running on the local host and set the log message level
to LOG_DEBUG1. This command must be submitted from the host on which
mbatchd is running because host_name cannot be specified with mbddebug.
% badmin sbddebug -f hostB/myfolder/myfile hostA
Log messages for sbatchd running on hostA, to the directory myfile on the
server
hostB, with the file name myfile.sbatchd.log.hostA. The debug
level is the default value, LOG_DEBUG level in parameter LSF_LOG_MASK.
% badmin schddebug -l 2
Log messages for mbatchd running on the local host and set the log message level
to LOG_DEBUG2. This command must be submitted from the host on which
mbatchd is running because host_name cannot be specified with schddebug.
% badmin schddebug -l 1 -c “LC_PERFM”
% badmin schdtime -l 2
Activate the LSF scheduling debug feature.
Log performance messages for
mbatchd running on the local host and set the log
message level to LOG_DEBUG. Set the timing level for
mbschd to include two
levels of timing information.
% lsadmin resdebug -o hostA
Turn off temporary debug settings for RES on hostA and reset them to the
daemon starting state. The message log level is reset back to the value of
LSF_LOG_MASK and classes are reset to the value of LSF_DEBUG_RES,