Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.0.0-Ducc
-
None
Description
Looks like the current approach for collecting process metrics (CPU, RSS, SWAP) is not portable across different flavors of Linux. The agent currently collects some of the process stats from /proc/<pid>/statm file but it looks like the syntax of this file is OS specific thus current approach is not working right.
There is some evidence that on RedHat the stats for RSS and Swap are wrong.
Change agent's code to collect process stats from ps command