Saturday, September 18, 2010

Graceful OSX Shutdown from command line

If you use shutdown -h now running GUI programs will be forced to close. To tell them to close use
osascript -e 'tell application "System Events"' -e 'shut down' -e 'end tell'
Credit :

No comments:

Some usages of jstat

-gcutil $ jstat -gcutil This command shows utilization percentage of memory spaces of a java process. S0: Survivor space 0 S1 : Surviv...