From 779cc3f5aebb749ab4bc6190e03cc86ff3f151a0 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 19 Apr 2021 21:00:11 +0300 Subject: - Add command information to the `./rr workers` info Signed-off-by: Valery Piashchynski --- plugins/service/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/service/plugin.go b/plugins/service/plugin.go index 91e47e86..b5608ff2 100644 --- a/plugins/service/plugin.go +++ b/plugins/service/plugin.go @@ -79,7 +79,7 @@ func (service *Plugin) Workers() []process.State { defer service.Unlock() states := make([]process.State, 0, len(service.processes)) for i := 0; i < len(service.processes); i++ { - st, err := process.GeneralProcessState(service.processes[i].Pid) + st, err := process.GeneralProcessState(service.processes[i].Pid, service.processes[i].rawCmd) if err != nil { continue } -- cgit v1.2.3