- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove syslog.log and xferlog
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
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-31-2005 08:20 AM
тАО01-31-2005 08:20 AM
Thanks :)
emma
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 08:47 AM
тАО01-31-2005 08:47 AM
Solution# always nice to have a copy
cp /var/adm/syslog/syslog.log /tmp
> /var/adm/syslog/syslog.log
That starts it fresh at zero bytes.
Sam routine tasks can trim log files for you as well.
So don't remove them, they need to be there. Note that my /tmp filesystem is cleared daily by a cron script. I just like having the thing there for a few days before it disappears, case I need to look at it.
SEP
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
тАО01-31-2005 08:48 AM
тАО01-31-2005 08:48 AM
Re: remove syslog.log and xferlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 09:01 AM
тАО01-31-2005 09:01 AM
Re: remove syslog.log and xferlog
Thanks for both your responses. I used in the trim thro sam this time and in future I will setup the recommended 'script' in cron.
Thanks again
Emma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 09:17 AM
тАО01-31-2005 09:17 AM
Re: remove syslog.log and xferlog
If you havent yet, I would run cleanup which will help you greatly...
#cleanup -p -c 2
This will show in preview mode what patches are superceeded 2x... then remove the -p and run it and say yes to the prompt.
You can safely committ patches that have been superceeded 2x... this will remove any patches 2x or 3x or more superceeded.
As a side note, if you ever need to remove them in the future...(most likely never) restore from backup and then swremove.