Hi,

If you ask how to find that info from within a servlet environment...
I think you need to call (execute) OS specific utilities, if  they
are available on your operating system (where servlet engine runs).

For that see apidoc for java.lang.Runtime class.

Hopefully someone will provide java compiled libraries to handle these
problems.

However "logged in users" is a vague statement.. logged where? you can have
databases, os, nt domain, httpd realm(s) and virtual hosts, telnet, servlet
contexts, app servers, networked games, chat rooms, and so on.

Cezar

On Sun, 2 May 1999, Denis Bucher wrote:

> Hello !
>
> How to know the CPU Load of the system ? load = new System.CPULoad(); ??????
>
> If someone have some other information like how to know the number of logged
> users, and so on, I would be interested too...
>
> Thank you :-)
>
> Denis
>
> --
>
> Denis Bucher,   /  [EMAIL PROTECTED]       T�l. +41-22-8000625   \  Internet
> Horus Networks /  horus-networks.com    Fax: +41-22-8000622   \  Services
>               /  http://www.horus.ch   US Fax: (508) 437-1261  \  Provider
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>


Cezar Totth                             email:  [EMAIL PROTECTED]
                                        Fax:    (401) 220 33 95
Genesys Software Romania                Phone:  (401) 638 49 44
Stefan Furtuna 169, sect.6
cod 77171, Bucharest
Romania

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to