Checking for idleness from the commandline

I was looking for some way to tell if a remote machine was idle from the commandline and I stumbled across this snippet on Mac OS X Hints.

ioreg -c IOHIDSystem | awk ‘/HIDIdleTime/ {print $NF/1000000000; exit}’

returns a time in seconds and fractions thereof, ie 4.00711

HFSDebug 4.0 released

The ultimate Mac OS X hacker, Amit Singh (last I heard, snapped up by Google) has released a new version of his HFSDebug tool (that’s a commandline tool folks :).
The new version has more features to do with hard links and hard link chains, new filters, component-wise path lookup from scratch, and is now Snow Leopard compatible (even if it is still only a PPC binary running under Rosetta 🙂
via MWJ

Sun xVM VirtualBox 1.6 available for Mac OS X

Sun’s open source virtualization package xVM VirtualBox is out of beta for Mac OS X and available for download. Note that it can’t currently host Mac OS X (aside from the licensing issues that only allow you to virtualize Mac OS X Server). According to ZDNet Sun sells a commercial version with USB support and an RDP server.
If you download it and can’t open the archive you may need to remove the ‘.bz2’ from the end of the filename.

Apple Java job

From Apple’s java mailing list: 


We are looking for a talented, passionate and motivated engineer to join the Java team.  Java expertise, of course, is important, but C and Objective-C (Cocoa) are also essential since you will be working on the frameworks underneath AWT and Swing.  If you or anyone you know is interested, please do apply.  This is an opportunity to have a serious impact on the Mac OS X Java implementation, and start a career at Apple.You can find out more by clicking this link, or by searching for Requisition ID 3489430.