add more info about node

This commit is contained in:
Сергей Гудаев 2023-04-13 01:18:25 +08:00
parent a34b198f2c
commit 99a27117c2
2 changed files with 10 additions and 0 deletions

View File

@ -335,6 +335,15 @@ cmd["35 virsh"]="\"pvdisplay\"";
cmd["36 virsh"]="\"vgdisplay\"";
cmd["37 packages"]="\"yum repolist\"";
cmd["38 packages"]="\"yum history list\"";
cmd["39 mem"]="\"ps -eo pmem,pcpu,pid,ppid,user,stat,args | sort -k 1 -r | head -6\"";
cmd["40 hwinfo"]="\"ps -eo pcpu,pmem,pid,ppid,user,stat,args | sort -k 1 -r | head -6\"";
cmd["41 services"]="\"systemctl status libvirtd-ro.socket -l\"";
cmd["42 services"]="\"systemctl status libvirtd-admin.socket -l\"";
cmd["43 services"]="\"systemctl status libvirtd.socket -l\"";
cmd["44 services"]="\"systemctl status libvirtd.service -l\"";
cmd["44 services"]="\"systemctl list-units"\";
cmd["45 hwinfo"]="\"sestatus"\";
for k in "${!cmd[@]}";do
typelog=$(echo $k | cut -d ' ' -f2);

View File

@ -6,5 +6,6 @@ port=$2
user_ru="support@ispsystem.ru";
user_com="support@ispsystem.com";
is_admin=1;
user_acl="";
echo $key $user_ru $user_com $is_admin
username="s.gudaev@ssh.ispsystem.net"