[CentOS] Naming of a Java Process in Linux

Mon May 24 15:05:16 UTC 2010
Hakan Koseoglu <hakan at koseoglu.org>

Jatin,

On 24 May 2010 06:06, Jatin Davey <jashokda at cisco.com> wrote:

> show up as "java" in the ps -A command. I dont know for sure as to which
> java process belongs to which component of my appliacation. Hence what i
> do is add up all the resource utilization values for all java processes
Add a -Darbitrary_string into your java commands.

Unless you are very unlucky with your arbitrary string, these will be
passed to the java engine as parameters and will be ignored by the
rest of the application. Then you can use this to pin the process in
ps output.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org