-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpsm.txt
55 lines (41 loc) · 1.22 KB
/
psm.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
psm(1)
======
NAME
----
psm - Core memory and swap reporting
SYNOPSIS
--------
'psm' [-cpuprofile=<file>] [-memprofile=<file>] [-heap] [-filter=<regexp>]
DESCRIPTION
-----------
Makes it easy to see who is resident in memory, and who is
significantly swapped out.
psm is based off the ideas and implementation of ps_mem.py. It
requires root privileges to run - and as such is typically installed
as setuid root.
OPTIONS
-------
-heap::
Heap adds an additional column to the output with the amount
of heap resident in memory (MB Rss).
-filter=<regexp>::
Filter provides a way to report on a subset of running
processes. The regular expression format is the same as in
Python or Perl, but for specifics see
<https://code.google.com/p/re2/wiki/Syntax>
-cpuprofile=<file>::
Records a CPU profile to the given file, suitable for use with
'go tool pprof'.
-memprofile=<file>::
Records a profile of memory allocations to the given file,
suitable for use with 'go tool pprof'.
AUTHOR
------
psm was originally written by Bobby Powers.
RESOURCES
---------
Main web site: <https://github.com/bpowers/psm>
COPYING
-------
Copyright \(C) 2012-2013 Bobby Powers. Free use of this software is
granted under the terms of the MIT license.