1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-28 13:48:49 +08:00

Update the README charts with the AIX information

This commit is contained in:
Dylan Myers 2024-05-22 08:53:41 -04:00
parent ff4ae36cc0
commit 125da53703

106
README.md
View File

@ -184,28 +184,29 @@ Some code is ported from Ohai. Many thanks.
- x: works - x: works
- b: almost works, but something is broken - b: almost works, but something is broken
- c: works in CGO only
|name |Linux |FreeBSD |OpenBSD |macOS |Windows |Solaris |Plan 9 | |name |Linux |FreeBSD |OpenBSD |macOS |Windows |Solaris |Plan 9 |AIX |
|----------------------|-------|---------|---------|--------|---------|---------|---------| |----------------------|-------|---------|---------|--------|---------|---------|---------|---------|
|cpu\_times |x |x |x |x |x | |b | |cpu\_times |x |x |x |x |x | |b |x |
|cpu\_count |x |x |x |x |x | |x | |cpu\_count |x |x |x |x |x | |x |x |
|cpu\_percent |x |x |x |x |x | | | |cpu\_percent |x |x |x |x |x | | |x |
|cpu\_times\_percent |x |x |x |x |x | | | |cpu\_times\_percent |x |x |x |x |x | | |x |
|virtual\_memory |x |x |x |x |x | b |x | |virtual\_memory |x |x |x |x |x | b |x |x |
|swap\_memory |x |x |x |x | | |x | |swap\_memory |x |x |x |x | | |x |X |
|disk\_partitions |x |x |x |x |x | | | |disk\_partitions |x |x |x |x |x | | |x |
|disk\_io\_counters |x |x |x | | | | | |disk\_io\_counters |x |x |x | | | | | |
|disk\_usage |x |x |x |x |x | | | |disk\_usage |x |x |x |x |x | | |x |
|net\_io\_counters |x |x |x |b |x | | | |net\_io\_counters |x |x |x |b |x | | | |
|boot\_time |x |x |x |x |x | | | |boot\_time |x |x |x |x |x | | |X |
|users |x |x |x |x |x | | | |users |x |x |x |x |x | | |x |
|pids |x |x |x |x |x | | | |pids |x |x |x |x |x | | | |
|pid\_exists |x |x |x |x |x | | | |pid\_exists |x |x |x |x |x | | | |
|net\_connections |x |x |x |x | | | | |net\_connections |x |x |x |x | | | |x |
|net\_protocols |x | | | | | | | |net\_protocols |x | | | | | | |x |
|net\_if\_addrs | | | | | | | | |net\_if\_addrs | | | | | | | |x |
|net\_if\_stats | | | | | | | | |net\_if\_stats | | | | | | | |x |
|netfilter\_conntrack |x | | | | | | | |netfilter\_conntrack |x | | | | | | | |
### Process class ### Process class
@ -254,37 +255,37 @@ Some code is ported from Ohai. Many thanks.
### Original Metrics ### Original Metrics
|item |Linux |FreeBSD |OpenBSD |macOS |Windows |Solaris | |item |Linux |FreeBSD |OpenBSD |macOS |Windows |Solaris |AIX |
|-----------------|-------|---------|---------|--------|--------|---------| |-----------------|-------|---------|---------|--------|--------|---------|---------|
|**HostInfo** | | | | | | | |**HostInfo** | | | | | | | |
|hostname |x |x |x |x |x |x | |hostname |x |x |x |x |x |x |X |
|uptime |x |x |x |x | |x | |uptime |x |x |x |x | |x |x |
|process |x |x |x | | |x | |process |x |x |x | | |x | |
|os |x |x |x |x |x |x | |os |x |x |x |x |x |x |x |
|platform |x |x |x |x | |x | |platform |x |x |x |x | |x |x |
|platformfamily |x |x |x |x | |x | |platformfamily |x |x |x |x | |x |x |
|virtualization |x | | | | | | |virtualization |x | | | | | | |
|**CPU** | | | | | | | |**CPU** | | | | | | | |
|VendorID |x |x |x |x |x |x | |VendorID |x |x |x |x |x |x |x |
|Family |x |x |x |x |x |x | |Family |x |x |x |x |x |x |x |
|Model |x |x |x |x |x |x | |Model |x |x |x |x |x |x |x |
|Stepping |x |x |x |x |x |x | |Stepping |x |x |x |x |x |x | |
|PhysicalID |x | | | | |x | |PhysicalID |x | | | | |x | |
|CoreID |x | | | | |x | |CoreID |x | | | | |x | |
|Cores |x | | | |x |x | |Cores |x | | | |x |x |x |
|ModelName |x |x |x |x |x |x | |ModelName |x |x |x |x |x |x |x |
|Microcode |x | | | | |x | |Microcode |x | | | | |x | |
|**LoadAvg** | | | | | | | |**LoadAvg** | | | | | | | |
|Load1 |x |x |x |x | | | |Load1 |x |x |x |x | | |x |
|Load5 |x |x |x |x | | | |Load5 |x |x |x |x | | |x |
|Load15 |x |x |x |x | | | |Load15 |x |x |x |x | | |x |
|**GetDockerID** | | | | | | | |**GetDockerID** | | | | | | | |
|container id |x |no |no |no |no | | |container id |x |no |no |no |no | | |
|**CgroupsCPU** | | | | | | | |**CgroupsCPU** | | | | | | | |
|user |x |no |no |no |no | | |user |x |no |no |no |no | | |
|system |x |no |no |no |no | | |system |x |no |no |no |no | | |
|**CgroupsMem** | | | | | | | |**CgroupsMem** | | | | | | | |
|various |x |no |no |no |no | | |various |x |no |no |no |no | | |
- future work - future work
- process_iter - process_iter
@ -292,6 +293,7 @@ Some code is ported from Ohai. Many thanks.
- Process class - Process class
- as_dict - as_dict
- wait - wait
- AIX processes
## License ## License