From: edu.mvk on
Hi,

Can somebody tell me the meaning of the below entries got in the o/p
of /proc/pid/status:

SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000080
SigCgt: 0000000000000002
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000

- please clarify me with what each field identifies,
- i know that SigBlk will have the list of blocked signals... how can
i read from this value which are the signals that are blocked.
- whats the difference between SigPnd and ShdPnd

Thanks in advance.

Regards
Kiran.
From: WANG Cong on
On 6ÔÂ25ÈÕ, ÏÂÎç3ʱ16·Ö, edu....(a)gmail.com wrote:
> Hi,
>
> Can somebody tell me the meaning of the below entries got in the o/p
> of /proc/pid/status:
>
> SigPnd: 0000000000000000
> ShdPnd: 0000000000000000
> SigBlk: 0000000000000000
> SigIgn: 0000000000000080
> SigCgt: 0000000000000002
> CapInh: 0000000000000000
> CapPrm: 0000000000000000
> CapEff: 0000000000000000
>
> - please clarify me with what each field identifies,

$ man proc

> - i know that SigBlk will have the list of blocked signals... how can
> i read from this value which are the signals that are blocked.

It's a bitmap, you just see which bit is set.


> - whats the difference between SigPnd and ShdPnd
>

'Shd' means shared, I think.