- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
05-31-2000 01:31 AM
05-31-2000 01:31 AM
NEW AS SYS ADM
WICH LOG FILES SHOULD I TRIM OR DELETE? HOW TO NOW WHEN THEY ARE BIG
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2000 01:47 AM
05-31-2000 01:47 AM
Re: LOG FILES
here some log files (HP-UX 10.x/11.x) to look frequently:
/var/adm/syslog/syslog.log
/var/adm/syslog/mail.log
Also the history of login is recorded in:
/var/adm/wtmp
Trimming this file is a little bit complex.
If you delete the file you have no login history but it would be automatically recreated after the next login.
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2000 01:50 AM
05-31-2000 01:50 AM
Re: LOG FILES
I assume your O.S is 10.2 or 11.x, you can trim or clear big log files by easy way use SAM as following.
SAM->Routine Tasks->System Log Files
select log files then take action (trim to zero,trim to recommend size , etc)
by the way you can change recomment size of log files.
Regards,
Worapoj.P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2000 02:14 AM
05-31-2000 02:14 AM
Re: LOG FILES
/var/stm/logs/os
keep an eye on them. If they are growing it indicates a hardware problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2000 03:20 AM
05-31-2000 03:20 AM
Solutionyou can trim /var/adm/wtmp or btmp to zero and any othe log files with this command
cat /dev/null > /var/adm/wtmp.
Check the in /var/preserve for the fbackup log files. Check /var/spool/lp/request/printername.
You can also put this line in your cron file:
30 23 1-7 5,12 * cat /dev/null > /varadm/wtmp
man cron for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2000 07:56 AM
05-31-2000 07:56 AM
Re: LOG FILES
This will enable the log files, uucp spool files and temperarily files to be removed at system boot from their locations