get processor details linux code example Example: list cpu linux command #hows CPU Architecture Info $ lscpu