terminal goodness
Trying to add to my knowledge of Unix via the terminal window in OSX - here are some handy tools for troubleshooting a cranky mac. Thanks to Randy for showing me!
ps -ax|grep {app name}
will return information about the application, provided it is running, most importantly the PID. Knowing the PID you can execute the following
kill {PID}
perfoms an old school force quit
ps -axug
lists all process on the system currently holding a PID - doesn't mean the process is running though
top -i 1
pretty much the same as process explorer on the windows side (or the process tab in task manager) refreshes top process based on cpu% every second in this example
so there you go nothing ground breaking, but handy nuggets for the uniformed.
jason
ps -ax|grep {app name}
will return information about the application, provided it is running, most importantly the PID. Knowing the PID you can execute the following
kill {PID}
perfoms an old school force quit
ps -axug
lists all process on the system currently holding a PID - doesn't mean the process is running though
top -i 1
pretty much the same as process explorer on the windows side (or the process tab in task manager) refreshes top process based on cpu% every second in this example
so there you go nothing ground breaking, but handy nuggets for the uniformed.
jason
<< Home