Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running Lubuntu 11.10 and the package installs dhclient. Everything seems to work fine except that it keeps logging huge amounts of unnecessary dhclient status messages (several per second, every second) into the syslog file. This must be using up a large part on my CPU and disk resources.

How do I stop it from logging these messages?

I've looked at the /etc/dhcp/dhclient.conf configuration file but can't see how I could turn off the syslog messages.

Also, where is the startup file that actually runs the dhclient daemon? I've read that one can use the -g option to reduce message logging but this needs to be done in the commandline — I can't see where Lubuntu actually starts this daemon at boot-up (can't find it in the /etc/init.d/ directory).

share|improve this question

1 Answer 1

From Stop dhclient manually – Ubuntu Launchpad

Stopping a process is easy:

  1. Identity the process id (pid) with the ps ax command (number in first column)

    ps ax | grep [d]hcli
    
  2. Send it a polite request to clean up and terminate:

    sudo kill pid f
    
  3. Do step 1 again, and if it still exists, blast it off the system:

    sudo kill -9 pid
    
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.