1
0
mirror of https://github.com/serghey-rodin/vesta.git synced 2025-03-11 20:26:30 -07:00
vesta/bin/v-list-sys-disk-status

41 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-09-09 16:45:09 +03:00
#!/bin/bash
# info: list disk information
# options: [FORMAT]
#
# The function lists disk information
#----------------------------------------------------------#
# Variable&Function #
#----------------------------------------------------------#
2015-11-06 17:38:58 +02:00
# Argument definition
2015-09-09 16:45:09 +03:00
#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