-
High System CPU usage
After upgrading a webserver running Apache to Debian Jessie (from Wheezy), I noticed that the system CPU usage was higher. Running an strace on one of the Apache processes was giving me very little info: strace -c -p 10112 Process 10112 attached – interrupt to quit ^CProcess 10112 detached % time seconds usecs/call calls errors…
-
linux disk usage not adding up
-
Checking for the existence of domains from commandline in Bash
-
Unix find, xargs and basename.
-
Munin: Could not open required defaults file: /root/.my.cnf
For some reason I kept getting this error (even when the file was readable by all) in one of the munin (mysql slave) plugins that I had written. So this was the solution that worked for me; under the [mysql*] section in /etc/munin/plugin-conf.d/munin-node I added this: env.mysqlopts -u{user} -p{password} and in my plugin I did…
-
Fixing: “unknown terminal type” in shell