Initial
This commit is contained in:
30
bin/v-list-sys-memory-status
Executable file
30
bin/v-list-sys-memory-status
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# info: list virtual memory info
|
||||
# options:
|
||||
#
|
||||
# example: v-list-sys-memory-status
|
||||
#
|
||||
# This function lists virtual memory information
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Displaying memory and swap usage
|
||||
free -t -m
|
||||
echo -en "\n---------------------------------------------"
|
||||
echo -en "---------------------------------------------\n\n"
|
||||
|
||||
# Displaying memory stats
|
||||
vmstat -S m -s
|
||||
echo -en "\n---------------------------------------------"
|
||||
echo -en "---------------------------------------------\n\n"
|
||||
|
||||
# Displaying ram information
|
||||
dmidecode -t 17 2> /dev/null
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Hestia #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
exit
|
||||
Reference in New Issue
Block a user