memleak man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



memleak(1M)							   memleak(1M)

NAME
     memleak - IRIX system memory leak utility

SYNOPSIS
     memleak [ namelist ] [-f outfile] [-n sample ]

DESCRIPTION
     memleak is a utility that generates a report describing possible memory
     leaks in the operating system.

     It is intended to be used only by those involved in writing and debugging
     device drivers or other parts of the kernel.  There are times when zone
     memory growth is normal.  Someone involved with writing and debugging
     kernel or device driver modules will know when the growth is normal.

     namelist contains symbol table information needed for symbolic access to
     the system memory image being examined.  The default namelist is /unix.

OPTIONS
     -f filename  Writes any generated output to filename.

     -n sample	  Sample each zone sample number of times.

     -h		  Prints a usage message.

     If no arguments are given, the memleak report is written to /tmp/memleak
     with /unix as the namelist and /dev/mem as the memory device. 100 samples
     of each memory zone are taken.  The memory device must match the
     namelist. If a different kernel is used to boot the system (as when using
     bootp(1M)), the namelist must be the kernel used to boot with, which
     would match the /dev/mem device.

EXAMPLES
     memleak unix.65m -f memoryleaks

     memleak

     memleak -f outputfile

     memleak /unix

     memleak /unix  -f outputfile -n numberofsamples

     All arguments are optional.

EXAMPLE OUTPUT
     The following output shows a report where there
     is a definite leak in the Sessions structure.
     The Sessions structure size is 96 bytes, so
     kmem_split_zone was set to 96.  There
     may also be other memory leaks in the size 64
     zones, so kmem_split_zone may be set to 64

									Page 1

memleak(1M)							   memleak(1M)

     to make those structures private.

     ZONE a800000000cde6c0 may be leaking.
     First sample 8 pages, Last sample 47 pages

     ZONE		   NAME	     SIZE  TOTAL     FREE  PAGES NODE INDEX
     ======================================================================
     a800000000cde6c0	 size 64       64  12032    255	    47	  0	3
     ZONE_TYPE = 3 "Heap 64" "mld" "Vsem" "imondata" "xfs_ifork"
     "Virtual proce" "pfile" "vpgrp struct" "vsession stru" "Vshm"
     "child pids"

     ZONE a800000100a202c0 may be leaking.
     First sample 4 pages, Last sample 14 pages

     ZONE		   NAME	     SIZE  TOTAL     FREE  PAGES NODE INDEX
     ======================================================================
     a800000100a202c0	 size 64       64   3584    246	    14	  1	3
     ZONE_TYPE = 3 "Heap 64" "mld" "Vsem" "imondata" "xfs_ifork"
     "Virtual proce" "pfile" "vpgrp struct" "vsession stru" "Vshm"
     "child pids"

     ZONE a800000000df9980 may be leaking.
     First sample 9 pages, Last sample 82 pages

     ZONE		   NAME	     SIZE  TOTAL     FREE  PAGES NODE INDEX
     ======================================================================
     a800000000df9980	  Sessions	96  13994    106     82	  -1	 0
     ZONE_TYPE = 2

     100 samples were taken from 55 zones.

NOTES
     Some samples may fail if there is a shortage of swap space on the system.
     The memleak tool was developed to detect possible memory leaks in the
     operating system.	It should be used in conjunction with detailed
     analysis of the subsystems/structures it identifies.  At times, heavy
     memory usage is normal.

SEE ALSO
     kmem_debug(1M), bootp(1M)

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net