User Tools

Site Tools


recap

This is an old revision of the document!


Installing recap. Change /root/ to the user you wish to install git for

yum install git -y ; cd /root/ ; git clone https://github.com/rackerlabs/recap.git ; cd recap;  ./recap-installer


Changing recap/rs-sysmon logging intervals:

vim /etc/cron.d/recap

Command for using recap logs
echo -e "\nActive users:"; w -h | grep -v rack; echo -e "\n"; \sar -q -s `date -d '-3 hour' +%T`;cd /var/log/recap;echo ""; ls -ltr resour* | tail -n 10 ; echo -e "\n\nTime?";read vr2;echo ""; ls -ltr resources* | grep $vr2 | cat $(awk '{ print $NF }') | egrep -m 2 -A 15 "UPTIME report | cut -b 119- |Top 10 cpu using processes"; unset vr2;echo "";

recap.1442844161.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki