Pastebin
Paste #15171: sshpass monitor
< previous paste - next paste>
Pasted by Tim
# Script that automatically monitors load average data from the finance server
# (c) 2021 Eric Rand and Associates
# Changes ====================================================================
# May 20 2021: Created (Tim Hawthorne)
export SERVIP='18.117.71.175'
export SSHPASS='c0rpf1n4nc3sdb'
while [ 1 ]; do
sshpass -e ssh root@${SERVIP} 'cat /proc/loadavg';
sleep 30;
done
New Paste
Go to most recent paste.