Translated message

A translation of this page exists in English.

pidof が /proc/<pid>/stat から sid を読み込まない

Solution Verified - Updated -

Issue

  • killall5.c のコーディングが適切ではないため、pidof が以下のいずれかのエラーメッセージを突然報告する場合があります。
"can't get program name from /proc/<pid>/stat"
"can't read sid from /proc/<pid>/stat"
  • pidof コマンドが can't read sid from /proc/<pid>/stat を返します。
  • 以下のメッセージが表示されるのはなぜですか?
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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content