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

Re: Java and ps - NPTL?



> However, 'ps' does not seem to catch this fact. If my app is running for a
> day, which would use many minutes of processing time, ps usually reports
> 0:00 or 0:01 total processing time.

I'm not seeing this with ps although with snmp the host resources mib
reports usually zero values which isn't the case. I haven't had the time
to take a closer look at what net-snmp does wrong. I think it just parses
the output of /proc/pid/... or something.

% ps ax|grep java
31116 ?        S    42547:53 /usr/lib/jvm/java/bin/java -server ...
% ps -ef|grep java
tomcat4  31116     1 93 Jan24 ?        29-13:07:51 /usr/lib/jvm/java/bin/java..

% uname -srvmpi
Linux 2.4.22-1.2138.nptlsmp #1 SMP Mon Jan 5 11:02:24 EST 2004 i686 i686 i386
% rpm -q glibc
glibc-2.3.2-101



// kaj




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