Github user JonZeolla commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/400#discussion_r95813473
  
    --- Diff: metron-deployment/scripts/platform-info.sh ---
    @@ -62,3 +62,39 @@ mvn --version
     # operating system
     echo "--"
     uname -a
    +
    +# system resources
    +echo "--"
    +case "${OSTYPE}" in
    +  linux*)
    +    cat /proc/meminfo  | grep -i MemTotal | awk '{print "Total System 
Memory = " $2/1024 " MB"}'
    +    cat /proc/cpuinfo | egrep 'model\ name' | uniq | cut -d: -f2 | awk 
'{print "Processor Model:" $0}'
    +    cat /proc/cpuinfo | egrep 'cpu\ MHz' | uniq | cut -d: -f2 | awk 
'{print "Processor Speed:" $0 " MHz"}'
    +    cat /proc/cpuinfo | grep -i '^processor' | wc -l | awk '{print "Total 
Physical Processors: " $0}'
    +    cat /proc/cpuinfo | grep -i cores | cut -d: -f2 | awk '{corecount+=$1} 
END {print "Total cores: " corecount}'
    +    echo "Disk information:"
    +    df -h | grep "^/" 
    +    ;;
    +  darwin*)
    +    sysctl hw.memsize | awk '{print "Total System Memory = " $2/1048576 " 
MB"}'
    +    sysctl machdep.cpu | grep 'machdep.cpu.brand_string' | cut -d: -f2 | 
cut -d\@ -f1 | awk '{print "Processor Model:" $0}'
    +    sysctl machdep.cpu | grep 'machdep.cpu.brand_string' | cut -d: -f2 | 
cut -d\@ -f2 | awk '{print "Processor Speed:" $0}'
    +    sysctl hw.physicalcpu | cut -d: -f2 | awk '{print "Total Physical 
Processors:" $0}'
    +    sysctl machdep.cpu | grep 'machdep.cpu.core_count' | cut -d: -f2 | cut 
-d\@ -f2 | awk '{print "Total cores:" $0}'
    +    echo "Disk information:"
    +    df -h | grep "^/" 
    +    ;;
    +  bsd*)
    +    echo "BSD is not currently supported, unable to detect system 
resources"
    +    ;;
    --- End diff --
    
    Do we have a list of what OSs are supported to run Metron on?  I thought 
BSD, Windows, and Solaris actually weren't supported on the Metron side.  I 
know there is [a list for 
HDP](https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_release-notes/content/ch01s02s01.html),
 but I don't feel like that applies.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to