Debian Codegraph @

doc/SystemTap_Tapset_Reference/man3/function::proc_mem_string.3stap

raw
1 '\" t
2 .\" Title: function::proc_mem_string
3 .\" Author:
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\" Date: October 2025
6 .\" Manual: Memory Tapset
7 .\" Source: SystemTap Tapset Reference
8 .\" Language: English
9 .\"
10 .TH "FUNCTION::PROC_MEM_S" "3stap" "October 2025" "SystemTap Tapset Reference" "Memory Tapset"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 function::proc_mem_string \- Human readable string of process memory usage
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 1) proc_mem_string:string()
36 .fi
37 .sp
38 .nf
39 2) proc_mem_string:string(pid:long)
40 .fi
41 .SH "ARGUMENTS"
42 .PP
43 \fIpid\fR
44 .RS 4
45 The pid of process to examine
46 .RE
47 .SH "DESCRIPTION"
48 .PP
49 1) Returns a human readable string showing the size, rss, shr, txt and data of the memory used by the current process\&. For example\(lqsize: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k\(rq\&.
50 .PP
51 2) Returns a human readable string showing the size, rss, shr, txt and data of the memory used by the given process\&. For example\(lqsize: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k\(rq\&.
52 .SH SEE ALSO\n
53 .IR tapset::proc_mem (3stap)