Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 269c525

Browse files
committed
chore: update gopsutil to v4
1 parent c7fc93d commit 269c525

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ require (
4444
github.com/sagernet/sing-mux v0.2.1-0.20240124034317-9bfb33698bb6
4545
github.com/sagernet/sing-shadowtls v0.1.4
4646
github.com/samber/lo v1.47.0
47-
github.com/shirou/gopsutil/v3 v3.24.5
47+
github.com/shirou/gopsutil/v4 v4.24.11
4848
github.com/sirupsen/logrus v1.9.3
4949
github.com/stretchr/testify v1.9.0
5050
github.com/vmihailenco/msgpack/v5 v5.4.1
@@ -69,6 +69,7 @@ require (
6969
github.com/buger/jsonparser v1.1.1 // indirect
7070
github.com/cloudflare/circl v1.3.7 // indirect
7171
github.com/davecgh/go-spew v1.1.1 // indirect
72+
github.com/ebitengine/purego v0.8.1 // indirect
7273
github.com/ericlagergren/aegis v0.0.0-20230312195928-b4ce538b56f9 // indirect
7374
github.com/ericlagergren/polyval v0.0.0-20220411101811-e25bc10ba391 // indirect
7475
github.com/ericlagergren/siv v0.0.0-20220507050439-0b757b3aa5f1 // indirect
@@ -98,7 +99,6 @@ require (
9899
github.com/quic-go/qtls-go1-20 v0.4.1 // indirect
99100
github.com/sagernet/nftables v0.3.0-beta.4 // indirect
100101
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7 // indirect
101-
github.com/shoenig/go-m1cpu v0.1.6 // indirect
102102
github.com/sina-ghaderi/poly1305 v0.0.0-20220724002748-c5926b03988b // indirect
103103
github.com/sina-ghaderi/rabaead v0.0.0-20220730151906-ab6e06b96e8c // indirect
104104
github.com/sina-ghaderi/rabbitio v0.0.0-20220730151941-9ce26f4f872e // indirect

go.sum

+4-5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
2727
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2828
github.com/dlclark/regexp2 v1.11.4 h1:rPYF9/LECdNymJufQKmri9gV604RvvABwgOA8un7yAo=
2929
github.com/dlclark/regexp2 v1.11.4/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
30+
github.com/ebitengine/purego v0.8.1 h1:sdRKd6plj7KYW33EH5As6YKfe8m9zbN9JMrOjNVF/BE=
31+
github.com/ebitengine/purego v0.8.1/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
3032
github.com/enfein/mieru/v3 v3.8.4 h1:PmBQykuEcl8yKcQ647pg8Qbjl433CRYgUbW6VLBgGn4=
3133
github.com/enfein/mieru/v3 v3.8.4/go.mod h1:YtU00qjAEt54mCBQu4WZPCey6cBdB1BUtXjvrHLEUNQ=
3234
github.com/ericlagergren/aegis v0.0.0-20230312195928-b4ce538b56f9 h1:/5RkVc9Rc81XmMyVqawCiDyrBHZbLAZgTTCqou4mwj8=
@@ -176,11 +178,8 @@ github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7 h1:DImB4lELfQhplLTxe
176178
github.com/sagernet/smux v0.0.0-20231208180855-7041f6ea79e7/go.mod h1:FP9X2xjT/Az1EsG/orYYoC+5MojWnuI7hrffz8fGwwo=
177179
github.com/samber/lo v1.47.0 h1:z7RynLwP5nbyRscyvcD043DWYoOcYRv3mV8lBeqOCLc=
178180
github.com/samber/lo v1.47.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
179-
github.com/shirou/gopsutil/v3 v3.24.5 h1:i0t8kL+kQTvpAYToeuiVk3TgDeKOFioZO3Ztz/iZ9pI=
180-
github.com/shirou/gopsutil/v3 v3.24.5/go.mod h1:bsoOS1aStSs9ErQ1WWfxllSeS1K5D+U30r2NfcubMVk=
181-
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
182-
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
183-
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=
181+
github.com/shirou/gopsutil/v4 v4.24.11 h1:WaU9xqGFKvFfsUv94SXcUPD7rCkU0vr/asVdQOBZNj8=
182+
github.com/shirou/gopsutil/v4 v4.24.11/go.mod h1:s4D/wg+ag4rG0WO7AiTj2BeYCRhym0vM7DHbZRxnIT8=
184183
github.com/sina-ghaderi/poly1305 v0.0.0-20220724002748-c5926b03988b h1:rXHg9GrUEtWZhEkrykicdND3VPjlVbYiLdX9J7gimS8=
185184
github.com/sina-ghaderi/poly1305 v0.0.0-20220724002748-c5926b03988b/go.mod h1:X7qrxNQViEaAN9LNZOPl9PfvQtp3V3c7LTo0dvGi0fM=
186185
github.com/sina-ghaderi/rabaead v0.0.0-20220730151906-ab6e06b96e8c h1:DjKMC30y6yjG3IxDaeAj3PCoRr+IsO+bzyT+Se2m2Hk=

tunnel/statistic/manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/metacubex/mihomo/common/atomic"
88

99
"github.com/puzpuzpuz/xsync/v3"
10-
"github.com/shirou/gopsutil/v3/process"
10+
"github.com/shirou/gopsutil/v4/process"
1111
)
1212

1313
var DefaultManager *Manager

0 commit comments

Comments
 (0)