Open main menu

CDOT Wiki β

Changes

NAD710 Lab 2

240 bytes added, 17:10, 11 September 2008
Stopping DHCP Client
root <font color="red">2030</font> 1 0 15:23 ? 00:00:00 /sbin/dhclient -1 -q -lf
/var/lib/dhclient/dhclient-eth2.leases -pf /var/run/dhclient-eth2.pid eth2
* If the command produces nothing, DHCP client is not running on your system. The number in red (I highlighted it here, the actual output shows no color) is the process number of the DHCP client process. You can use the following "kill" command to try to terminate it:
[root@host-a ~]# kill -15 2030
* Type the following command again to see whether the DHCP client is still running or not:
[root@host-a ~]# ps -ef | grep dhclient |grep -v grep
* If the dhclient still shows up, try the following:
[root@host-a ~]# kill -9 2030
=Procedure=
1
edit