While we were tapping away at our keyboards, my friend suddenly shouted, "Where's lscpu? Where's lscpu?!"
I said, "Mate, this isn't Linux, it's BSD! It doesn't even have lscpu... but don't you worry, I'll bring lscpu right to your doorstep if you want, consider it done!"
I had a think about it, sat down, and wrote a simple lscpu tool for FreeBSD.
Here is the source code:
https://codeberg.org/alimiracle/freebsd-lscpu
#freebsd
#linux
#code

