mirror of
https://2025-dev.shylinux.com/x/20250213-machine
synced 2025-04-25 12:28:05 +08:00
add some
This commit is contained in:
parent
c8562f0272
commit
62cc9bdefa
@ -53,8 +53,10 @@ func (s Process) List(m *ice.Message, arg ...string) {
|
|||||||
m.Push("vms", kit.FmtSize(mem.VMS))
|
m.Push("vms", kit.FmtSize(mem.VMS))
|
||||||
m.Push("cs", len(conn))
|
m.Push("cs", len(conn))
|
||||||
m.Push("fs", fd)
|
m.Push("fs", fd)
|
||||||
m.Push("reads", kit.FmtSize(rw.ReadBytes))
|
if rw != nil {
|
||||||
m.Push("writes", kit.FmtSize(rw.WriteBytes))
|
m.Push("reads", kit.FmtSize(rw.ReadBytes))
|
||||||
|
m.Push("writes", kit.FmtSize(rw.WriteBytes))
|
||||||
|
}
|
||||||
m.Push("user", user)
|
m.Push("user", user)
|
||||||
m.Push("name", name)
|
m.Push("name", name)
|
||||||
m.Push("cmd", kit.Select(name, cmd))
|
m.Push("cmd", kit.Select(name, cmd))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user