dcsimg

List Processes

September 10, 2009



>>Script Language and Platform: VBScript
This script lists all of the processes on a server.

USAGE:

monitorprocess.vbs c:\process.log Server1

Result is stored in c:\process.log as shown below:

6 ,Process Name= SERVICES.EXE,Process 
  ID=264,Path=C:\WINNT\system32\services.exe
7 ,Process Name= LSASS.EXE,Process 
  ID=276,Path=C:\WINNT\system32\lsass.exe
8 ,Process Name= termsrv.exe,Process 
  ID=376,Path=C:\WINNT\System32\termsrv.exe
9 ,Process Name= svchost.exe,Process 
  ID=508,Path=C:\WINNT\system32\svchost.exe

Author: MAK


Download Script:
monitorprocess.vbs_


Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued


Back to Database Journal Home








The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers