]> git.saurik.com Git - apple/system_cmds.git/blob - mslutil/mslutil.1
system_cmds-790.50.6.tar.gz
[apple/system_cmds.git] / mslutil / mslutil.1
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
12 The
13 .Nm mslutil
14 utility enables/disables malloc stack logging on the process specified by
15 .Nm pid.
16 It requires root privileges.
17 .Pp
18 The options are as follows:
19 .Bl -tag -width Ds
20 .\" ==========
21 .It Fl -enable
22 Specifying the
23 .Fl -enable
24 option enables malloc stack logging, using the
25 .Pa flavor
26 provided.
27 The supported flavors are:
28 .Pp
29 .Pa full
30 Standard malloc stack logging that records both vm and malloc calls
31 .Pp
32 .Pa malloc
33 Standard malloc stack logging that records only malloc calls
34 .Pp
35 .Pa vm
36 Standard malloc stack logging that records only vm calls
37 .Pp
38 .Pa lite
39 Lite mode of malloc stack logging.
40 .\" ==========
41 .It Fl -disable
42 Specifying the
43 .Fl -disable
44 option disables any current mode of malloc stack logging.
45 .\" ==========
46 .El