This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorials:troubleshooting:memory [2015/11/06 12:48] smititelu |
tutorials:troubleshooting:memory [2017/02/15 13:27] miconda [Memory Manager Debugging] |
||
---|---|---|---|
Line 167: | Line 167: | ||
20(4082) NOTICE: fm_status: | 20(4082) NOTICE: fm_status: | ||
20(4082) NOTICE: fm_status: | 20(4082) NOTICE: fm_status: | ||
+ | </ | ||
+ | If you dumped the status with qm_malloc, you can extract the logs from syslog and count the unique allocations with next commands: | ||
+ | |||
+ | < | ||
+ | grep qm_status / | ||
+ | |||
+ | # or: | ||
+ | # grep qm_status / | ||
+ | |||
+ | grep alloc qm_status.txt | awk '{ print substr( $0, 16, length($0) ) }' | sort | uniq -c | sort -k1n | ||
</ | </ | ||
===== Using GDB ===== | ===== Using GDB ===== |