License Public Domain
Lines 3
Average
n/a
Rated
0
Times
5
4
3
2
1
0
Keywords
wmi (1)
Permissions
Owner: Steven
Viewable by Everyone
Editable by Steven
Hide
Siafoo is here to make coding less frustrating and to save you time. Join Siafoo Now or Learn More

wmi based process dumper for python Atom Feed

In Brief Lists the full command line, process id, and owner username for all processes running on the system. Uses Tim Golden's WMI wrapper for python: http://timgolden.me.uk/python/wmi.html
# 's
1import wmi
2for i in wmi.WMI().Win32_Process():
3 print "%s, %s, %s" % (i.CommandLine, i.ProcessId, i.GetOwner()[2])

Lists the full command line, process id, and owner username for all processes running on the system. Uses Tim Golden's WMI wrapper for python: http://timgolden.me.uk/python/wmi.html