[#BloombergLP-balb-PerformanceMonitor_LinuxProcStatistics-readProcStatString] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor_LinuxProcStatistics.adoc[PerformanceMonitor_LinuxProcStatistics]::readProcStatString :relfileprefix: ../../../ :mrdocs: For the specified process id `pid`, load the contents of the file `/proc/<pid>/stat` into the specified `buffer`. Return 0 on success and a non‐zero value otherwise. == Synopsis Declared in `<balb_performancemonitor.h>` [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]#