- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Time Stamp of Files generated on HP-UX
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
Discussions
Discussions
Forums
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
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-04-2009 08:53 PM
тАО03-04-2009 08:53 PM
The time stamp of files generated on HP-UX is in hh:mm format. Is there any possiblity to change the time stamp to hh:mm:ss format.
This is required to check the oracle logs generated on system with hh:mm:ss format, So that i can calculate the number of logs generated in seconds.
Thanks,
Narendra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 09:27 PM
тАО03-04-2009 09:27 PM
Solutionhttp://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1123761
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=613639
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=56792
- Tags:
- ls.cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 09:31 PM
тАО03-04-2009 09:31 PM
Re: Time Stamp of Files generated on HP-UX
$ dumpmsg /usr/lib/nls/msg/C/ls.cat > ls.msg
$ vi ls.msg
Change message 12 to: 12 %b %2d %H:%M:%S
$ gencat ls.cat ls.msg
$ NLSPATH=%N.cat ll
... 369 Mar 4 21:31:15 ls.cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2009 09:43 PM
тАО03-04-2009 09:43 PM
Re: Time Stamp of Files generated on HP-UX
You want to use the stat funrtion from perl or a program, or get ahold of the 'fstat' tool.
Perl will happily do all the file lookups (glob) and math and output formatting as well.
Mind you, IMHO... If you truly need the 'number of logs per second', then you are living in a crazy world!
Either this is a very sophisticate application doing lots of log-shipping to keep a DR site in sync, or it is a very dumb application which totaly undersized the redo logs.
WHY is the system creating more than 1 redo log every 'several minutes' ?
What will you do with the redo logs/second number?
Why not sample for a minute, count and divide?
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2009 11:05 PM
тАО08-18-2009 11:05 PM