centos
//查看cpu个数
[root@localhost ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
首先看一下服务列表里有没有这个服务:
systemctl list-unit-files --type=service