IOCLASSCOUNT(8) BSD System Manager's Manual IOCLASSCOUNT(8)NAME
ioclasscount
SYNOPSIS
ioclasscount classname [...]
DESCRIPTION
ioclasscount 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.
EXAMPLES
Count of instances for IOPCIDevices and AppleTestPCIs.
/usr/sbin/ioclasscount IOPCIDevice AppleTestPCI
IOPCIDevice = 2, AppleTestPCI = 1,
SEE ALSO ioalloccount(8), ioreg(8)Darwin February 29, 2000 Darwin
Check Out this Related Man Page
IOCLASSCOUNT(8) BSD System Manager's Manual IOCLASSCOUNT(8)NAME
ioclasscount
SYNOPSIS
ioclasscount [classname] [...]
DESCRIPTION
ioclasscount displays the instance counts of OSObject-based C++ classes in the kernel, incremented by the number of direct subclasses that
have an instance count of at least 1. For example, if IONetworkController is not directly instantiated, but its direct subclass IOEthernet-
Controller has any instances, then IONetworkController's instance count will be at least 1; if another direct subclass such as IOFWController
has any instances, then IONetworkController's instance count will be at least 2; and so on. (This modification of instance counts prevents
unloading of kexts defining superclasses that have no instances, but whose subclasses in other kexts have instances.)
If classes are specified, instance counts are printed as a comma-separated list in the order specified. If no classes are specified,
instance counts for all classes are printed, one per line of output and sorted by name.
This information is useful for tracking leaks. Instance counts can also found in the root of the IORegistry in the ``IOKitDiagnostics''
property.
EXAMPLES
Display instance counts for IOPCIDevice and AppleTestPCI:
/usr/sbin/ioclasscount IOPCIDevice AppleTestPCI
IOPCIDevice = 2, AppleTestPCI = 1
SEE ALSO ioalloccount(8), ioreg(8)Darwin November 06, 2008 Darwin
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)