Peter Lin wrote:
to elaborate a bit more my thoughts on the kind of stats would be
useful from a monitoring perspective
* system load
* system freeram
* system total ram
* system free ram
* open connections
* # of connections timed_wait
I'm sure are other stats that are useful. A combination of the
to elaborate a bit more my thoughts on the kind of stats would be
useful from a monitoring perspective
* system load
* system freeram
* system total ram
* system free ram
* open connections
* # of connections timed_wait
I'm sure are other stats that are useful. A combination of the
existing stats
hehe, well if it was just a simple JNI calling sysinfo, I would agree
it would have limited lifespan. But considering how slow some people
move, it would last atleast 3-4 years, which is still useful in my
mind.
given that mladen is working on apr-java, I would say it is more
useful and would have
Peter Lin gmail.com> writes:
>
> right it is available in JDK5, but not everyone can use jdk5 :(
>
> I know plenty of people who are still using jdk1.3.1 and plenty are
> just moving to jdk1.4.2 now.
>
> many of the features are available in jdk5, but I believe what mladen
> is working on is b
right it is available in JDK5, but not everyone can use jdk5 :(
I know plenty of people who are still using jdk1.3.1 and plenty are
just moving to jdk1.4.2 now.
many of the features are available in jdk5, but I believe what mladen
is working on is beyond what jdk5 provides. I've only looked at so
Peter Lin gmail.com> writes:
>
> that sounds like a good idea :)
>
> look forward to trying it out once mladen checks in the code.
>
> peter
>
isn't what you are looking to do already available through the new 5.0 version
jvm itself?
startup tomcat with the additional jvm switch
-Dcom.sun.
uire any JNI ...
> >>
> >>Yes, there are a lot of ways to workaround java limitations. /proc is
> >>one. But even on linux, a lot is not exposed via /proc, but ioctl.
> >>I guess the goal is not to implement sysinfo, but have a way to get more
> >>platfor
tform-specific features.
Costin
-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 10:04 AM
To: Tomcat Developers List
Subject: Re: adding features to Status servlet
sysinfo on unix/linux should be pretty easy. I've used windows
performance st
s platform-specific features.
>
> Costin
>
>
> >
> > -Original Message-
> > From: Peter Lin [mailto:[EMAIL PROTECTED]
> > Sent: Monday, January 03, 2005 10:04 AM
> > To: Tomcat Developers List
> > Subject: Re: adding features to Status servlet
>
ement sysinfo, but have a way to get more
platform-specific information and access platform-specific features.
Costin
-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 10:04 AM
To: Tomcat Developers List
Subject: Re: adding features to Status se
Why don't you check in some of this to j-t-c or some 'proposal' area ?
AFAIK apr has a lot of functionality, but not everything is included.
It would be nice if it is not limited to apr.
Usually with JNI the hardest part is to build, distribute and then set
it up and debug ld_library_path issues.
hey mladen,
is apr-java available in the normal APR distribution?
peter
On Mon, 03 Jan 2005 15:55:44 +0100, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Peter Lin wrote:
> > that sounds great. does it have support for sysinfo? if it does, I'll
> > try using your apr-java package.
> >
>
> No, bu
Mladen Turk wrote:
Peter Lin wrote:
I'm thinking of adding system load stats to the status servlet. What
do other's think about it? It would use JNI to call a native lib and
it would only work on unix, but it would be good to have.
Well, I'm working over a year now on a project that I've called
ap
For systems with a /proc file system with these statistics, this doesn't
require any JNI ...
-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 10:04 AM
To: Tomcat Developers List
Subject: Re: adding features to Status servlet
sysinfo on
sysinfo on unix/linux should be pretty easy. I've used windows
performance stats before when i tried to write the equivalent of the
status servlet for IIS. I will try to write an exe named sysinfo that
spits out similar performance stats.
how can I help mladen?
peter
On Mon, 03 Jan 2005 15:55:
Peter Lin wrote:
that sounds great. does it have support for sysinfo? if it does, I'll
try using your apr-java package.
No, but it's up to us to decide what will go inside.
APR is included, but I wish to leave that as open as
it could be.
It already have win32.c,unix.c and netware.c files
for plat
that sounds great. does it have support for sysinfo? if it does, I'll
try using your apr-java package.
peter
On Sat, 01 Jan 2005 15:18:39 +0100, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Costin Manolache wrote:
> >>
> >> Well, I'm working over a year now on a project that I've called
> >> apr-ja
Costin Manolache wrote:
Well, I'm working over a year now on a project that I've called
apr-java. This is a thin (for now) wrapper around apr and apr-utils,
so it will be supported on all platforms the apr is.
BTW - it would be really great if it would use the SWT model, i.e. JNI
methods matching
Mladen Turk wrote:
Peter Lin wrote:
I'm thinking of adding system load stats to the status servlet. What
do other's think about it? It would use JNI to call a native lib and
it would only work on unix, but it would be good to have.
Well, I'm working over a year now on a project that I've called
ap
Peter Lin wrote:
I'm thinking of adding system load stats to the status servlet. What
do other's think about it? It would use JNI to call a native lib and
it would only work on unix, but it would be good to have.
Well, I'm working over a year now on a project that I've called
apr-java. This is a th
As implementation - I assume you weren't going to add a native
method and a .so library to the standalone tomcat distribution :-)
Adding capability to StatusServlet to report arbitrary mbean attributes
would make this feature easy to add ( there is some code in
JmxProxyServlet - but it it would be
that's why I decided it was a good idea to ask for other's thoughts.
>From a stress testing perspective, I find system load stats very
valuable. breaking tomcat isn't something I find desirable either, but
there has to be a better way to measure system load other than ssh
into the server and use to
I would personally have some reservations about doing this... It's a
little better if it's a module you can activate and deactivate, but still...
First, if it's not something you can do cross-platform, I'm not sure I'd
like it. AFAIK Tomcat is nicely cross-platform now, anything that
breaks th
it could be a separate module. It definitely should use MBean. In
terms of getting the CPU load stats, I was thinking of calling the
standard sysinfo loads[].
Is there some other way of getting the system load stats? or CPU
stats? that doesn't require calling native code?
peter
On Fri, 31 Dec 2
Peter Lin wrote:
I'm thinking of adding system load stats to the status servlet. What
do other's think about it? It would use JNI to call a native lib and
it would only work on unix, but it would be good to have. I would also
update JMeter in the process to display the system load average.
peter li
I'm thinking of adding system load stats to the status servlet. What
do other's think about it? It would use JNI to call a native lib and
it would only work on unix, but it would be good to have. I would also
update JMeter in the process to display the system load average.
peter lin
26 matches
Mail list logo