5
votes
6answers
7k views

How to get dmidecode information without root privileges?

I'm writing a program that displays various system information (on a CentOS system). For example, the processor type and speed (from /proc/cpuinfo), the last boot time (calculated from /proc/uptime), ...