Linux troubleshooting
2014-04-09 21:45
246 查看
netstat -anop
pstree
ps -ef |grep
systemctl start httpd.service
restart a process: dhcpd
no need: service dhcpd restart
if it show: redirecting to /bin/systemctl restart dhcpd.service 表示这个系统dhcpd服务是没有被特别的运行
有时可能会出现:
[root@localhost ~]# service dhcpd status
Redirecting to /bin/systemctl status dhcpd.service
dhcpd.service - DHCPv4 Server Daemon
Loaded: loaded (/lib/systemd/system/dhcpd.service; enabled)
Active: failed since Wed, 09 Apr 2014 21:37:17 +0800; 1min 17s ago
Process: 2367 ExecStart=/usr/sbin/dhcpd -d -user dhcpd -group dhcpd --no-pid $DHCPDARGS (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/dhcpd.service
[root@localhost ~]#
的错误,这个是很正常的。表示是说这个dhcpd服务没有以独立的服务运行,是以守护进程的方式出现的。
如果是要结束进程的话
kill -s 9 pgrep dhcpd
重启进程:
dhcpd
pstree
ps -ef |grep
systemctl start httpd.service
restart a process: dhcpd
no need: service dhcpd restart
if it show: redirecting to /bin/systemctl restart dhcpd.service 表示这个系统dhcpd服务是没有被特别的运行
有时可能会出现:
[root@localhost ~]# service dhcpd status
Redirecting to /bin/systemctl status dhcpd.service
dhcpd.service - DHCPv4 Server Daemon
Loaded: loaded (/lib/systemd/system/dhcpd.service; enabled)
Active: failed since Wed, 09 Apr 2014 21:37:17 +0800; 1min 17s ago
Process: 2367 ExecStart=/usr/sbin/dhcpd -d -user dhcpd -group dhcpd --no-pid $DHCPDARGS (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/dhcpd.service
[root@localhost ~]#
的错误,这个是很正常的。表示是说这个dhcpd服务没有以独立的服务运行,是以守护进程的方式出现的。
如果是要结束进程的话
kill -s 9 pgrep dhcpd
重启进程:
dhcpd
相关文章推荐
- Linux 服务器故障排除的前五分钟 (First 5 Minutes Troubleshooting A Linux Server)
- Linux Server Hacks, Volume Two: Tips & Tools for Connecting, Monitoring, and Troubleshooting
- Linux 服务器故障排除的前五分钟 (First 5 Minutes Troubleshooting A Linux Server)
- Linux Troubleshooting Bible
- Linux 服务器故障排除的前五分钟 (First 5 Minutes Troubleshooting A Linux Server)
- Linux 服务器故障排除的前五分钟 (First 5 Minutes Troubleshooting A Linux Server)
- Linux 服务器故障排除的前五分钟 (First 5 Minutes Troubleshooting A Linux Server)
- Linux(R) Troubleshooting for System Administrators and Power Users
- Peeking into Linux kernel-land using /proc filesystem for quick’n’dirty troubleshooting
- Linux TroubleShooting
- Troubleshooting a high system CPU usage issue on Linux/Solaris
- linux system troubleshooting
- RedHat Linux Troubleshooting系统启动部分概要
- Peeking into Linux kernel-land using /proc filesystem for quick’n’dirty troubleshooting
- DB2 Linux, Unix and Windows HADR Simulator use case and troubleshooting guid
- Linux troubleshooting tools
- Hack and / - Linux Troubleshooting
- RAID on Linux: tuning and troubleshooting, v. 2.65
- RedHat Linux Troubleshooting系统启动部分概要
- Linux Network Troubleshooting