Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .