HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: perf logs
Operating System - HP-UX
1827293
Members
2525
Online
109717
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-06-2008 01:45 AM
05-06-2008 01:45 AM
perf logs
Hi all,
A quick question. I have ammended the parm file on one of my servers to increase the logfile for devices to 200MB. This is all good and I am now getting around 14 days worth of data for disk. The question I have is this when it gets to 200MB I assume it simply trims this file and remove the oldest data?
Cheers
A quick question. I have ammended the parm file on one of my servers to increase the logfile for devices to 200MB. This is all good and I am now getting around 14 days worth of data for disk. The question I have is this when it gets to 200MB I assume it simply trims this file and remove the oldest data?
Cheers
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2008 02:43 AM
05-06-2008 02:43 AM
Re: perf logs
Shalom,
If I'm guessing which perf logs you are talking about, the answer is yes. If you set log size to 200 MB, when that limit is reached the file will either be trimmed or a new log file created and perhaps a backup kept.
A trim of a log file normally takes out the oldest data first. It depends on whether you are using sam to do the trim or your own shell script.
Another technique I used was this.
cp logfile
> logfile
That clears it after taking a copy.
SEP
If I'm guessing which perf logs you are talking about, the answer is yes. If you set log size to 200 MB, when that limit is reached the file will either be trimmed or a new log file created and perhaps a backup kept.
A trim of a log file normally takes out the oldest data first. It depends on whether you are using sam to do the trim or your own shell script.
Another technique I used was this.
cp logfile
> logfile
That clears it after taking a copy.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2008 02:48 AM
05-06-2008 02:48 AM
Re: perf logs
Steven I'm not using Sam or anything perf is doing this itself. In otherwords when my file gets to 20MB I just need to understand if it trims that file or deletes and recreates. I guess I will find out in a few days ha ha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2008 03:04 AM
05-06-2008 03:04 AM
Re: perf logs
Don't forget that the logfile may grow LARGER than the 200MB.
It will only trim the logs when it runs it's scheduled maintenance.
Think it defaults to Midnight every day.
So if you're expecting an increase in data make sure you have the space.
Cheers
It will only trim the logs when it runs it's scheduled maintenance.
Think it defaults to Midnight every day.
So if you're expecting an increase in data make sure you have the space.
Cheers
The Devil is in the detail.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP