Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/proc/<pid>status SigIGN field

Tags:

linux

Is there any URL where i can some information about /proc//status. Specially the following fields.

SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000000000

Or can someone give some pointer to it?.

like image 257
user504542 Avatar asked Nov 11 '10 14:11

user504542


People also ask

What does proc PID Stat show?

It is the address of a location in the kernel where the process is sleeping. The corresponding symbolic name can be found in /proc/[pid]/wchan.

What is proc PID FD?

find(1) with the -inum option can be used to locate the file. /proc/[pid]/fd/ This is a subdirectory containing one entry for each file which the process has open, named by its file descriptor, and which is a symbolic link to the actual file.

What is proc PID MEM?

/proc/PID/mem gives access to the memory of the process as it is mapped in the process: accessing the Nth byte of this file is equivalent to accessing (*unsigned char)N inside the process in C, or ptrace(PTRACE_PEEKDATA, PID, (void*)N, NULL) from another process (or PTRACE_POKEDATA for writing, and with the difference ...


1 Answers

Man proc(5) documents all of these entries.

From the manpage on my system, which is more comprehensive than some online versions I've seen (this one's better):

  • SigPnd, ShdPnd: Number of signals pending for thread and for process as a whole (see pthreads(7) and signal(7)).
  • SigBlk, SigIgn, SigCgt: Masks indicating signals being blocked, ignored, and caught (see signal(7)). ockquote

Essentially they're counts and bitmasks of the signals which are waiting to be delivered (i.e. have been sent, but not received) to the process or thread in question and the signals which are being blocked/ignored/delivered.

like image 79
Flexo Avatar answered Oct 06 '22 19:10

Flexo