HeapMon Main Topic
HeapMon Syntax
heapmon [-?] [-1] [-p id] [-t | -a | -f | -d | [-u | -b]] [-( | -)] [-e] [-l]
Where:
- -?
- displays this message.
- -1
- specifies to monitor the Win32 subsystem
- -p id
- specifies the process id to monitor. Default is to monitor the Win32 subsystem.
- -t
- sorts output by tag name.
- -a
- sorts output by #allocations.
- -f
- sorts output by #frees.
- -d
- sort output by #allocations - #frees.
- -u
- sorts output by bytes used.
- -b
- sorts output by bytes used; same as -u.
- -(
- Changes #allocations and #frees above to be #bytes allocated and freed.
- -)
- Changes #allocations and #frees above to be #bytes allocated and freed; same as -(.
- -e
- enables display of total lines.
- -l
- enables highlighting of changed lines.
Changing Output While HeapMon is Running
While HeapMon is running, you can type any of the following
switch characters to change the output:
- t
- sorts output by tag name
- a
- sorts output by #allocations
- f
- sorts output by #frees
- d
- sorts output by #allocations then #frees
- u or b
- specifies the sort output by bytes used
- ( or )
- toggles interpretation of #allocations and #frees above to be #bytes allocated and freed.
- e
- toggles display of total lines.
- l
- toggles highlighting of changed lines
- ? or h
- displays help text
- q
- quits the program.