17 March 2009

Get list of processes for a user on Solaris

This command will return a list of running processes for the specified user on Solaris:

ps -fu user_name | grep process_name

Once you have the process ID, run this command to kill it:

kill -9 process_id

This came in handy when Firefox hung up on Solaris' XWindows.

No comments: