- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using gzip on /var/stm/logs/os
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
02-28-2007 08:06 PM
02-28-2007 08:06 PM
Using gzip on /var/stm/logs/os
Hi ...could i use gzip command under the following path:
/var/stm/logs/os
for reducing space on disk?
Is there any problem if i run gzip under that directory ???? i mead, does it affect OS???
Thanks ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 08:30 PM
02-28-2007 08:30 PM
Re: Using gzip on /var/stm/logs/os
yes, they can be cleared, but with certain restriction.
These earlier threads will help explain:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=223774
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=958767
To help you find files that can be cleared, you may also want to read:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1035692
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 09:05 PM
02-28-2007 09:05 PM
Re: Using gzip on /var/stm/logs/os
If the log files are continuosly updated then be careful while zipping the files.this could lead to system halt.
you need to check the time stamps of the files you are zipping before using gzip. if they are old log files then you can straight away zip them. i hope my point is clear.
sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 02:41 AM
03-02-2007 02:41 AM
Re: Using gzip on /var/stm/logs/os
The links Peter gives pretty much cover the topic. I'd just like to emphasize a couple of points.
If you are getting a lot of new files (logxxx.raw) in /var/stm/logs/os , you most likely have a hardware problem that needs to be solved. If the files are old, they can be removed (after archiving if you want) as the problem is probably now fixed, you won't need to keep them.
Make sure you have a recent version of OnlineDiags installed.
Compressing or removing the files is not going to stop the system, though it might interfere with the OnlineDiags.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 03:35 AM
03-02-2007 03:35 AM
Re: Using gzip on /var/stm/logs/os
Many years ago I wrote a script to tidy up the STM logs. See attached,
Warning, this is fairly old - certainly not tested with recent versions of STM.
HTH
Duncan
I am an HPE Employee
