rmatharu commented on a change in pull request #1533:
URL: https://github.com/apache/samza/pull/1533#discussion_r717111449



##########
File path: 
samza-core/src/main/java/org/apache/samza/container/host/PosixCommandBasedStatisticsGetter.java
##########
@@ -86,28 +62,17 @@ private long getTotalPhysicalMemory() throws IOException {
     List<String> processIds = getAllCommandOutput(new String[]{"sh", "-c", 
"pgrep -P $PPID"});

Review comment:
       nit: rename method to getTotalPhysicalMemoryUsageBytes
   so that the purpose and the unit of the response is clear to the caller.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to