]> git.saurik.com Git - apple/system_cmds.git/blame_incremental - mslutil/mslutil.1
system_cmds-790.tar.gz
[apple/system_cmds.git] / mslutil / mslutil.1
... / ...
CommitLineData
1.\" Copyright (c) 2017, Apple Computer, Inc. All rights reserved.
2.\"
3.Dd March 31, 2017
4.Dt MSLUTIL 1
5.Os "Mac OS X"
6.Sh NAME
7.Nm mslutil
8.Nd Tool to enable / disable malloc stack logging on a specific proces
9.Sh SYNOPSIS
10.Nm mslutil pid [--enable flavor] | [--disable]
11.Sh DESCRIPTION
12The
13.Nm mslutil
14utility enables/disables malloc stack logging on the process specified by
15.Nm pid.
16It requires root privileges.
17.Pp
18The options are as follows:
19.Bl -tag -width Ds
20.\" ==========
21.It Fl -enable
22Specifying the
23.Fl -enable
24option enables malloc stack logging, using the
25.Pa flavor
26provided.
27The supported flavors are:
28.Pp
29.Pa full
30Standard malloc stack logging that records both vm and malloc calls
31.Pp
32.Pa malloc
33Standard malloc stack logging that records only malloc calls
34.Pp
35.Pa vm
36Standard malloc stack logging that records only vm calls
37.Pp
38.Pa lite
39Lite mode of malloc stack logging.
40.\" ==========
41.It Fl -disable
42Specifying the
43.Fl -disable
44option disables any current mode of malloc stack logging.
45.\" ==========
46.El