mirror of https://github.com/shirou/gopsutil
Add separate kernelVersion field to host information.
This is mostly intended for Linux, where we are returning the OS version in the PlatformVersion field, which seems reasonable. Often it is still useful to know which Linux kernel is running. For FreeBSD and Darwin the kernel version matches the platform version, since they previously used the kernel version for the platform version. For Windows the kernel version is empty, since there is no clear way to determine it.pull/241/head
parent
2eb8f8bff8
commit
13aedadcde
Loading…
Reference in New Issue