Willy,
if you look at the task manager you see the memory usage column.
but in the "win32_process" i don't see how to find the actual memory ussage
of the process.
[quoted text, click to view] "Willy Denoyette [MVP]" wrote:
> "auldh" <auldh@discussions.microsoft.com> wrote in message
> news:A6ECC4F9-164D-49D4-8432-51307EDE6EA4@microsoft.com...
> >i have need to build a program in C# that will collect specific data for a
> > service on remote machines.
> >
> > i see how i can use "win32_process" to get threadcount and handlecount of
> > a
> > service. but i don't see how to get the memory usage as seen in the task
> > manager.
> >
> > i have a service that runs on multiple servers. i need to get a snap shot
> > of
> > the services: threadcount, handlecount and memory usages.
> >
> > i like it so that the program runs on one machine and then polls those
> > machines i specify and write the data to the file.
> >
> > the help i need is how to get a remote machine memory usage of a give
> > service?
>
>
>
> Don't know exactly what "memory" you are looking for but Win32_Process has
> all memory related properties you need.
>
>
> Willy.
>
[quoted text, click to view] "auldh" <auldh@discussions.microsoft.com> wrote in message
news:A6ECC4F9-164D-49D4-8432-51307EDE6EA4@microsoft.com...
>i have need to build a program in C# that will collect specific data for a
> service on remote machines.
>
> i see how i can use "win32_process" to get threadcount and handlecount of
> a
> service. but i don't see how to get the memory usage as seen in the task
> manager.
>
> i have a service that runs on multiple servers. i need to get a snap shot
> of
> the services: threadcount, handlecount and memory usages.
>
> i like it so that the program runs on one machine and then polls those
> machines i specify and write the data to the file.
>
> the help i need is how to get a remote machine memory usage of a give
> service?
Don't know exactly what "memory" you are looking for but Win32_Process has
all memory related properties you need.
Willy.