Tracking Message Buffer


 
Thread Tools Search this Thread
Operating Systems Linux Tracking Message Buffer
# 1  
Old 05-19-2004
Tracking Message Buffer

Is there a way to track the message buffer to see which messages are being sent and the time that it was sent between messages?

thanks much!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Tracking Process to a particular

I've tried to see what I can find on my own but I'm coming up with goose eggs. Basically I was wondering if there was a way of querying the scheduler (or something similar) to track a process back to a particular CPU it's executing on at the time of the command. ps has a "cpu" output option but... (1 Reply)
Discussion started by: thmnetwork
1 Replies

2. AIX

Tracking Root commands

Hi All How can track what commands are entered by the Root user. Is there a log besides using the history command that lists all commands entered for a period of time. thanks:o (6 Replies)
Discussion started by: pashan
6 Replies

3. IP Networking

netfilter connection tracking

hi, i'm using tcpreplay to send a traffic trace to my wireless interface (the trace is been captured by the same interface). It seems as netfilter can't trace connections. Is it possible? (0 Replies)
Discussion started by: littleboyblu
0 Replies

4. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

5. Shell Programming and Scripting

server load tracking

I have written a script which checks server load and emails me. I am running into the error: ./load_alert.sh: line 8: ; then printf "WARNING - cpu load high in xyz server" fi (2 Replies)
Discussion started by: vsmurali
2 Replies

6. UNIX for Advanced & Expert Users

Tracking down the problem

Is there a way to track down what process is sending to a certain port? I have some thing pounding the network with requests to a multicast IP that doesn't exist. I have shut down all comms related processes and yet it is still there. Need a way to track the port or IP back to the process. Thanks... (3 Replies)
Discussion started by: mattmanuel
3 Replies

7. UNIX for Advanced & Expert Users

Tracking user

dear all, I'm facing problem that is i have noticed from few days back that some body is deleting and making changes in the file from developement server where i'm working(in unix) so i want to track that who is using the server, what performancr they are doing and each every thing which r... (5 Replies)
Discussion started by: panknil
5 Replies

8. UNIX for Advanced & Expert Users

tracking user action

Hi, we are using solaris8. we have some files disappear. I would like to know how to track who and when the files was remove ??? thanks, (7 Replies)
Discussion started by: xitrum
7 Replies

9. UNIX for Advanced & Expert Users

Command Tracking

Hi, OS: Solaris9, SPARC Is there any way I can track the commands run by users from the shell prompt? Example: Somebody is deleting files from the system. Who it is is a mystery. That person obviously does not use bash prompt so there is no history. Is there anyway I can find out who... (5 Replies)
Discussion started by: mahatma
5 Replies

10. UNIX for Dummies Questions & Answers

sendmail message body buffer limit?

when sending the contents of a ascii file to the body of an email then sending it off. it seems sendmail is breaking up the lines with a "!" thus ruining the data. Has this ever happened to anyone? i am guessing there is a line buffer limit in either the mail command or in sendmail itself. ... (3 Replies)
Discussion started by: Optimus_P
3 Replies
Login or Register to Ask a Question
PKMESG(3PVM)							  PVM Version 3.4						      PKMESG(3PVM)

NAME
pvm_pkmesg, pvm_pkmesgbody, pvm_upkmesg - Pack messages into other messages. SYNOPSIS
C int info = pvm_pkmesg( int bufid ) int info = pvm_pkmesgbody( int bufid ) int newbufid = pvm_upkmesg( ) Fortran call pvmfpkmesg( bufid, info ) call pvmfpkmesgbody( bufid, info ) call pvmfupkmesg( bufid, newbufid ) PARAMETERS
bufid Message buffer to pack. newbufid New message buffer unpacked or result code. info Result code. DESCRIPTION
These functions are used to include messages in other messages, as data elements. pvm_pkmesg packs the specified message into the current send buffer. The entire body of the message is packed, along with header attributes: length context tag message tag wait identifier encoding checksum source and destination addresses The buffer specified must not be the same as the current send buffer. Multiple messages can be packed into a single message, and packed messages can be mixed with any other data types. pvm_upkmesg unpacks a message from the current receive buffer, allocating a new message buffer for it. The body of the newly created mes- sage, and header attributes listed above, match the one originally packed using pvm_pkmesg. pvm_pkmesgbody is similar to pvm_pkmesg, but packs only the body of the specified message, omitting the header fields. In other words, it splices the messages together (the included message is left unaltered). When calling pvm_pkmesgbody, the encoding types of the two mes- sages must match because the included message body is simply appended to the send buffer. Calls to pvm_pkmesgbody can be mixed with calls to pack any other data types. Note: pvm_upkmesgbody doesn't exist, because PVM doesn't keep track of the boundary between the two messages. EXAMPLES
pvm_recv(-1, -1); pvm_initsend(PvmDataDefault); pvm_pkstr("here is the message I received..."); pvm_pkmesg(pvm_getrbuf()); ERRORS
The following error conditions can be returned by pvm_pkmesg, pvm_pkmesgbody or pvm_upkmesg: PvmBadParam An invalid value was specified for bufid argument, or bufid is the current send buffer. PvmNoSuchBuf Message buffer bufid doesn't exist. PvmNoMem Libpvm is unable to allocate memory to pack data. PvmNoData The end of the message has been reached, perhaps because pack and unpack calls were mismatched. PvmNoBuf There is no current send (or receive) buffer. PvmMismatch pvm_pkmesgbody was called and the encoding types of bufid and the current send buffer don't match. SEE ALSO
pvm_getrbuf(3PVM), pvm_getsbuf(3PVM), pvm_pack(3PVM), 10 February, 1995 PKMESG(3PVM)