On 2019/11/18 18:42, Tim Kuijsten wrote:
> > Btw, could we make the proctitle slightly nicer on the cpu-bearing process?
> > 
> >   PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
> > 19404 wsep      39    0 1440K 3232K onproc/1  -         0:07 27.88% tun0
> 
> You mean make it more clear in top(1) that tun0 is a process of wiresep?
> 
> What about prefixing all processes with "ws" so that we would get:
> root     82906  0.0  0.0   608  1844 ??  Ip     Sun11PM    0:00.01 wsmaster 
> (wiresep)
> 3901      8190  0.0  0.1   728  2352 ??  Ip     Sun11PM    0:11.39 wstun0 
> (wiresep)
> 3900     50475  0.0  0.0   672  2072 ??  Ip     Sun11PM    0:00.04 wsproxy 
> (wiresep)
> 3900     84443  0.0  0.1   656  2196 ??  Ip     Sun11PM    0:00.47 wsenclave 
> (wiresep)
> 

most daemons that change their proctitle still have the process name first, e.g.

wiresep (master), wiresep (tun0), ..

or

wiresep: master, wiresep: tun0, ..

Reply via email to