- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question about some log files
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
10-20-2008 05:34 AM
10-20-2008 05:34 AM
1- /var/stm/logs/sys/diaglogd_activity_log
2- Under /var/stm/logs/os, follwoing files:
-rw-r--r-- 1 root root 1880 Aug 17 2005 log1.fmt1
-rw-r--r-- 1 root root 1880 Aug 17 2005 log1.fmt2
-rw-r--r-- 1 root root 11321148 Aug 17 2005 log1.raw
-rw-r--r-- 1 root root 1018631 Jul 27 12:10 log2.fmt1
-rw-r--r-- 1 root root 51900816 Sep 29 20:59 log2.raw.cur
-rw-r--r-- 1 root root 32768 Oct 5 04:30 memlog
The questions I have about these files are as follows:
1- What kind of data these files contain?
2- How important they are?
3- Is there any utility to safely trim them?
Any help in this regard would be highly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:39 AM
10-20-2008 05:39 AM
Re: Question about some log files
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:46 AM
10-20-2008 05:46 AM
Re: Question about some log files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:48 AM
10-20-2008 05:48 AM
Re: Question about some log files
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:58 AM
10-20-2008 05:58 AM
Re: Question about some log files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:59 AM
10-20-2008 05:59 AM
Re: Question about some log files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 06:21 AM
10-20-2008 06:21 AM
Re: Question about some log files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 06:28 AM
10-20-2008 06:28 AM
Solutioncstm << EOF
ru logtool
sl
ok
exit
ok
exit
ok
EOF
once a log has been switched, you can shift the old one off somewhere else, compress it or delete it - whatever you like.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 06:38 AM
10-20-2008 06:38 AM
Re: Question about some log files
Thanks for your reply, Can you please provide me a little more detail about the switching and trimming process.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 07:05 AM
10-20-2008 07:05 AM
Re: Question about some log files
You can't tocuh this log normally cos its in binary format and still being written to. So the code snippet I posted will force diagnostics to start using another log, although that new logfile won't appear until a diagnostics event happend to create it. What you should see happen is that log2.raw.cur gets renamed to log2.raw and eventually a new file will be create called log3.raw.cur. At this point you can do waht you like with log2.raw - I would suggest moving it to somwehere with more space or backing it up. If you ever need to look at the contents of the log, then you have to go into cstm and start the logtool, select a raw log and then format it. To be honest I can't think I've ever needed to do this more than twice in 15 years of admin on HPUX. If you want to understand what's going on in logtool, look at the documentation here:
http://docs.hp.com/en/diag/stm/help/utility/logtoolc.htm
HTH
Duncan
I am an HPE Employee
