Searched refs:getCmdOutput (Results 1 – 1 of 1) sorted by relevance
545 sub getCmdOutput { subroutine729 my $model = getCmdOutput("sysctl -n machdep.cpu.brand_string");730 my $flags = getCmdOutput("sysctl -n machdep.cpu.features | tr [A-Z] [a-z]");731 my $ncpu = getCmdOutput("sysctl -n hw.ncpu");798 $info->{'name'} = getCmdOutput("hostname");799 $info->{'os'} = getCmdOutput("uname -o") || getCmdOutput("uname -s");800 $info->{'osRel'} = getCmdOutput("uname -r");801 $info->{'osVer'} = getCmdOutput("uname -v");803 ? getCmdOutput("uname -m")804 : getCmdOutput("uname -p");[all …]