getting cpu info w/o parsing /var/run/dmesg.boot
zachary.crownover at gmail.com
Fri Oct 9 08:14:04 PDT 2015
You could also look at what facter does, from puppet. It's also Ruby and
being rewritten in C++.
On 9 Oct 2015 08:00, "John Marino" <dragonflybsd at marino.st> wrote:
> On 10/9/2015 4:48 PM, Hleb Valoshka wrote:
> > And code for cpu is taken from code for FreeBSD
> > which parses /var/run/dmesg.boot as well, I hoped that DFly has better
> > interface for such info like /proc/cpuinfo in Linux.
> Seriously? dmes.boot is parsed to get sysinfo info?
> That's ..... special.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users