Inter Process Communication usually refers to kernel services that allow processes on the same machine to communicate with each other.

learn more… | top users | synonyms

2
votes
1answer
39 views

Advantages of using named pipes and sockets rather than temporary files

I have two cooperating programs. One program just writes its output to a file and the other one then reads from the file and spits the data out for the front end to work with. I have been reading ...
0
votes
0answers
28 views

Stopping syslogd also closes /dev/log UNIX domain socket

I am working on a project and from some testing I found out that stopping syslogd daemon also closes /dev/log socket. Is there some other way so that even if syslogd is down, /dev/log socket still ...
1
vote
1answer
17 views

What are the files in /tmp that start with “qipc”?

There are empty files like this in my /tmp directory: qipc_sharedmemory_soliddiskinfomemac5ffa537fd8798875c98e190df289da7e047c05 ...
0
votes
0answers
102 views

Can a process running in a linux container communicate with another process running on the host OS via IPC?

I have 2 processes A and B. Currently, both A and B are running on the same OS (RHEL6.2) and the processes can intercommunicate via TCP sockets. My objective is to run process B in a Linux Container ...
6
votes
3answers
276 views

`/proc/$PID/cwd` : is there a POSIX equivalent?

Linux has a /proc directory and file‑system, which as far as I can tell, is not part of POSIX. In each /proc/$PID subdirectories, is a symbolic link, cwd, pointing to the actual working directory of ...
2
votes
0answers
88 views

Whats the sense of dbus objects?

Despite reading through tons of Dbus - tutorials, I still struggle to understand the whole concept. In my opinion this was one of the best explanations so far: ...
1
vote
0answers
112 views

Passing data from kernel space to user space in FreeBSD [closed]

I need some information regarding write requests from all applications on FreeBSD. I put a function inside the file system write call ffs_write() which collects the information into an array of ...
1
vote
0answers
74 views

Find and close/unlink message queues in the system

I have a SLES-11 machine on which I am not the root where I am building software code that makes extensive use of message queues. Due to some bugs, Now have an error: mq_open: Too many open files I ...
0
votes
1answer
380 views

Which IPC is supported in Ubuntu 12.04: POSIX or System V

How do I know which type of IPC is supported in Ubuntu 12.04: System V or POSIX Is there any command to get this ?
1
vote
1answer
261 views

Creating a terminal device for interprocess communication

I'd like to know how to create a terminal device to simulate a piece of hardware connected through a serial port. Basically, tty device with a certain baud rate that can be read from and written to ...
9
votes
4answers
5k 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
147 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
3answers
5k 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?
3
votes
3answers
650 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
1k 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
2k views

Sending SIGUSR1 to parent

When I do a kill -SIGUSR1 $PPID I get kill: (1) - Operation not permitted . How can I overcome this?
2
votes
0answers
160 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 ...
5
votes
2answers
921 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 ...
20
votes
2answers
7k views

A list of available DBus services

Is there such a thing as list of available DBus services? I've stumbled upon a few (like those provided by NetworkManager, Rhythmbox, Skype, HAL). I wonder if I can find a rather complete list of ...
2
votes
1answer
622 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 ...
4
votes
1answer
2k 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
540 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
6k 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, ...
13
votes
2answers
2k 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 ...