[#BloombergLP-balb-PerformanceMonitor_LinuxProcStatistics-readProcStatString]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor_LinuxProcStatistics.adoc[PerformanceMonitor&lowbar;LinuxProcStatistics]::readProcStatString
:relfileprefix: ../../../
:mrdocs:

For the specified process id `pid`, load the contents of the file `&sol;proc&sol;&lt;pid&gt;&sol;stat` into the specified `buffer`&period; Return 0 on success and a non&hyphen;zero value otherwise&period;

== Synopsis

Declared in `&lt;balb&lowbar;performancemonitor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
readProcStatString(
    xref:bsl/string.adoc[bsl::string]* buffer,
    int pid);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
