This commit is contained in:
Alexey Berezhok
2024-03-19 22:05:27 +03:00
commit 346a50856b
1572 changed files with 182163 additions and 0 deletions

30
bin/v-list-sys-memory-status Executable file
View 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