@@ -126,7 +126,7 @@ See https://pkg.go.dev/github.com/shirou/gopsutil/v3 or https://godocs.io/github
126126
127127## Requirements
128128
129- - go1.16 or above is required.
129+ - go1.18 or above is required.
130130
131131## More Info
132132
@@ -184,28 +184,29 @@ Some code is ported from Ohai. Many thanks.
184184
185185- x: works
186186- b: almost works, but something is broken
187-
188- | name | Linux | FreeBSD | OpenBSD | macOS | Windows | Solaris | Plan 9 |
189- | ----------------------| -------| ---------| ---------| --------| ---------| ---------| ---------|
190- | cpu\_ times | x | x | x | x | x | | b |
191- | cpu\_ count | x | x | x | x | x | | x |
192- | cpu\_ percent | x | x | x | x | x | | |
193- | cpu\_ times\_ percent | x | x | x | x | x | | |
194- | virtual\_ memory | x | x | x | x | x | b | x |
195- | swap\_ memory | x | x | x | x | | | x |
196- | disk\_ partitions | x | x | x | x | x | | |
197- | disk\_ io\_ counters | x | x | x | | | | |
198- | disk\_ usage | x | x | x | x | x | | |
199- | net\_ io\_ counters | x | x | x | b | x | | |
200- | boot\_ time | x | x | x | x | x | | |
201- | users | x | x | x | x | x | | |
202- | pids | x | x | x | x | x | | |
203- | pid\_ exists | x | x | x | x | x | | |
204- | net\_ connections | x | x | x | x | | | |
205- | net\_ protocols | x | | | | | | |
206- | net\_ if\_ addrs | | | | | | | |
207- | net\_ if\_ stats | | | | | | | |
208- | netfilter\_ conntrack | x | | | | | | |
187+ - c: works in CGO only
188+
189+ | name | Linux | FreeBSD | OpenBSD | macOS | Windows | Solaris | Plan 9 | AIX |
190+ | ----------------------| -------| ---------| ---------| --------| ---------| ---------| ---------| ---------|
191+ | cpu\_ times | x | x | x | x | x | | b | x |
192+ | cpu\_ count | x | x | x | x | x | | x | x |
193+ | cpu\_ percent | x | x | x | x | x | | | x |
194+ | cpu\_ times\_ percent | x | x | x | x | x | | | x |
195+ | virtual\_ memory | x | x | x | x | x | b | x | x |
196+ | swap\_ memory | x | x | x | x | | | x | X |
197+ | disk\_ partitions | x | x | x | x | x | | | x |
198+ | disk\_ io\_ counters | x | x | x | | | | | |
199+ | disk\_ usage | x | x | x | x | x | | | x |
200+ | net\_ io\_ counters | x | x | x | b | x | | | |
201+ | boot\_ time | x | x | x | x | x | | | X |
202+ | users | x | x | x | x | x | | | x |
203+ | pids | x | x | x | x | x | | | |
204+ | pid\_ exists | x | x | x | x | x | | | |
205+ | net\_ connections | x | x | x | x | | | | x |
206+ | net\_ protocols | x | | | | | | | x |
207+ | net\_ if\_ addrs | | | | | | | | x |
208+ | net\_ if\_ stats | | | | | | | | x |
209+ | netfilter\_ conntrack | x | | | | | | | |
209210
210211
211212### Process class
@@ -254,44 +255,45 @@ Some code is ported from Ohai. Many thanks.
254255
255256### Original Metrics
256257
257- | item | Linux | FreeBSD | OpenBSD | macOS | Windows | Solaris |
258- | -----------------| -------| ---------| ---------| --------| --------| ---------|
259- | ** HostInfo** | | | | | | |
260- | hostname | x | x | x | x | x | x |
261- | uptime | x | x | x | x | | x |
262- | process | x | x | x | | | x |
263- | os | x | x | x | x | x | x |
264- | platform | x | x | x | x | | x |
265- | platformfamily | x | x | x | x | | x |
266- | virtualization | x | | | | | |
267- | ** CPU** | | | | | | |
268- | VendorID | x | x | x | x | x | x |
269- | Family | x | x | x | x | x | x |
270- | Model | x | x | x | x | x | x |
271- | Stepping | x | x | x | x | x | x |
272- | PhysicalID | x | | | | | x |
273- | CoreID | x | | | | | x |
274- | Cores | x | | | | x | x |
275- | ModelName | x | x | x | x | x | x |
276- | Microcode | x | | | | | x |
277- | ** LoadAvg** | | | | | | |
278- | Load1 | x | x | x | x | | |
279- | Load5 | x | x | x | x | | |
280- | Load15 | x | x | x | x | | |
281- | ** GetDockerID** | | | | | | |
282- | container id | x | no | no | no | no | |
283- | ** CgroupsCPU** | | | | | | |
284- | user | x | no | no | no | no | |
285- | system | x | no | no | no | no | |
286- | ** CgroupsMem** | | | | | | |
287- | various | x | no | no | no | no | |
258+ | item | Linux | FreeBSD | OpenBSD | macOS | Windows | Solaris | AIX |
259+ | -----------------| -------| ---------| ---------| --------| --------| ---------| --------- |
260+ | ** HostInfo** | | | | | | | |
261+ | hostname | x | x | x | x | x | x | X |
262+ | uptime | x | x | x | x | | x | x |
263+ | process | x | x | x | | | x | |
264+ | os | x | x | x | x | x | x | x |
265+ | platform | x | x | x | x | | x | x |
266+ | platformfamily | x | x | x | x | | x | x |
267+ | virtualization | x | | | | | | |
268+ | ** CPU** | | | | | | | |
269+ | VendorID | x | x | x | x | x | x | x |
270+ | Family | x | x | x | x | x | x | x |
271+ | Model | x | x | x | x | x | x | x |
272+ | Stepping | x | x | x | x | x | x | |
273+ | PhysicalID | x | | | | | x | |
274+ | CoreID | x | | | | | x | |
275+ | Cores | x | | | | x | x | x |
276+ | ModelName | x | x | x | x | x | x | x |
277+ | Microcode | x | | | | | x | |
278+ | ** LoadAvg** | | | | | | | |
279+ | Load1 | x | x | x | x | | | x |
280+ | Load5 | x | x | x | x | | | x |
281+ | Load15 | x | x | x | x | | | x |
282+ | ** GetDockerID** | | | | | | | |
283+ | container id | x | no | no | no | no | | |
284+ | ** CgroupsCPU** | | | | | | | |
285+ | user | x | no | no | no | no | | |
286+ | system | x | no | no | no | no | | |
287+ | ** CgroupsMem** | | | | | | | |
288+ | various | x | no | no | no | no | | |
288289
289290- future work
290291 - process_iter
291292 - wait_procs
292293 - Process class
293294 - as_dict
294295 - wait
296+ - AIX processes
295297
296298## License
297299
0 commit comments