kawaii
This commit is contained in:
parent
696a047e32
commit
14a03d53b8
@ -36,7 +36,7 @@ totalmem=`free -m | head -2 | tail -1 | awk '{print $2}'`
|
|||||||
echo 'LA: ' $la ' of ' $nproc
|
echo 'LA: ' $la ' of ' $nproc
|
||||||
echo 'RAM: ' $usedmem 'Mb of ' $totalmem Mb
|
echo 'RAM: ' $usedmem 'Mb of ' $totalmem Mb
|
||||||
|
|
||||||
echo -e "${TEXT_COLOR_GOOD} - Disk: ${TEXT_COLOR_OFF}\n"
|
echo -e "\n${TEXT_COLOR_GOOD} - Disk: ${TEXT_COLOR_OFF}\n"
|
||||||
|
|
||||||
df -h | head -n 1
|
df -h | head -n 1
|
||||||
df -h | grep '/dev/vd'
|
df -h | grep '/dev/vd'
|
||||||
@ -45,7 +45,7 @@ echo "- Inodes:"
|
|||||||
|
|
||||||
df -hi | grep '/dev/vd'
|
df -hi | grep '/dev/vd'
|
||||||
|
|
||||||
echo -e "\n ${TEXT_COLOR_GOOD} - Installed panel: ${TEXT_COLOR_OFF}\n"
|
echo -e "\n${TEXT_COLOR_GOOD} - Installed panel: ${TEXT_COLOR_OFF}\n"
|
||||||
|
|
||||||
#if zero - false
|
#if zero - false
|
||||||
[[ -d /opt/webdir/bin/ ]] && echo "Bitrix!"
|
[[ -d /opt/webdir/bin/ ]] && echo "Bitrix!"
|
||||||
@ -76,11 +76,11 @@ echo -e "
|
|||||||
harakiri
|
harakiri
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
echo "- Top RAM usage:"
|
echo -e "${TEXT_COLOR_GOOD}- Top RAM usage:${TEXT_COLOR_OFF}"
|
||||||
|
|
||||||
ps axk-%mem ouser,%cpu,%mem,command | head
|
ps axk-%mem ouser,%cpu,%mem,command | head
|
||||||
echo
|
echo
|
||||||
echo "- Top CPU usage:"
|
echo -e "${TEXT_COLOR_GOOD}- Top CPU usage:${TEXT_COLOR_OFF}"
|
||||||
|
|
||||||
ps axk-%cpu ouser,%cpu,%mem,command | head
|
ps axk-%cpu ouser,%cpu,%mem,command | head
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user