mirror of
https://2025-dev.shylinux.com/x/20250213-machine
synced 2025-04-25 04:28:04 +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("cs", len(conn))
|
||||
m.Push("fs", fd)
|
||||
m.Push("reads", kit.FmtSize(rw.ReadBytes))
|
||||
m.Push("writes", kit.FmtSize(rw.WriteBytes))
|
||||
if rw != nil {
|
||||
m.Push("reads", kit.FmtSize(rw.ReadBytes))
|
||||
m.Push("writes", kit.FmtSize(rw.WriteBytes))
|
||||
}
|
||||
m.Push("user", user)
|
||||
m.Push("name", name)
|
||||
m.Push("cmd", kit.Select(name, cmd))
|
||||
|
Loading…
x
Reference in New Issue
Block a user