From f97aa9d6f04171d6ce0b72e09fcea6f8396e2315 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Tue, 4 Jun 2024 13:09:45 -0400 Subject: [PATCH] put gstat into single operation mode / changed greeting --- test.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 test.sh diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..170a390 --- /dev/null +++ b/test.sh @@ -0,0 +1,23 @@ + + + + +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