Skip to main content

parse_cpu_model

Function parse_cpu_model 

Source
pub fn parse_cpu_model(text: &str) -> Option<String>
Expand description

The first model name out of /proc/cpuinfo, shortened: vendor noise ((R), (TM), CPU @ 2.60GHz, Processor) stripped, so it fits a cell.

N-Core / N-Cores goes too: it is the HOST chip’s core count, and on a 4-vCPU cloud plan 4x AMD EPYC 7542 32-Core read as two contradicting numbers (measured on UpCloud 2026-08-29). The vCPU count the band prints in front of the name is the one that is true of this box.