Skip to content

Information about a system: CPU, RAM, network interfaces, OS, Kernel.

License

Notifications You must be signed in to change notification settings

mohae/systeminfo

Repository files navigation

systeminfo

GoDocBuild Status

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.

Supported output

  • Go struct
  • JSON
  • Protocol Buffers
  • Flatbuffers

Notes

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.

TODO

Add disk information.
Add support for other platforms.

About

Information about a system: CPU, RAM, network interfaces, OS, Kernel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published