Create get-data.sh
This commit is contained in:
13
get-data.sh
Executable file
13
get-data.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
source /opt/idssys/defaults/colors.inc
|
||||||
|
source /opt/idssys/defaults/default.inc
|
||||||
|
|
||||||
|
if [ ${1-x} ]; then
|
||||||
|
case ${1} in
|
||||||
|
cpuusage) GET_CPU_USAGE;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user