要查看 httpd 服务进程的信息,可以使用命令?( )
A: ps
aux|grep httpd
B: ps
-ef|grep httpd
C: lsof
-i:80
D: jobs
| grep httpd
A: ps
aux|grep httpd
B: ps
-ef|grep httpd
C: lsof
-i:80
D: jobs
| grep httpd
举一反三
- 检查httpd服务运行状态的命令是() A: ss -a|grep http B: ss -nutao|grep httpd C: ss -nutap|grep http D: ss -nutap|grep httpd
- 以下()命令可以启动或重启网站服务 A: systemctl<br/>start httpd B: systemctl<br/>restart httpd C: systemctl<br/>start webd D: systemctl<br/>restart webd
- 查看名字中带有sshd字样的进程的CPU占用情况,下面那些命令是可以达成这个目标的(多选)。 A: ps aux| grep sshd B: ps -el |grep sshd C: ps -Af|cut -f sshd D: ps -A|grep sshd
- 要指定终止httpd服务所对应的全部进程,使用()命令比较方便些 A: kill -9 httpd B: killall -9 httpd C: kill httpd D: killall httpd
- 使用systemctl命令查询httpd服务运行状态的命令是() A: systemctl start httpd B: systemctl status httpd C: systemctl stop httpd D: systemctl restart httpd