Administrative Tasks
600716 Rev A Trouble- shooting Tools 4-7
Troubleshooting
Tools
The log_monitor script is a alternative to newfslog for log
maintenance. This script can be run as needed to refresh log
files, or called from cron to monitor the logs and prevent them
from filling up the $FS_HOME file system. Log cleaning will
only be triggered when the command line parameters are met.
The system variables $FS_HOME, $LOG_PATH, and
$NONARCH_LOG_PATH must be defined before the script will
run.
$LOGPATH is the path to the archival directory where old log
files (files that should not be stored in an archival directory)
will be stored. Type log_monitor without parameters to
obtain information on the parameter options. If log_monitor
returns “Command not found” make sure that the path on line
one is correct for the Perl processor, and change as necessary.
Information on past log_monitor activity can be found in
$NONARCH_LOG_PATH/log_monitor.log.
Set Up FileServ
Logging Step 1 . Open a FileServ environment shell window.
Step 2. Look at the /etc/syslog.conf file to make sure that
the console window on the workstation is receiving
FileServ syslog messages. This file contains entries
directing the pertinent FileServ syslog messages to
the FileServ system host computer.
Step 3. Log in as root and enter the following command:
Step 4. Enter the following command to display the daemon
pid of the syslogd:
#-ps -elf | grep syslogd
#kill -HUP daemonpid