Click here to get back home

IPC::Msg doesn't reveal cbytes

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
IPC::Msg doesn't reveal cbytes theNbomr 12-07-2005
Get Chitika Premium
Posted by theNbomr on December 7, 2005, 9:43 am
Please log in for more thread options


Hi.

I am using IPC::Msg to write to message queues, as a producer process.
I would like to periodically poll the status of the queue to ensure
that the corresponding consumer process is alive and reading from the
queue. My intention is to test the 'fullness' of the queue by
monitoring the '__msg_cbytes' parameter (as taken from
'/usr/include/bits/msq.h' (using Linux, 2.6 kernel). The cbytes
parameter returned by the stat() function seems to be mysteriously
absent from the returned data structure. Can anyone explain this, and
any fix or workaround? Thanks in advance.
---- rod.




Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap