pidof can't read sid from /proc/<pid>/stat
Issue
- pidof sometimes reports either of the following error messages unexpectedly because coding of killall5.c is insufficient.
"can't get program name from /proc/<pid>/stat"
"can't read sid from /proc/<pid>/stat"
- The
pidofcommand returnedcan't read sid from /proc/<pid>/stat - Why does this message appear?
Oct 10 19:15:01 hostname pidof[6623]: can't read sid from /proc/6591/stat
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
