On Wed, 02 Aug 2017 11:01:38 +0200, Alexander Bluhm wrote: > On Wed, Aug 02, 2017 at 09:56:50AM +0200, Martin Pieuchot wrote: > > Simple diff to improved readability. Before: > > There are situations where you want a full match on the command. > For testing and scripting with long program names this is necessary. > With a -v switch that shows the long name I would accept the patch. > netstat has that, too. And it would help in my use case.
Which long name do you mean? ps_comm is limited to 16 characters. You won't really get the full process name without fetching argv and even then the program is free to modify argv[0]. - todd
