recap
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
recap [2015/06/26 08:15] – created luke7858 | recap [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
Installing recap. Change /root/ to the user you wish to install git for | Installing recap. Change /root/ to the user you wish to install git for | ||
+ | == CentOS/RHEL == | ||
<sxh bash> | <sxh bash> | ||
- | yum install git -y ; cd /root/ ; git clone https:// | + | yum install |
+ | </ | ||
+ | == Ubuntu == | ||
+ | <sxh bash> | ||
+ | apt-get install bc gawk git elinks iotop make net-tools psmisc sysstat; cd /home/rack ; git clone https:// | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | Changing recap/rs-sysmon logging intervals: | ||
+ | <sxh bash> | ||
+ | vim / | ||
+ | </ | ||
+ | The section should look similar to the following. Comment out the 10 mins and uncomment 5 mins cron | ||
+ | <sxh bash> | ||
+ | #Every hour | ||
+ | #0 * * * * root / | ||
+ | |||
+ | #Every 30 minutes | ||
+ | #*/30 * * * * root / | ||
+ | |||
+ | #Every 10 minutes | ||
+ | */10 * * * * root / | ||
+ | |||
+ | #Every 5 minutes | ||
+ | #*/5 * * * * root / | ||
+ | |||
+ | # Pack and clear log files | ||
+ | 0 1 * * * root / | ||
+ | </ | ||
+ | \\ | ||
+ | Command for using recap logs | ||
+ | <sxh bash> | ||
+ | echo -e " | ||
</ | </ |
recap.1435306553.txt.gz · Last modified: 2024/05/23 07:26 (external edit)