The fix can be simple. Currently processes in D and R state are ignored by pidof completely. But we can use readlink() instead stat() in this case. Function readlink curretnly used with -n option for some processes.
On Mon, 25 May 2020 14:06:42 +0200 (CEST) Thorsten Glaser <t.gla...@tarent.de> wrote: > On Mon, 25 May 2020, Костик Покотиленко wrote: > > > Should the fix be expected for Buster? > > Definitely not. > > If there is a fix, then you can hope for bullseye. > > bye, > //mirabilos > -- > tarent solutions GmbH > Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ > Tel: +49 228 54881-393 • Fax: +49 228 54881-235 > HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 > Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg > >