How to know which process hold a semnum with a specific number?

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-04-16T05:06:02Z Indexed on 2010/04/16 5:13 UTC
Read the original article Hit count: 298

Filed under:

For the following truss output, we can see the process post to 11 processes whose semnum is 49,32, ..etc, is there anyway to find out which process hold semnum 49, and which process holds setnum32, etc?

/1:     semop(67108928, 0xFFFFFFFF7FFF9F4C, 11)         = 0
/1:             semnum=49    semop=1     semflg=0
/1:             semnum=32    semop=1     semflg=0
/1:             semnum=52    semop=1     semflg=0
/1:             semnum=41    semop=1     semflg=0
/1:             semnum=40    semop=1     semflg=0
/1:             semnum=55    semop=1     semflg=0
/1:             semnum=46    semop=1     semflg=0
/1:             semnum=35    semop=1     semflg=0
/1:             semnum=37    semop=1     semflg=0
/1:             semnum=48    semop=1     semflg=0
/1:             semnum=39    semop=1     semflg=0

© Stack Overflow or respective owner

Related posts about truss