$ perl -MData::Dumper -MSystem::Info=sysinfo_hash -wE'print Dumper (sysinfo_hash)' $VAR1 = { 'cpu_cores' => '2', 'cpu' => 'Mac mini (2 GHz)', 'hostname' => 'myhostname.local', 'osname' => 'Darwin', 'distro' => 'Darwin 17.0.0', 'cpu_type' => 'x86_64', 'osvers' => '17.0.0', 'os' => 'darwin - 17.0.0 (Mac OS X - macOS 10.13 (17A365))', 'cpu_count' => '1 [2 cores]' };