Inter Process Communication usually refers to kernel services that allow processes on the same machine to communicate with each other.
2
votes
2answers
58 views
Are FIFO, pipe & Unix domain socket the same thing in Linux kernel?
I heard that FIFOs are named pipes. And they have exactly the same semantics. On the other hand, I think Unix domain socket is quite similar to pipe (although I've never made use of it). So I wonder ...
2
votes
0answers
57 views
So the design of client-server separation is not the bottleneck of X Window?
In the answer of this, it mentioned:
People also hear that X uses the "network" and think this is going to
be a performance bottleneck. "Network" here means local UNIX domain
socket, which has ...
1
vote
2answers
183 views
linux command to check POSIX message queue
We can check the details of system V message queue with the help of ipcscommand. Is there any command to check POSIX message queue in Linux?
2
votes
2answers
92 views
Does one end of a pipe have both read and write fd?
As far as I understood one end of a pipe has both read and write fd's and the other end also has read and write fd's. Thats why when we are writing using fd[1], we are closing the read end e.g. ...
3
votes
3answers
161 views
What after exec() in ls command. Is the parent process printing the output to the console or the child?
I have a simple doubt on execution of the command ls. As per my understanding from the research I have done on the internet, I understood the below points.
When we type ls command shell interprets ...
0
votes
2answers
155 views
Sending SIGUSR1 to parent
When I do a kill -SIGUSR1 $PPID I get kill: (1) - Operation not permitted . How can I overcome this?
0
votes
0answers
80 views
Why message queues were not being used for any application?
In my Linux machine, when i run 'ipcs' command, I have the below information listed
srinivas@srinivas-G41MT-S2:~$ ipcs -a
------ Shared Memory Segments --------
key shmid owner ...
3
votes
2answers
227 views
Why there are only two user defined signals?
In the list of signals defined in a linux system, there are two signals stated as User Defined signals (SIGUSR1 and SIGUSR2). Other signals will be raised or caught in specific situations, but SIGUSRs ...
2
votes
1answer
357 views
Preventing ChromeOS from blanking the screen when working on a different tty
I am running Archlinux in a chroot alongside Chrome OS on a chromebook. The original project is there, my fork of it is here (mostly similar).
The issue is that the display power management of Chrome ...
1
vote
1answer
386 views
How can I determine the connection method used by a MySQL client?
When using a MySQL client (e.g. mysql) how can I determine whether it connected to the server using a Unix socket file or by using TCP/IP?
3
votes
2answers
289 views
IPC: Shared memory killed process notification
In shared memory system, when two processes share a shared memory segment, after one process is killed, how will the other running process be notified of the killed process by the shared memory system ...
3
votes
1answer
2k views
How do I increase the number of semaphore arrays in Linux?
In a Debian lenny server running postgresql, I noticed that a lack of semaphore arrays is preventing Apache from starting up.
Looking at the limits, I see 128 arrays used out of 128 arrays maximum, ...
11
votes
2answers
884 views
Is there a way to intercept interprocess communication in Unix/Linux?
For intercepting/analyzing network traffic, we have a utility called Wireshark.
Do we have a similar utility for intercepting all the interprocess communication between any two processes in ...