Find The Biggest CPU Hog  

Is a certain process running your CPU right into the ground? How do you find said process without picking your way through the ps aux results? With this command:

ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d' which point you can kill it with:

sudo kill -9
Fix NFS ID issues  

NFS4 mount shows all ownership as "nobody" or 4294967294


An NFS client is successfully mounting an NFS v4 file system.  However, upon executing "ls -al," all the file user and group ownership is showing as "nobody" or as "4294967294", instead of the values that are shown when viewed directly on the remote NFS server.


In NFS v4, the idmap daemon (idmapd) is in charge of translating names to IDs and vice versa.  Unlike previous versions of NFS, which submitted IDs numbers over the wire, NFS v4 submits names.  The name could have a different ID on each system.

Check the /etc/idmapd.conf file.  The [General] section should have a Domain setting.  This typically matches the DNS domain name, but does not necessarily have to.  However, it would be best if all NFS servers and NFS clients that were going to interact showed the same domain name.

It is also best for there to be a [Translation] section which specified the method of translating between names and IDs.  Typically, it is best to point to nsswitch methodology.

Both the NFS server and the NFS client must run idmapd and have good idmapd.conf files.

So, for example, a typical idmapd.conf file might look like the following:




If changes are made to this file on any system, or if a systems is already configured this way and still does not function correctly, try restarting idmapd.  On some versions of Ubuntu this can be done with:

service idmapd restart
/etc/init.d/nfs-kernel-server restart
Fix Outlook Certificate Warning  
Outlook will warn you when the common name on your ssl certificate and the name of the mail server do not match:

The target principal name is incorrect.

To fix this create a new ssl certificate with the same common name (CN - second to last question) as the server your using. ie

Page 5 of 15