HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: piping using tee command causing script to han...
Operating System - HP-UX
1836166
Members
3311
Online
110096
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-13-2005 10:09 PM
04-13-2005 10:09 PM
piping using tee command causing script to hang
Hi all,
When I execute a very lengthy script file using say, following command
#./filename 2>&1 | tee output_file
Then my script in hanging at exit 1 command.
When I checked out it is tee command which is causing my program to hang.
Can anyone say the reason for this?
Is there some patch to solve this?
This problem is sporadic in nature..
Thanks
-Irfan
When I execute a very lengthy script file using say, following command
#./filename 2>&1 | tee output_file
Then my script in hanging at exit 1 command.
When I checked out it is tee command which is causing my program to hang.
Can anyone say the reason for this?
Is there some patch to solve this?
This problem is sporadic in nature..
Thanks
-Irfan
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 10:28 PM
04-13-2005 10:28 PM
Re: piping using tee command causing script to hang
Hey,
does it happen with all scripts? Can you show us example of the script that fails because of tee ?
does it happen with all scripts? Can you show us example of the script that fails because of tee ?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 01:27 AM
04-14-2005 01:27 AM
Re: piping using tee command causing script to hang
Hi
1)Look in /var/adm/syslog/syslog.log when this happens for filetable overflow messages or similar
suspect nfile
2)Otherwise you need patches
Steve Steel
1)Look in /var/adm/syslog/syslog.log when this happens for filetable overflow messages or similar
suspect nfile
2)Otherwise you need patches
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 01:29 AM
04-14-2005 01:29 AM
Re: piping using tee command causing script to hang
Have you tried
#./filename 2>&1 | tee -i output_file
#./filename 2>&1 | tee -i output_file
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP