Re: Naming of a Java Process in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, May 23, 2010 at 10:06 PM, Jatin Davey <jashokda@xxxxxxxxx> wrote:
> Hi
>
> Not a specific question on CentOS but in general about java processes
> running on Linux boxes.
>
> I have a couple of java processes running on my linux boxes , They
> basically form a component of a bigger application. My point of interest
> is to monitor the resource usage of the java processes running on the
> linux box. So currently when i have these procs running on my box they
> 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
> as my monitoring application relies on process names. So what i thought
> was , Is there a solution in linux or the way the JVM is initiated can
> we have process names different for different java processes. To be more
> specific if i have two java processes running in my system , in order to
> identify them properly can i have it running as java_1 or java_2 or
> something in those lines.
>

Use

  ps auxwww

to identify the process, and you can use

  jconsole

(which is bundled with jdk) to monitor.

-- 
      Enjoy global warming while it lasts.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux