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/ltop.tproj/ltop.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/ltop.tproj/ltop.1')
-rw-r--r-- | system_cmds/ltop.tproj/ltop.1 | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/system_cmds/ltop.tproj/ltop.1 b/system_cmds/ltop.tproj/ltop.1 new file mode 100644 index 0000000..98b0555 --- /dev/null +++ b/system_cmds/ltop.tproj/ltop.1 @@ -0,0 +1,59 @@ +.\" Copyright (c) 2012, Apple Inc. All rights reserved. +.\" +.Dd June 28, 2012 +.Dt LTOP 1 +.Os "Mac OS X" +.Sh NAME +.Nm ltop +.Nd Display ledger information for processes on the system +.Sh SYNOPSIS +.Nm ltop +.Bk -words +.Fl h +.Pp +.Nm ltop +.Op Fl dL +.Op Fl g Ar group +.Op Fl p Ar pid +.Op Fl r Ar resource +.Op Ar interval +.Ek +.Sh DESCRIPTION +.Nm ltop +displays the contents of system ledgers maintained by the kernel for each process in the system. Ledgers are a general accounting mechanism that the kernel uses to track and limit things like CPU time and memory usage. +.Pp +If the optional +.Ar interval +is specified, then +.Nm +will display the ledger contents every interval seconds. +.Pp +The options are as follows: +.Bl -tag -width indent +.\" ========== +.It Fl d +In conjunction with +.Ar interval , +display the rate of change for each value, as compared to the previous sample displayed. +.\" ========== +.It Fl L +Display template info. Shows which resources are tracked, and lists the associated units. +.\" ========== +.It Fl g Ar group +Only display info for the ledgers associated with +.Ar group . +Group topology can be seen via the +.Fl L +option. +.\" ========== +.It Fl p Ar pid +Only display info for process +.Ar pid . +.\" ========== +.It Fl r Ar resource +Only display info for resource +.Ar resource . +.\" ========== +.El +.Sh SEE ALSO +.Xr top 1 |