Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Re: easy one - how many instances of a process are running?

Reply
Thread Tools Display Modes

Re: easy one - how many instances of a process are running?

 
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      10-16-2008

"Keith" <> wrote in message
news:09361ed5-c8ea-4142-8a08-...
>I need a script that will tell me how many instances of a process, in
> my case excel.exe, are currently running. I need to call the script
> from our server monitoring app, so a .bat command file should work
> fine. Anyone?


Easy indeed - standard Command Line stuff:
tasklist | find /i /c "Excel.exe"


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Miltiple Instances of 1 Program Simultaneously Dave Head Windows Vista General Discussion 0 04-29-2009 02:02 PM
Running multiple instances of an application DocAtom Windows Vista General Discussion 7 02-14-2008 02:22 PM
2 Instances of IE running KWilson Windows Vista General Discussion 4 08-30-2007 11:14 PM
Focus when using alt+tab running multiple instances of IE7 Microtom Internet Explorer 5 11-28-2006 09:16 PM
Several instances of msnappau.exe running. Gunilla Windows MSN Messenger 0 12-05-2004 09:49 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