Compare commits
No commits in common. "3290c04f6bf34527e62192497872c86536419a7b" and "e7513a4060c4e7b1c793f7d7b4f566402d789002" have entirely different histories.
3290c04f6b
...
e7513a4060
@ -29,7 +29,7 @@ lsb_release -a 2> /dev/null
|
||||
echo -e "\n${TEXT_COLOR_GOOD} - Load:${TEXT_COLOR_OFF}\n"
|
||||
|
||||
nproc=`nproc`
|
||||
la=`cat /proc/loadavg | awk '{print $1", " $2", " $3}'`
|
||||
la=`cat /proc/loadavg | awk '{print $1, $2, $3}'`
|
||||
usedmem=`free -m | head -2 | tail -1 | awk '{print $3}'`
|
||||
totalmem=`free -m | head -2 | tail -1 | awk '{print $2}'`
|
||||
|
||||
@ -45,7 +45,7 @@ echo "- Inodes:"
|
||||
|
||||
df -hi | grep '/dev/vd'
|
||||
|
||||
echo -e "\n ${TEXT_COLOR_GOOD} - Installed panel: ${TEXT_COLOR_OFF}\n"
|
||||
echo -e "${TEXT_COLOR_GOOD} - Installed panel: ${TEXT_COLOR_OFF}\n"
|
||||
|
||||
#if zero - false
|
||||
[[ -d /opt/webdir/bin/ ]] && echo "Bitrix!"
|
||||
@ -65,7 +65,6 @@ echo -e "
|
||||
---
|
||||
1. Посмотреть жрущие ЦПУ/ОЗУ процессы
|
||||
2. Вывести OOM'ы
|
||||
3. nginx: Посмотреть конфиги и домены в них
|
||||
|
||||
0. Выход
|
||||
"
|
||||
@ -88,9 +87,6 @@ echo -e "
|
||||
echo "- OOMS:"
|
||||
dmesg -T | grep "Out of memory"
|
||||
;;
|
||||
3)
|
||||
nginx -T | egrep "configuration file|server_name"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user