sadm_client crontab

1 minute read

This is SADMIN client crontab file, it collect performance and system information data, it also run system monitor and perform some housekeeping in the $SADMIN directories.


The three entries in SADMIN client crontab

# SADMIN Client Crontab File 
# 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SADMIN=/opt/sadmin
# 
# Run these four scripts in sequence, just before midnight every day:
# (1) sadm_housekeeping_client.sh (Make sure files in $SADMIN have proper owner:group & permission)
# (2) sadm_dr_savefs.sh (Save lvm filesystems metadata to recreate them easily in Disaster Recovery)
# (3) sadm_create_cfg2html.sh (Run cfg2html tool - Produce system configuration web page).
# (4) sadm_create_sysinfo.sh (Collect Hardware & Software info of system to update Database).
23 23 * * *  sadmin sudo ${SADMIN}/bin/sadm_client_sunset.sh > /dev/null 2>&1
# 
# Run SADMIN System Monitoring every 5 minutes
*/5 * * * * sadmin sudo ${SADMIN}/bin/sadm_sysmon.pl >${SADMIN}/log/$(hostname -s)_sadm_sysmon.log 2>&1
#
# 
# Every 45 Min, make sure 'nmon' performance collector is running.
*/45 * * * *  sadmin sudo ${SADMIN}/bin/sadm_nmon_watcher.sh >/dev/null 2>&1
# 
# 

Back to the top

SEE ALSO

Link to … Description
SADMIN installation SADMIN installation page
How-to update SADMIN How-to update to latest version of SADMIN
sadmin.cfg SADMIN main configuration file
sadm_sysmon.pl Client system monitor
SysMon configuration file Client System Monitor configuration file
smon Allow you run SysMon and see the report file