added cpu collection
This commit is contained in:
@@ -5,8 +5,8 @@ minutes=$1
|
||||
echo ""
|
||||
greeting="Running perfcollect for $minutes minutes"
|
||||
echo "$greeting"
|
||||
echo "Will auto upload to iXsystem when completed."
|
||||
echo "Airgapped Systems will need to exfiltrate /root/*.csv"
|
||||
echo "Will auto upload to ftp.ixsystem.com when completed."
|
||||
echo "Airgapped Systems will need to exfiltrate *.csv"
|
||||
echo ""
|
||||
|
||||
iterations=$1
|
||||
@@ -17,7 +17,9 @@ timeout "$minutes"m gstat -C -s -d -o -p -I 60s > gstat.csv &
|
||||
echo "Starting iostat Collection"
|
||||
for (( i=1; i<=$iterations; i++ )); do
|
||||
# Execute the command
|
||||
python3 ixiostat.py
|
||||
python3 zpooliostat.py
|
||||
python3 iostat.py
|
||||
|
||||
echo "minute: $i"
|
||||
# Wait for 60 seconds before the next iteration
|
||||
sleep 60
|
||||
|
||||
Reference in New Issue
Block a user