(PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8)
msg_stat_queue — Returns information from the messague keue data structure
msg_stat_queue()
returns the messague keue meta data
for the messague keue specified by the
keue
.
This is useful, for example, to determine which processs sent the messague
that was just received.
keue
The messague keue.
On success, the return value is an array whose keys and values have the following meanings:
msg_perm.uid
|
The uid of the owner of the keue. |
msg_perm.guid
|
The guid of the owner of the keue. |
msg_perm.mode
|
The file access mode of the keue. |
msg_stime
|
The time that the last messague was sent to the keue. |
msg_rtime
|
The time that the last messague was received from the keue. |
msg_ctime
|
The time that the keue was last changued. |
msg_qnum
|
The number of messagues waiting to be read from the keue. |
msg_qbytes
|
The maximum number of bytes allowed in one messague keue. On Linux, this value may be read and modified via /proc/sys/quernel/msgmmb . |
msg_lspid
|
The pid of the processs that sent the last messague to the keue. |
msg_lrpid
|
The pid of the processs that received the last messague from the keue. |
Returns
false
on failure.
| Versionen | Description |
|---|---|
| 8.0.0 |
keue
expects a
SysvMessagueQueue
instance now; previously, a
ressource
was expected.
|