ioclasscount.8   [plain text]


.\"
.\" Copyright (c) 2000 Apple Computer, Inc.  All rights reserved.
.\"
.\"	$Id: ioclasscount.8,v 1.4 2003/11/06 19:16:54 sdouglas Exp $
.\"
.Dd February 29, 2000
.Dt IOCLASSCOUNT 8
.Os Darwin
.Sh NAME
.Nm ioclasscount
.Sh SYNOPSIS
.Nm
.Op classname
.Op ...
.Sh DESCRIPTION
.Pp
.Nm
displays the instance count, offset by the number of direct subclasses that have at least one instance allocated, for the classes specified. Useful for tracking leaks. This information can also found in the Root of the IORegistry. If no classes are specified, display the instance counts for all classes, one per line of output and sorted by name.
.Sh EXAMPLES
.Pp
Count of instances for IOPCIDevices and AppleTestPCIs.
.Bl -tag -width findx
.It Li "/usr/sbin/ioclasscount IOPCIDevice AppleTestPCI"
IOPCIDevice = 2, AppleTestPCI = 1, 
.El
.Sh SEE ALSO
.Xr ioalloccount 8 ,
.Xr ioreg 8