Linux常用命令

centos

//查看cpu个数

[root@localhost ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

首先看一下服务列表里有没有这个服务:

systemctl list-unit-files --type=service

 

posted @ 2023-01-13 10:42  舞步林云  阅读(19)  评论(0)    收藏  举报