I was trying to make one a long time ago: <https://github.com/treeform/sysinfo> 
I would just grab the code that gets the info you want out of the lib.

Reply via email to