Search
Calendar
November 2019
S M T W T F S
« Sep    
 12
3456789
10111213141516
17181920212223
24252627282930
Your widget title
Archives

PostHeaderIcon Equivalent of ‘ps’ in MS-DOS

What is the equivalent of Unix’ ps in MS-DOS, to be used in a .BAT script?

Let’s use %tasklist%.
eg:

tasklist /fi "IMAGENAME eq java.exe" /FI "MEMUSAGE gt 100000"
Image Name                   PID Session Name     Session#    Mem Usage
========================= ====== ================ ======== ============
java.exe                    9972 Console                 0    212,932 K
java.exe                    9640 Console                 0    219,328 K
java.exe                   11040 Console                 0    213,432 K
java.exe                   11144 Console                 0    214,232 K\

Leave a Reply