Monday, June 9, 2008

use ps to display full listing of the executable on solaris

Ever Wondered of a way to find out the full path details of a executable by using its PID.. if you use ps -ef | grep xyz.. it would give you truncated results...This full path detail which normally includes classpath if the process is a java program is very useful during debugging purposes...

#/usr/ucb/ps -auwww does the trick.. Keep this guy in your solaris repertoire.


~Njoy

No comments: