Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Writing Process List To File

Featured Replies

Topic says it all. In VMware (haven't tested it on a real PC yet) my uA disk gives me an out of Virtual Memory error, which is :realmad:. Anyway, is there a way to write a list of running processes to a local text file? I'm installing everything from T-12 so I can't check Task Manager. ;)

Another q, any way on starting and stopping services with batch files?

Tnx in advance!


tasklist > file.txt

wmic /output:file.txt process get name

pslist > file.txt

and lot more...

Probably best for debugging is command

wmic /output:file.txt process list full

  • Author

Thanks! But I have windows XP Home Edition though, so the wmic won't work.

Never worked with Home edition, but AFAIR there isnt wmic and tasklist... In that case just include pslist or any 3rd party cmd utility to list processes...

Or create process.vbs and type following inside:

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Process",,48)
For Each objItem in colItems
   Wscript.Echo "Caption: " & objItem.Caption
   Wscript.Echo "CommandLine: " & objItem.CommandLine
   Wscript.Echo "CreationClassName: " & objItem.CreationClassName
   Wscript.Echo "CreationDate: " & objItem.CreationDate
   Wscript.Echo "CSCreationClassName: " & objItem.CSCreationClassName
   Wscript.Echo "CSName: " & objItem.CSName
   Wscript.Echo "Description: " & objItem.Description
   Wscript.Echo "ExecutablePath: " & objItem.ExecutablePath
   Wscript.Echo "ExecutionState: " & objItem.ExecutionState
   Wscript.Echo "Handle: " & objItem.Handle
   Wscript.Echo "HandleCount: " & objItem.HandleCount
   Wscript.Echo "InstallDate: " & objItem.InstallDate
   Wscript.Echo "KernelModeTime: " & objItem.KernelModeTime
   Wscript.Echo "MaximumWorkingSetSize: " & objItem.MaximumWorkingSetSize
   Wscript.Echo "MinimumWorkingSetSize: " & objItem.MinimumWorkingSetSize
   Wscript.Echo "Name: " & objItem.Name
   Wscript.Echo "OSCreationClassName: " & objItem.OSCreationClassName
   Wscript.Echo "OSName: " & objItem.OSName
   Wscript.Echo "OtherOperationCount: " & objItem.OtherOperationCount
   Wscript.Echo "OtherTransferCount: " & objItem.OtherTransferCount
   Wscript.Echo "PageFaults: " & objItem.PageFaults
   Wscript.Echo "PageFileUsage: " & objItem.PageFileUsage
   Wscript.Echo "ParentProcessId: " & objItem.ParentProcessId
   Wscript.Echo "PeakPageFileUsage: " & objItem.PeakPageFileUsage
   Wscript.Echo "PeakVirtualSize: " & objItem.PeakVirtualSize
   Wscript.Echo "PeakWorkingSetSize: " & objItem.PeakWorkingSetSize
   Wscript.Echo "Priority: " & objItem.Priority
   Wscript.Echo "PrivatePageCount: " & objItem.PrivatePageCount
   Wscript.Echo "ProcessId: " & objItem.ProcessId
   Wscript.Echo "QuotaNonPagedPoolUsage: " & objItem.QuotaNonPagedPoolUsage
   Wscript.Echo "QuotaPagedPoolUsage: " & objItem.QuotaPagedPoolUsage
   Wscript.Echo "QuotaPeakNonPagedPoolUsage: " & objItem.QuotaPeakNonPagedPoolUsage
   Wscript.Echo "QuotaPeakPagedPoolUsage: " & objItem.QuotaPeakPagedPoolUsage
   Wscript.Echo "ReadOperationCount: " & objItem.ReadOperationCount
   Wscript.Echo "ReadTransferCount: " & objItem.ReadTransferCount
   Wscript.Echo "SessionId: " & objItem.SessionId
   Wscript.Echo "Status: " & objItem.Status
   Wscript.Echo "TerminationDate: " & objItem.TerminationDate
   Wscript.Echo "ThreadCount: " & objItem.ThreadCount
   Wscript.Echo "UserModeTime: " & objItem.UserModeTime
   Wscript.Echo "VirtualSize: " & objItem.VirtualSize
   Wscript.Echo "WindowsVersion: " & objItem.WindowsVersion
   Wscript.Echo "WorkingSetSize: " & objItem.WorkingSetSize
   Wscript.Echo "WriteOperationCount: " & objItem.WriteOperationCount
   Wscript.Echo "WriteTransferCount: " & objItem.WriteTransferCount
Next

Then just call this script by

cscript //nologo process.vbs

BTW Exclude everything U dont want to see of course

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.