I'm trying to get the hardware information of my server and save it to database, How can I do that?
I believe it depends on your system, but looks like there is a gem called hardware_information. Maybe it's what you're looking for.