You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ? ?? <ws...@unimassystem.com> on 2006/07/07 05:27:42 UTC
Question about cpu usage of tomcat 4.1.30
Hi.
I'm using tomcat 4.1.30 for my web applications.
Here I got a requirement to get the CPU usage of tomcat process
both on windows and unix-liked systems(linux & AIX).
So does tomcat give a API to get this information?
I know it could be done by using JNI to call c program to get
this information, but it is tough for me to program c on linux & AIX,
So I wish tomcat has already done it.
Black thought
Re: Question about cpu usage of tomcat 4.1.30
Posted by Leon Rosenberg <ro...@googlemail.com>.
on *nix system the ps command will do wonder for you.
For windows check http://www.sysinternals.net/
regards
Leon
On 7/7/06, ? ?? <ws...@unimassystem.com> wrote:
> Hi.
>
> I'm using tomcat 4.1.30 for my web applications.
>
> Here I got a requirement to get the CPU usage of tomcat process
> both on windows and unix-liked systems(linux & AIX).
>
> So does tomcat give a API to get this information?
>
>
>
> I know it could be done by using JNI to call c program to get
> this information, but it is tough for me to program c on linux & AIX,
>
> So I wish tomcat has already done it.
>
>
>
>
>
>
>
> Black thought
>
>
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org