How can this be accomplished?

Can't find much via SO or the net.

Found plenty on the suspend/etc. Curious as to how to do this.

Thanks.