metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anandsubbu <>
Subject [GitHub] incubator-metron issue #400: METRON-636: Capture memory and cpu details as a...
Date Wed, 04 Jan 2017 17:36:52 GMT
Github user anandsubbu commented on the issue:
    Hi @nickwallen , thank you for the review. 
    At the outset, getting the system CPU and Memory info would help troubleshooting, especially
for single node deployments which are attempted on environments with scarce resources (This
for example).
    My intention is in fact to capture the 'static' system information. I agree with the challenges
associated with capturing the runtime information--which this script is not intended to do.
    My initial approach was to dump the contents of `/proc/cpuinfo` and `/proc/meminfo`. However,
for lack of the same equivalent on Mac, I resorted to getting the first few lines of `top`
(again with different switches for Linux and Mac :/). 
    I can still dump the output of /proc/cpuinfo and /proc/meminfo on Linux and use a different
alternative for Mac. I looked as much but could not find one for Mac. Please let me know if
you are aware of one.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message