diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-09 14:20:58 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-09 14:20:58 -0400 |
commit | 5fd83771641d15c418f747bd343ba6738d3875f7 (patch) | |
tree | 5abf0f78f680d9837dbd93d4d4c3933bb7509599 /system_cmds/zprint.tproj/zprint.1 | |
download | apple_cmds-5fd83771641d15c418f747bd343ba6738d3875f7.tar.gz apple_cmds-5fd83771641d15c418f747bd343ba6738d3875f7.tar.zst apple_cmds-5fd83771641d15c418f747bd343ba6738d3875f7.zip |
Import macOS userland
adv_cmds-176
basic_cmds-55
bootstrap_cmds-116.100.1
developer_cmds-66
diskdev_cmds-667.40.1
doc_cmds-53.60.1
file_cmds-321.40.3
mail_cmds-35
misc_cmds-34
network_cmds-606.40.1
patch_cmds-17
remote_cmds-63
shell_cmds-216.60.1
system_cmds-880.60.2
text_cmds-106
Diffstat (limited to 'system_cmds/zprint.tproj/zprint.1')
-rw-r--r-- | system_cmds/zprint.tproj/zprint.1 | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/system_cmds/zprint.tproj/zprint.1 b/system_cmds/zprint.tproj/zprint.1 new file mode 100644 index 0000000..aa7c918 --- /dev/null +++ b/system_cmds/zprint.tproj/zprint.1 @@ -0,0 +1,90 @@ +.\" Copyright (c) 2016, Apple Inc. All rights reserved. +.\" +.Dd 2 May 2016 +.Dt ZPRINT 1 +.Os "Mac OS X" +.Sh NAME +.Nm zprint +.Nd show information about kernel zones +.Sh SYNOPSIS +.Nm +.Op Fl cdhlLstw +.Op Ar name +.Sh DESCRIPTION +.Nm +displays data about Mach zones (allocation buckets). By default, +.Nm +will print out information about all Mach zones. If the optional +.Ar name +is specified, +.Nm +will print information about each zone for which +.Ar name +is a substring of the zone's name. +.Pp +.Nm +interprets the following options: +.Pp +.Bl -tag -width "disable -" +.\" -c +.It Fl c +(Default) +.Nm +prints zone info in columns. Long zone names are truncated with +.Ql \&$ , +and spaces are replaced with +.Ql \&. , +to allow for sorting by column. Pageable and collectible zones are shown with +.Ql \&P +and +.Ql \&C +on the far right, respectively. Zones with preposterously large maximum sizes +are shown with +.Ql ---- +in the max size and max num elts fields. +.\" -d +.It Fl d +Display deltas over time, showing any zones that have achieved a new maximum +current allocation size during the interval. If the total allocation sizes are +being displayed for the zones in question, it will also display the deltas if +the total allocations have doubled. +.\" -h +.It Fl h +(Default) Shows headings for the columns printed with the +.Fl c +option. It may be useful to override this option when sorting by column. +.\" -l +.It Fl l +(Default) Show all wired memory information after the zone information. +.\" -L +.It Fl L +Do not show all wired memory information after the zone information. +.\" -s +.It Fl s +.Nm +sorts the zones, showing the zone wasting the most memory first. +.\" -t +.It Fl t +For each zone, +.Nm +calculates the total size of allocations from the zone over the life of the +zone. +.\" -w +.It Fl w +For each zone, +.Nm +calculates how much space is allocated but not currently in use, the space +wasted by the zone. +.El +.Pp +Any option (including default options) can be overridden by specifying the +option in upper-case; for example, +.Fl C +overrides the default option +.Fl c . +.Sh DIAGNOSTICS +.Ex -std +.Sh SEE ALSO +.Xr ioclasscount 1 , +.Xr lsmp 1 , +.Xr lskq 1 , |