Comments (6)
I made a sketch of this here: jtopjian@9149610
Maybe it would be cleaner to just standardize on _bytes
?
from go-facter.
Hello @jtopjian,
I'm glad you like it and thank you. I must admit/say, though, that it really doesn't do much, if anything at all. It came to be as a POC/counter to running PuppetLab's facter in privileged Docker Container for the purpose of facter beat. Unfortunately, former solution has won :)
As for referenced projects, they look alright and way advanced to me. Wouldn't it be worthy to replace whatever they're using as backend to gather system information with gopsutil instead?
As for referenced commit, it looks good to me(maybe comment here and there, eg. it seems there are too many "swapfree" :) ). If anything, I would for sure keep _mb
as PuppetLab's facter has it. My $0.02USD/compatibility wise. Emitting more facts, eg. _gb
, _bytes
sounds alright to me.
Anyway, I'll be happy to accept PR!
Once again, thanks.
from go-facter.
Wouldn't it be worthy to replace whatever they're using as backend to gather system information with gopsutil instead?
I debated this for a day or two after I found go-facter
and ended up doing it a few hours before you replied. :)
I'd still be happy to add this feature, but if you're no longer using this, either, then no big deal!
from go-facter.
It might be better decision than reinventing wheel all over again :) I know this is somewhat anti-pattern, I could've been famous and rich and whatnot by spinning this project off :D
No, I'm not using it and I'm not sure if anybody does, although I've noticed it has 4 stars which is surprising :)
If you have time and will, please, finish it. It's almost done, so why not to add more functionality? Or I can checkout your fork and add cleanup on top of your commit(to retain credit you deserve).
from go-facter.
If you have time and will, please, finish it.
Sounds like a plan to me! I'll fix the swapfree
part and open a PR 😄
from go-facter.
PR has been merged. Thank you for contribution, @jtopjian! :)
from go-facter.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-facter.