Enable
debugging for EMS by issuing the command, # touch /etc/opt/resmon/debug.
Enable diskmond logging and debugging
# vi /etc/opt/resmon/dictionary/diskmond.dict
Change the following line:
MONITOR: /etc/opt/resmon/lbin/diskmond
to
MONITOR: /etc/opt/resmon/lbin/diskmond -l -d
 |
 |  |
 |
 | NOTE: Do not save a backup copy of the diskmond.dict
file in the /etc/opt/resmon/dictionary directory or in any subdirectory. If you want
to make a backup copy of the diskmond.dict file, save it to /tmp or any similiar path. |
 |
 |  |
 |
Create the file /etc/opt/resmon/unlimited_log. If you do not create this file, the log files
will be overwritten once they reach 500 KB in size.
# touch /etc/opt/resmon/unlimited_log
The EMS log files in /etc/opt/resmon/ are limited to 500 KB in size and are then moved
to <logfile>.old. The previous *.old file is lost. The limit of 500 KB per log file can
be removed by creating the file /etc/opt/resmon/unlimited_log.
 |
 |  |
 |
 | WARNING! Be careful while creating this file. Growing EMS
log files can easily fill up your root file system. |
 |
 |  |
 |
Set up everything for reproduction.
Backup the /etc/opt/resmon/ tree:
# mkdir -p /tmp/RESMON/before# cp -Rp /etc/opt/resmon/* /tmp/RESMON/before
Save logfiles (if needed):
# cd /etc/opt/resmon/log# tar cvf /tmp/oldlogs.tar *# cd /var/opt/resmon/log# tar rvf /tmp/oldlogs.tar diskmond.log
Clear logfiles:
# for i in /etc/opt/resmon/log/*log* /var/opt/resmon/log/diskmond.log> do> rm $i> done
Restart EMS and reproduce
the problem.
# kill <pid of diskmond># kill <pid of registrar># date > /tmp/RESMON/startdate; kill <pid of p_client># <steps to reproduce>
Check if you have successfully
reproduced the problem.
Collect the data.
# cd /etc/opt
# tar cvf /tmp/RESMON/after.tar ./resmon
# cd /var/opt/resmon/log
# tar rvf /tmp/RESMON/after.tar diskmond.log
Disable debug logging.
rm /etc/opt/resmon/debug
Edit the diskmond.dict file.
Kill diskmond, registrar, p_client.