How to know whether the message queue is empty or not.
Answer / pavan
type the command: ipcs -m
you'll get no of messages in Message Q,
else
you can also use msqid_ds structure
i'e : define a structure variable of type
-> struct msqid_ds YOUR_VAR;
and access YOUR_VAR -> msg_qnum
it'll give no of messgaes on Q.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Inode.
how to create tree of processes. one parent and 3 childs.
What are the system calls used for process management:
Explain what is the process id for kernel process?
What is the full form of ipc?
What is ln(linking)?
Explain the system calls used for process management?
What Happens when you execute a command?
What is fork()?
Describe the initial process sequence while the system boots up?
What is an advantage of executing a process in background?
Please describe the initial process sequence while the system boots up?