Information about a system: Sockets, RAM, network interfaces, OS, Kernel. This only works on Linux, for now.
Only basic information about a system is gathered. For more detailed informatino about different aspects of a system, use the relevant JoeFriday packages.
Convenience functions are provided for Marshaling and Unmarshaling the data using either JSON
or ProtoBuf
serialization.
- Go struct
- JSON
- Protocol Buffers
- Flatbuffers
If using the flatbuffers implementation, the package name is still systeminfo
even though the import path is github.com/mohae/systeminfo/flat
. If one is also using the github.com/mohae/systeminfo.System
struct one of the packages will need to be aliased.
Add disk information.
Add support for other platforms.