- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fuser (or lsof) doesnt show anything listening on ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 02:44 AM
03-28-2007 02:44 AM
fuser (or lsof) doesnt show anything listening on a pipe
I have an rx8640 11.23 ia64 and have come across a problem. If I do
mkfifo /tmp/fifo1 ; cat /tmp/fifo1 &; fuser /tmp/fifo1
I should see the process listening on that FIFO. I get this working on a 11.00 machine but my 11.23 and 11.11 doesnt show anything?
Any help most appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 02:51 AM
03-28-2007 02:51 AM
Re: fuser (or lsof) doesnt show anything listening on a pipe
try "fuser -cu /tmp"
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have only awarded points to 2 of 34 answers !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 06:05 PM
03-28-2007 06:05 PM
Re: fuser (or lsof) doesnt show anything listening on a pipe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 07:49 PM
03-28-2007 07:49 PM
Re: fuser (or lsof) doesnt show anything listening on a pipe
in my suggestion the fuser -cu is run against /tmp, NOT /tmp/fifo1, which will avoid the file system message.
And the cat process is listed if you use the above command.
# ./a.sh
root 4947 4945 0 08:47:44 pts/tb 0:00 cat /tmp/fifo1
cat process is 4947
/tmp: 1999o(root) 1278o(root) 1331o(root) 4947c(root) 1309o(root) 1347o(root) 4945co(root) 4534c(root) )
# cat a.sh
#!/usr/bin/sh
mkfifo /tmp/fifo1
cat /tmp/fifo1 &
ps -ef | grep fifo | grep -v grep
process=`ps -ef | grep fifo | grep -v grep | awk '{print $2}'`
echo "cat process is $process"
fuser -cu /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 08:09 PM
03-28-2007 08:09 PM
Re: fuser (or lsof) doesnt show anything listening on a pipe
I'm not sure how that is helpful. Your output just shows "c", that cat(1) has /tmp as the current working directory. If you were somewhere else, fuser wouldn't show anything. (Yes, that's what happens.)
And it still works this way on 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 08:10 PM
03-28-2007 08:10 PM
Re: fuser (or lsof) doesnt show anything listening on a pipe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 08:14 PM
03-28-2007 08:14 PM
Re: fuser (or lsof) doesnt show anything listening on a pipe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 08:32 PM
03-28-2007 08:32 PM
Re: fuser (or lsof) doesnt show anything listening on a pipe
I said I did.
I looked up your problem and there already is an existing bug report: CR JAGaf47940
11.11 fuser(1M) fails to detect processes sleeping in fifo_open()
You still should contact the Response Center since it looks like nothing has been done about it. Mention the above CR number since it a bunch of details.