Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: easy one - how many instances of a process are running?

HTVi
TV Discussion Newsgroups

easy one - how many instances of a process are running?
Keith <kstay1[ at ]nycap.rr.com> 10/16/2008 3:34:15 PM
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?
Re: easy one - how many instances of a process are running?
"Pegasus \(MVP\)" <I.can[ at ]fly.com.oz> 10/16/2008 4:41:47 PM

"Keith" <kstay1[ at ]nycap.rr.com> wrote in message
news:09361ed5-c8ea-4142-8a08-6407f609eb24[ at ]y79g2000hsa.googlegroups.com...
[Quoted Text]
>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"


Re: easy one - how many instances of a process are running?
Keith <kstay1[ at ]nycap.rr.com> 10/16/2008 5:02:54 PM
On Oct 16, 12:41 pm, "Pegasus \(MVP\)" <I....[ at ]fly.com.oz> wrote:
[Quoted Text]
> "Keith" <kst...[ at ]nycap.rr.com> wrote in message
>
> news:09361ed5-c8ea-4142-8a08-6407f609eb24[ at ]y79g2000hsa.googlegroups.com...
>
> >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"

Very nice - thanks.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen