Skip to content

SapMachine #2468: Fixed parsing /proc/<pid>/stat for all possible process names. - #2469

Merged
RealCLanger merged 2 commits into
SAP:sapmachinefrom
schmelter-sap:more-proc-adaptions
Nov 13, 2026
Merged

RealCLanger merged 2 commits into
SAP:sapmachinefrom
schmelter-sap:more-proc-adaptions

Conversation

@schmelter-sap

@schmelter-sap schmelter-sap commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

We can now handle all kinds of process names, not just ones containing spaces. Additionally we also fix the parsing of /proc/<pid>/stat in vitals_linux_oswrapper.cpp too.

While we are at it, we improve handling a failed malloc in get_total_procs_and_threads().

fixes #2468

@sapmachine-bot

Copy link
Copy Markdown
Contributor

Hello @schmelter-sap, this pull request fulfills all formal requirements.

@sapmachine-bot

Copy link
Copy Markdown
Contributor

Hello @schmelter-sap, this pull request fulfills all formal requirements.

@RealCLanger
RealCLanger merged commit 7554336 into SAP:sapmachine Nov 13, 2026
43 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle all possible process names when parsing /proc/<pid>/stat

3 participants