Live data from Hacker News

Lscpu for OpenBSD/FreeBSD

github.com

1–10 of 39 posts

Re: Lscpu for OpenBSD/FreeBSD

#6
post #3

This is neat and all, but I'm not sure I understand how it's better than 'less /var/run/dmesg.boot'? Which is not to say that this doesn't have any merit, I just don't understand it.

A trivial inspection of my FreeBSD 11.1 system's /var/run/dmesg.boot shows that it doesn't contain all the information displayed by lscpu. So what's hard to understand?

lscpu displays CPU information in a predictable, concise format whereas 'less /var/run/dmesg.boot' requires you to read through a log file that contains a subset of the same information that also happens to be interspersed among unrelated log entries?

It'd probably be more fair to discuss the merits of lscpu vs some invocation of grep '' /var/run/dmesg.boot that produced similar output.

Post reply on HN