Friday, March 23, 2012

Right side of OS X menu bar frozen, take two

So there's a command line solution to a frozen right side menu bar in OS X that I posted about a while back. You can also fix it using a gui if you are so inclined.

1. Open Activity Monitor from /Applications/Utilities
2. Find process name SystemUIServer
3. Click Quit then Force Quit

Right side of menu bar should now restart

Saturday, March 10, 2012

Command line mailing in Linux

Mail a file with a subject and attach a file.

mail -s "Subject goes here" 'email addresses here, comma separated if more than one' < /path/to/filetoattachment

Thursday, March 8, 2012

/var/audit filling with files on OS X

Coworker discovered that installed antivirus software enabled auditing, for real time auto-protect, which results in /var/audit filling up with files. Details about the configuration file and related commands can be found here:

https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man5/audit_control.5.html