Re: java processes on linux - any way to get to the app name?
"Matt Kime" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
That certainly works but there's something that confuses me about it. I can find javamonitor or wotaskd with this method. Yet if I output the results of 'ps auxwww' to a text file and search for either name, I come up empty. I can find my own app because of the /path/to/log. at any rate, i'm getting a much better handle on this. thanks. --matt > The big ps way: do ps auxwww | grep -i <appname>, where appname is > the name of your application. This will list all your application > instances. Assuming you have logging enabled (if not, why not?), you > can look in the huge command line for each application to see the > instance number appended to the log file name, /path/to/log/appname-1 > for example.