*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> memleak (1)              
Title
Content
Arch
Section
 

Contents


memleak(1M)							   memleak(1M)


NAME    [Toc]    [Back]

     memleak - IRIX system memory leak utility

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     -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    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     kmem_debug(1M), bootp(1M)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
configmon IRIX IRIX system configuration utility
icrash IRIX IRIX system crash analysis utility
askRestartFm IRIX utility for restarting the IRIX Interactive Desktop
uname IRIX identify the current IRIX system
desktophelp IRIX IRIX Interactive Desktop(TM) Help System Subprogram
uncompvm IRIX expand a compressed IRIX vmcore dump of the operating system
third Tru64 Third Degree: heap usage and leak profiler, and
mem Linux system memory, kernel memory and system ports
ftr IRIX IRIX Interactive Desktop optimized file-type rules compiler ftr - IRIX Interactive Desktop optimized file-type
dxsysinfo Tru64 Monitors system information such as CPU activity, memory, swap space, and file system usage
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service