#!/bin/sh ### Copyright 1999-2025. WebPros International GmbH. All rights reserved. # vim:ft=sh # print coma-separated list of cpu model names. perl -W -nale '/^model name\s*: (.*)$/i and $p{$1} = 1 and $cnt++ } { print %p ? (join ", ", sort keys %p) . " ($cnt core(s))" : "Unknown"' /proc/cpuinfo