first commit
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# runs every 5 minutes
|
||||
|
||||
echo "$( date ) updateRRDs monitor"
|
||||
# all this is started from cron, met HOME folder -> the root of this project
|
||||
cd monitor >/dev/null 2>&1 # this only works if we start it from CRON, else ignored
|
||||
|
||||
df | ./monitorDisks.py
|
||||
top -b -n 5 -p0 | tail -9 | ./monitorTop.py
|
||||
# top -b -n 1 | tee /tmp/top/$(date +"%H%M").log | ./monitorTop.py
|
||||
|
||||
# ./monitorNet.sh
|
||||
Reference in New Issue
Block a user