- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What is the purpose of "/var/stm/logs/os" in H...
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
тАО01-05-2011 05:06 AM
тАО01-05-2011 05:06 AM
I am new to HPUX.
What is the purpose of the directory "/var/stm/logs/os" in HPUX.
Shall I delete all the files availble with in this directory.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2011 05:22 AM
тАО01-05-2011 05:22 AM
Solutionif you delete them I think, you can lose history of at least cc boot logs,
are you really need to delete them OR why do you need it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2011 05:31 AM
тАО01-05-2011 05:31 AM
Re: What is the purpose of "/var/stm/logs/os" in HPUX
No, not a good idea.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2011 06:02 AM
тАО01-05-2011 06:02 AM
Re: What is the purpose of "/var/stm/logs/os" in HPUX
As I need space in /var, I would like to delete.
1)Will the server not function if we are deleting those files?
2)Will the server come up if we restart the server after deleting those files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2011 07:43 AM
тАО01-05-2011 07:43 AM
Re: What is the purpose of "/var/stm/logs/os" in HPUX
How many are there? How big and how old?
You could archive all but the latest few elsewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2011 11:38 AM
тАО01-05-2011 11:38 AM
Re: What is the purpose of "/var/stm/logs/os" in HPUX
Also, depending on the server type, you may also find within this directory files such as "fpl.log.xxx", "ccbootlog", and "ccerrlog". These files are copied logs from the MP/GSP subsystem.
If you have many of these logs its an indicator that a problem has been occurring. With many log.x.raw files, this is typically a problem with an I/O device or controller. However the problem could have occurred years ago.
Before deleting anything its advised to view the logs first to see if they still apply:
To view the log.x.raw files, use STM:
#cstm --> ru --> logtool
This link will give more information regarding using logtool:
http://docs.hp.com/en/diag/archive/log_data.htm
If you are certain the logs are no longer useful they can be safely removed. However the following should NOT be removed:
memlog
log.X.raw.cur
ccbootlog and ccerrlog (if present)
If there are many FPL logs then check the dates on those. Again, if there are many logs created recently, you should check for a problem elsewhere. FPL logs can be most easily viewed using the MP Event Log viewer.
Again, if the logs are found to be out of date, they can be removed. Just do not remove the latest of these logs as it is the active one.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2011 06:48 PM
тАО01-05-2011 06:48 PM
Re: What is the purpose of "/var/stm/logs/os" in HPUX
As far as /var filling up, start by finding the biggest directories:
bdf /var
du -kx /var | sort -rn | head -20
Post the results and we can point out where space can be recovered.
Bill Hassell, sysadmin