- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to create formatted output from oracle dat...
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
06-13-2002 04:35 AM
06-13-2002 04:35 AM
date
How I could accomplish this?
pls. find below typical output from log file:
ORA-00279: change 104641228 generated at 06/04/2002 22:41:24 needed for thread 1
ORA-00289: suggestion : /oradata/archive/36011.rdo
ORA-00280: change 104641228 for thread 1 is in sequence #36011
ORA-00278: log file '/oradata/archive/36010.rdo' no longer needed for this recovery
Log applied.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 04:44 AM
06-13-2002 04:44 AM
Re: How to create formatted output from oracle database log file?
with awk or perl you can do this.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 05:25 AM
06-13-2002 05:25 AM
Re: How to create formatted output from oracle database log file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 11:01 PM
06-13-2002 11:01 PM
Solutionawk '
/^ORA-00279/ {dattim = $6 $7}
/^ORA-00278/ {print dattim, $4}
' < ALERT_FILENAME >> OUTPUT_FILENAME
Where
ALERT_FILENAME is the name of the 'log file' you describe
and
OUTPUT_FILENAME is the output file you want to create
- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 07:18 AM
06-14-2002 07:18 AM
Re: How to create formatted output from oracle database log file?
select sequence#,first_time from v$log_history;
hth
AR