分类 linux 下的文章

linux查看服务:
一、利用进程来查看
命令里 ps -aux | grep xxx 是查看某个进程或者服务是否存在。
二、利用Systemctl 命令
1.查看单个服务的运行状态:
systemctl status 服务名
如:[root@localhost ~]# systemctl status httpd