Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Network API

Does anyone know if there's a quick way to get the following info on NT using
the network api:

I'd like to write a component that will, given a server name, get the number
of active connections, memory usage & CPU usage for that server.

I know I could write a component that gets this info locally, and then have
another centralised component to hook in and read the data, but I really
want to be able to do this with just the one component.

Can it be done with the network api?

Thanks
[547 byte] By [Adam Young] at [2007-11-10 0:20:23]
# 1 Re: Network API
www.netfokus.dk/vbadmincode

jc
Adam Young <adam.young@pershing.co.uk> wrote in message
news:38d5fa3b$1@news.dev-archive.com...
>
> Does anyone know if there's a quick way to get the following info on NT
using
> the network api:
>
> I'd like to write a component that will, given a server name, get the
number
> of active connections, memory usage & CPU usage for that server.
>
> I know I could write a component that gets this info locally, and then
have
> another centralised component to hook in and read the data, but I really
> want to be able to do this with just the one component.
>
> Can it be done with the network api?
>
> Thanks
>
Strider at 2007-11-11 20:03:52 >
# 2 Re: Network API
www.netfokus.dk/vbadmincode

jc
Adam Young <adam.young@pershing.co.uk> wrote in message
news:38d5fa3b$1@news.dev-archive.com...
>
> Does anyone know if there's a quick way to get the following info on NT
using
> the network api:
>
> I'd like to write a component that will, given a server name, get the
number
> of active connections, memory usage & CPU usage for that server.
>
> I know I could write a component that gets this info locally, and then
have
> another centralised component to hook in and read the data, but I really
> want to be able to do this with just the one component.
>
> Can it be done with the network api?
>
> Thanks
>
Strider at 2007-11-11 20:04:58 >