Server monitoring tools

This commit is contained in:
Serghey Rodin 2015-09-09 16:45:09 +03:00
commit 841c97982f
10 changed files with 586 additions and 9 deletions

40
bin/v-list-sys-disk-status Executable file
View file

@ -0,0 +1,40 @@
#!/bin/bash
# info: list disk information
# options: [FORMAT]
#
# The function lists disk information
#----------------------------------------------------------#
# Variable&Function #
#----------------------------------------------------------#
# Argument defenition
#format=${1-shell}
# Includes
#source $VESTA/func/main.sh
#----------------------------------------------------------#
# Action #
#----------------------------------------------------------#
# Displaying disk usage
df -h
echo -en "\n-------------------------------------"
echo -en "-------------------------------------\n\n"
# Displaying I/O usage
iostat -m
echo -en "\n-------------------------------------"
echo -en "-------------------------------------\n\n"
# Displaying disk information
fdisk -l
#----------------------------------------------------------#
# Vesta #
#----------------------------------------------------------#
exit