get the full command of a process on solaris

Stromectol Online Buy Amoxil Glucotrol Online Buy Stromectol Clarinex Online Buy Nexium Cymbalta Online Buy Hoodia Antabuse Online Buy Erythromycin

the commands ps and top are commonly used on unix/linux to show information about the processes currently running on a system. however, if the command that started a specific process is very long, it will be chopped off at the end, so that you will only see the meaningless first part of it. this can be annoying sometimes, when you want to know in detail which command was used to start some process. so how do you get the full command?

first, i found out that using ps -ef will show a bit more of the command, but still not everything. so i looked further and finally found a solution that does what i want (only on solaris, though): use /usr/ucb/ps -auxww . you’ll probably want to use grep to display only a specific process, so the command would look like this:

/usr/ucb/ps -auxww | grep tomcat

thanks to robert maldon for blogging this!


About this entry