Is there a reason for wanting to revert this behaviour instead of using the "-z" flag on the command line? If you use pidof a lot and expect to see processes that are in the uninterruptable sleep state then making an alias of pidof='pidof -z' seems like a straight forward approach.
Reverting the change entirely means the default behaviour could hang in NFS environments and I'm not sure non-functioning is a better situation than skipping sleeping processes. Jesse On 2021-10-20 6:32 a.m., Mark Hindley wrote: > Tim, > > Thanks > > To me this seems a coherent argument for reverting this change. > > What do other people think? > > Mark >