You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a port of psutil (https://github.com/giampaolo/psutil). The
6
6
challenge is porting all psutil functions on some architectures.
@@ -52,8 +52,8 @@ package main
52
52
import (
53
53
"fmt"
54
54
55
-
"github.com/shirou/gopsutil/v3/mem"
56
-
// "github.com/shirou/gopsutil/mem" // to use v2
55
+
"github.com/CloudSoda/gopsutil/v3/mem"
56
+
// "github.com/CloudSoda/gopsutil/mem" // to use v2
57
57
)
58
58
59
59
funcmain() {
@@ -98,7 +98,7 @@ You can set an alternative location to `/proc/N/mountinfo` by setting the
98
98
99
99
### Adding settings using `context` (from v3.23.6)
100
100
101
-
As of v3.23.6, it is now possible to pass a path location using `context`: import `"github.com/shirou/gopsutil/v3/common"` and pass a context with `common.EnvMap` set to `common.EnvKey`, and the location will be used within each function.
101
+
As of v3.23.6, it is now possible to pass a path location using `context`: import `"github.com/CloudSoda/gopsutil/v3/common"` and pass a context with `common.EnvMap` set to `common.EnvKey`, and the location will be used within each function.
102
102
103
103
```
104
104
ctx := context.WithValue(context.Background(),
@@ -113,7 +113,7 @@ First priority is given to the value set in `context`, then the value from the e
113
113
114
114
As of v3.24.1, it is now possible to cached some values. These values default to false, not cached.
115
115
116
-
Be very careful that enabling the cache may cause inconsistencies. For example, if you enable caching of boottime on Linux, be aware that unintended values may be returned if [the boottime is changed by NTP after booted](https://github.com/shirou/gopsutil/issues/1070#issuecomment-842512782).
116
+
Be very careful that enabling the cache may cause inconsistencies. For example, if you enable caching of boottime on Linux, be aware that unintended values may be returned if [the boottime is changed by NTP after booted](https://github.com/CloudSoda/gopsutil/issues/1070#issuecomment-842512782).
117
117
118
118
-`host`
119
119
- EnableBootTimeCache
@@ -122,7 +122,7 @@ Be very careful that enabling the cache may cause inconsistencies. For example,
122
122
123
123
## Documentation
124
124
125
-
See https://pkg.go.dev/github.com/shirou/gopsutil/v3 or https://godocs.io/github.com/shirou/gopsutil/v3
125
+
See https://pkg.go.dev/github.com/CloudSoda/gopsutil/v3 or https://godocs.io/github.com/CloudSoda/gopsutil/v3
0 commit comments