centos指令级

ps -ef|grep lems   ps是将某个进程显示出来    中间的|是管道符 分割两个命令   grep是正则表达式去匹配名称,将匹配的打印出来

systemctl --type=service | grep AiLink5gs | grep 'running' | wc -l 统计运行的进程数量有多少

systemctl --type=service | grep AiLink5gs | grep -i failed 统计程序启动失败的进程数量有多少

arp绑定ip和mac地址的命令:

arp -s 4.4.4.4 00:0c:29:54:3b:d9

rpm -ivh  安装rpm包

yum install不能用了原因是libnghttp2.so.14

找一个能用yum install 的把libnghttp2.so.14的考到./usr/local/lib/libnghttp2.so.14下面然后运行ldconfig就可以用了

 

zabbix客户端自定义键值文件的路径:

/etc/zabbix/zabbix_agentd.d/userparameter_nginx.conf里面

 

后台运行程序:

nohup ./5gs_ums_agent &

posted @ 2021-11-18 17:11  Russ_Cox  阅读(39)  评论(0)    收藏  举报