- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stdout file re-direction
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-27-2005 07:09 PM
03-27-2005 07:09 PM
stdout file re-direction
i have a query with "stdout" file.
i want to re-direct the output of stdout to a new file ..how can it be done?
secondly,
sometimes stdout is full or nothing gets wriiten in it..why is it so?
everytime i have to stop & start the application so that contents are written to "stdout"
Thanx & Regards,
ABHI K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 07:16 PM
03-27-2005 07:16 PM
Re: stdout file re-direction
So to redirect stdout, yuo need to use
1 > yourfile
I don't understand you second point. stdout does not get full. Whatever output there is, will be written to stdout. Also you error messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 07:27 PM
03-27-2005 07:27 PM
Re: stdout file re-direction
i meant to say,if there is nothing being written to stdout,what can be the cause?
i nullify stdout daily through cron..
last night it got nullified as "stdout.date"
but new nullified stdout file was not showing any contents...( tail -f stdout)
i restarted the application..then everything went on smoothly...
this has happened 4th time in this month itself,where only thing i could do is to restart the application which ultimately hampers production system...
i have checked log files but it is not showing any error or debug messages or any warnings...
Regards
ABHI K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 07:43 PM
03-27-2005 07:43 PM
Re: stdout file re-direction
If you are using an ordinary file by name "stdout", are you sure you are the only one with access to these files? Looks like someone else may be just deleting or moving these files. If this is done, then what you see happens. i.e. there won't be anything written to the file. And tail -f will show nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 10:00 AM
03-28-2005 10:00 AM
Re: stdout file re-direction
HTH
-- Rod Hills