HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't log frecover output
Operating System - HP-UX
1833821
Members
2655
Online
110063
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
12-08-1999 07:14 PM
12-08-1999 07:14 PM
Can't log frecover output
Hi
I have tried to log the output when running the frecover command (with -N
option), in order to check which files are recovered.
But no matter what I do the log file stays empty. I have for instance tried the
following:
frecover -r -v -N -f /dev/rmt/0m | tee -a logfile.txt
and
frecover -r -v -N -f /dev/rmt/0m > logfile.txt
Does anyone have an idea how to get this information into the log file?
Thanks in advance
/Christian
I have tried to log the output when running the frecover command (with -N
option), in order to check which files are recovered.
But no matter what I do the log file stays empty. I have for instance tried the
following:
frecover -r -v -N -f /dev/rmt/0m | tee -a logfile.txt
and
frecover -r -v -N -f /dev/rmt/0m > logfile.txt
Does anyone have an idea how to get this information into the log file?
Thanks in advance
/Christian
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-1999 10:43 PM
12-08-1999 10:43 PM
Re: Can't log frecover output
Try redirecting standard error as wel as standard out.
add:
2>&1
to either of the commands you are trying.
add:
2>&1
to either of the commands you are trying.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-1999 11:31 PM
12-08-1999 11:31 PM
Re: Can't log frecover output
Thanks
That works, for some reason frecover must write its output to standard error
instead of standard output.
I discovered that if I want the standard error output both in a log file and to
the screen, the following command works:
frecover -r -v -N -f /dev/rmt/0m 2>&1 | /bin/tee -a logfile.txt
/Christian
That works, for some reason frecover must write its output to standard error
instead of standard output.
I discovered that if I want the standard error output both in a log file and to
the screen, the following command works:
frecover -r -v -N -f /dev/rmt/0m 2>&1 | /bin/tee -a logfile.txt
/Christian
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