Geert G
asked on
list processes cpu, memory of certain programs and users
I'm looking to list info from specific processes by certain users with wmic from a command line on a win2K8R2.
so far, i have this:
wmic /output:wmic_processes.csv process WHERE name="scheduler_05_24_16_x 32.exe" list BRIEF /format:csv
output:
now how can i attach the username to this process in this csv file?
so far, i have this:
wmic /output:wmic_processes.csv
output:
Node,HandleCount,Name,Priority,ProcessId,ThreadCount,WorkingSetSize
SERVERNAME,197,scheduler_05_24_16_x32.exe,8,10580,5,870723584
SERVERNAME,197,scheduler_05_24_16_x32.exe,8,11184,5,966139904
SERVERNAME,196,scheduler_05_24_16_x32.exe,8,10800,5,938405888
SERVERNAME,199,scheduler_05_24_16_x32.exe,8,11096,5,954155008
SERVERNAME,196,scheduler_05_24_16_x32.exe,8,9492,5,133869568
now how can i attach the username to this process in this csv file?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
http://www.computerhope.com/wmic.htm
look for username down near the bottom