1833811 Members
3846 Online
110063 Solutions
New Discussion

Unix Pipes

 
SOLVED
Go to solution
Jonas Arndt
HPE Pro

Unix Pipes

Hi All,

How do you know what process is using a specific pipe?

We have an issue where a pipe gets filled up without anybody reading from it.

Thanks,

// Jonas
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Unix Pipes

This sounds like you are using named pipes. Your best bet is to use the lsof. You can download it from:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
If it ain't broke, I can fix that.
Sridhar Bhaskarla
Honored Contributor

Re: Unix Pipes

For named Pipes, you can use fuser command to find the pid and hence the corresponding process.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
George Abraham_1
Regular Advisor

Re: Unix Pipes

hai

lsof is a good utility.. i found it very useful...

keep smiling
george
keep smiling
Jonas Arndt
HPE Pro

Re: Unix Pipes

Hi Everybody

Thank you for all the suggestions. I tried fuser, and it worked. lsof gave much more info, but we couldn't use it on the customers system, as they didn't have FTP enabled

Thanks again,

// Jonas