missing process in wim32_process

Posted: 07-18-2005, 03:21 PM
Good day every one,
I want to start monitoring some of my compeny custom made application. i
want to monitor there services using win32_process but the thing is that i
can't find any of thouse process listed in win32_process. the process appear
in windows task manager but i can;t see the using wbemtest utiliy. again
thouse process where created by are compeny programers.

Thanks in advance
Oren Zippori


Reply With Quote

Responses to "missing process in wim32_process"

Marty List
Guest
Posts: n/a
 
Re: missing process in wim32_process
Posted: 07-18-2005, 07:48 PM

Try this sample script: (launch it from the command prompt using
CSCRIPT.EXE)


Option Explicit
On Error GoTo 0

Dim objWMI, objItem, colItems

Set objWMI = GetObject("winmgmts:")
Set colItems = objWMI.ExecQuery("SELECT * FROM Win32_Process")
For Each objItem In colItems
WScript.Echo objItem.Name
Next

'http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_process.asp



"Oren Zippori" <orenzp@hotmail.com> wrote in message
news:uHnw5P6iFHA.1464@TK2MSFTNGP14.phx.gbl...
> Good day every one,
> I want to start monitoring some of my compeny custom made application. i
> want to monitor there services using win32_process but the thing is that i
> can't find any of thouse process listed in win32_process. the process
appear
> in windows task manager but i can;t see the using wbemtest utiliy. again
> thouse process where created by are compeny programers.
>
> Thanks in advance
> Oren Zippori
>
>

Reply With Quote
Jon Liu [MSFT]
Guest
Posts: n/a
 
Re: missing process in wim32_process
Posted: 08-26-2005, 01:23 AM
You mention you want to monitor "services". You can also use the
Win32_Services Class to monitors services running on your machine.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Marty List" <usenet@optimumx.com> wrote in message
news:OYq4Bl8iFHA.1232@TK2MSFTNGP15.phx.gbl...
>
> Try this sample script: (launch it from the command prompt using
> CSCRIPT.EXE)
>
>
> Option Explicit
> On Error GoTo 0
>
> Dim objWMI, objItem, colItems
>
> Set objWMI = GetObject("winmgmts:")
> Set colItems = objWMI.ExecQuery("SELECT * FROM Win32_Process")
> For Each objItem In colItems
> WScript.Echo objItem.Name
> Next
>
> 'http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_process.asp
>
>
>
> "Oren Zippori" <orenzp@hotmail.com> wrote in message
> news:uHnw5P6iFHA.1464@TK2MSFTNGP14.phx.gbl...
>> Good day every one,
>> I want to start monitoring some of my compeny custom made application. i
>> want to monitor there services using win32_process but the thing is that
>> i
>> can't find any of thouse process listed in win32_process. the process
> appear
>> in windows task manager but i can;t see the using wbemtest utiliy. again
>> thouse process where created by are compeny programers.
>>
>> Thanks in advance
>> Oren Zippori
>>
>>
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminating Process in Terminal Server Environment Matthias Jarling Windows XP WMI 1 04-05-2005 06:57 PM
how to find modules use in running process 强 Windows XP WMI 1 08-31-2004 09:54 PM
Remote Process Creation with GUI Rick Krause [MSFT] Windows XP WMI 0 06-29-2004 10:45 PM
script to process list of files Torgeir Bakken \(MVP\) Windows XP WMI 0 06-20-2004 11:40 PM
Task Manager process Ben Windows XP Accessibility 0 07-11-2003 07:32 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90