Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Process information
#5
This gets working set size. It is the same as in Task Manager, 'Working Set (Memory)' column. Tested on Windows 7 32-bit.

I replaced code of your function because it did not close process handle.

Macro Macro1569
Code:
Copy      Help
out
ARRAY(int) ap
ARRAY(str) an
EnumProcessesEx &ap &an 2
int i
for i 0 ap.len
,out "%-20s %i KB" an[i] process_info(ap[i])


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)