05-16-2006
the glibc comes with some handy macros for linked lists in queue.h. see also 'man queue' for
examples who to use them propperly.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to setup several accounts on a solaris system.
(passwd,shadow,group)
My question is :
How can I create a group which can access a machine, but only in certain directories? (4 Replies)
Discussion started by: SmartJuniorUnix
4 Replies
2. UNIX for Advanced & Expert Users
Hello,
i was searching around for good solution for managing many nameservers to add the records on the slave servers and update them and if possible some web-based manegment for non-experianced customers.
anyone has an idea where can i find such solution? (1 Reply)
Discussion started by: Bashar
1 Replies
3. UNIX for Advanced & Expert Users
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies
4. Solaris
Hello.
I have got Solaris 10 8/07 on x86 installed successfully using CDs. While I had inserted 1st CD - I created 2 new filesystems also.
But now after entering into Solaris - How do I manipulate sizes or created/delete filesystems by going to terminal?
Thank you! (15 Replies)
Discussion started by: panchpan
15 Replies
5. What is on Your Mind?
Hi,
I recently found this article in computerworld and I think it is very true - at least in my company ... what do you guys think - is the author right? Is it ignorant management that makes us IT people seem to be anti-social and weird?
Please share your thoughts
Kind regards
zxmaus (5 Replies)
Discussion started by: zxmaus
5 Replies
6. Solaris
I installed Solaris 10 in an old Dell computer given to me. The filesystem is ZFS (Default).
The problem is that after logging in as root (first login) I wanted to add a user : n2jkw.
I added the user at /export/home/n2jkw
BTW, /export/home is where the 150G extra Hard Drive is mounted to.... (20 Replies)
Discussion started by: n2jkw
20 Replies
7. UNIX for Dummies Questions & Answers
Hi guys,
I need to use regular expressions in linux and I'm not quite experience in that field, maybe someone could give me some help with it.
Basically, I need to take a text like this.
A234321=http://www.google..... a normal URL
But, I need to take the string starting at... (0 Replies)
Discussion started by: ocramas
0 Replies
8. Programming
Hello.
I need to simulate a few serial links (doing a simulation of an application for a robot) and found socat which, at least with minicom, is working flawlessly.
I would really like to make pts static: ie same numbers between reboots, and automatic (not me opening terminals and leaving... (2 Replies)
Discussion started by: erupter
2 Replies
LEARN ABOUT PHP
msg_stat_queue
MSG_STAT_QUEUE(3) 1 MSG_STAT_QUEUE(3)
msg_stat_queue - Returns information from the message queue data structure
SYNOPSIS
array msg_stat_queue (resource $queue)
DESCRIPTION
msg_stat_queue(3) returns the message queue meta data for the message queue specified by the $queue. This is useful, for example, to deter-
mine which process sent the message that was just received.
PARAMETERS
o $queue
- Message queue resource handle
RETURN VALUES
The return value is an array whose keys and values have the following meanings:
Array structure for msg_stat_queue
+--------------+---------------------------------------------------+
| | |
|msg_perm.uid | |
| | |
| | The uid of the owner of the queue. |
| | |
| | |
|msg_perm.gid | |
| | |
| | The gid of the owner of the queue. |
| | |
| | |
|msg_perm.mode | |
| | |
| | The file access mode of the queue. |
| | |
| | |
| msg_stime | |
| | |
| | The time that the last message was sent to the |
| | queue. |
| | |
| | |
| msg_rtime | |
| | |
| | The time that the last message was received from |
| | the queue. |
| | |
| | |
| msg_ctime | |
| | |
| | The time that the queue was last changed. |
| | |
| | |
| msg_qnum | |
| | |
| | The number of messages waiting to be read from |
| | the queue. |
| | |
| | |
| msg_qbytes | |
| | |
| | The maximum number of bytes allowed in one mes- |
| | sage queue. On Linux, this value may be read and |
| | modified via /proc/sys/kernel/msgmnb. |
| | |
| | |
| msg_lspid | |
| | |
| | The pid of the process that sent the last mes- |
| | sage to the queue. |
| | |
| | |
| msg_lrpid | |
| | |
| | The pid of the process that received the last |
| | message from the queue. |
| | |
+--------------+---------------------------------------------------+
SEE ALSO
msg_remove_queue(3), msg_receive(3), msg_get_queue(3), msg_set_queue(3).
PHP Documentation Group MSG_STAT_QUEUE(3)