fixed text
This commit is contained in:
36
collect.sh
36
collect.sh
@@ -2,25 +2,25 @@
|
|||||||
|
|
||||||
minutes=$1
|
minutes=$1
|
||||||
|
|
||||||
greeting=$(cat << EOF
|
|
||||||
.THIS SCRIPT IS FOR FREEBSD.\n\n
|
|
||||||
This script will scrape:\n
|
|
||||||
------------------------\n
|
|
||||||
- Network Interfaces via ifstat\n
|
|
||||||
- CPU/Memory via top\n
|
|
||||||
- Disk Stats via gstat\n
|
|
||||||
- ZFS Pool vai zpool iostat\n\n
|
|
||||||
Output will be a series of csv files.\n\n
|
|
||||||
------------------------\n
|
|
||||||
./collect.sh 60 - will collect for 60 minutes.\n
|
|
||||||
------------------------\n\n
|
|
||||||
This script will auto uploaded data to ftp.ixsystems.com when completed.\n
|
|
||||||
It will also copy the '*.csv' files to /var/log\n
|
|
||||||
Airgapped systems will need to upload the '*.csv' and/or take a debug.\n
|
|
||||||
EOF
|
|
||||||
)
|
|
||||||
|
|
||||||
echo $greeting
|
echo "THIS SCRIPT IS FOR FREEBSD."
|
||||||
|
echo ""
|
||||||
|
echo "This script will scrape:"
|
||||||
|
echo "------------------------"
|
||||||
|
echo "- Network Interfaces via ifstat"
|
||||||
|
echo "- CPU/Memory via top"
|
||||||
|
echo "- Disk Stats via gstat"
|
||||||
|
echo "- ZFS Pool vai zpool iostat"
|
||||||
|
echo ""
|
||||||
|
echo "Output will be a series of csv files."
|
||||||
|
echo "------------------------"
|
||||||
|
echo "./collect.sh 60 - will collect for 60 minutes."
|
||||||
|
echo "------------------------"
|
||||||
|
echo ""
|
||||||
|
echo "This script will auto uploaded data to ftp.ixsystems.com when completed."
|
||||||
|
echo "It will also copy the '*.csv' files to /var/log"
|
||||||
|
echo "Airgapped systems will need to upload the '*.csv' and/or take a debug."
|
||||||
|
|
||||||
|
|
||||||
echo "Starting gstat Collection"
|
echo "Starting gstat Collection"
|
||||||
echo "Starting iostat Collection"
|
echo "Starting iostat Collection"
|
||||||
|
|||||||
Reference in New Issue
Block a user