How do I know if my ubuntu server needs a restart?

A file at /var/run/reboot-required is created that's used at login to tell you a restart is needed in the MOTD. You can check for »