- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System log files Information
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
The article you are trying to access is permanently deleted.
- 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
04-12-2002 08:50 AM
04-12-2002 08:50 AM
I need information about System log files, how to know what are they recording and what are his importance.
I want to rotate logs and I need to know which of them I can compress/remove most frequently.
Where can I find it?
Thanks.
Solved! Go to Solution.
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 09:07 AM
04-12-2002 09:07 AM
Re: System log files Information
The system has a lot of log files depends on the applications/process. One important log file is the syslog.log ( /var/adm/syslog). This is the main system log file. For configuring, you can use the /etc/syslog.conf file and the syslogd daemon
# man syslogd
Also there are lot of other log files in the systems - stm logs (/var/stm/logs), /etc/shutdownlog, /etc/rc.log etc. Check the /var directory for log files
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 09:31 AM
04-12-2002 09:31 AM
Re: System log files Information
This might not be the best answer, but given the large number of logs, the most complete way would probably be to run a find command to look for everything with a .log extension (or look in SAM or just poke around) and manually open up the logs. Looking at the last couple pages of the log should give an idea about what it is recording and how often entries get put in. As to how often to trim or compress, that really depends on how you feel. Something like a syslog should not be considered the same as something that logs login attempts or something that records IP requests to the web server. You might be able to find info on some of the logs, but it's not likly that you'll find a shortcut for doing this manually, if you really want to be complete. My advice is to worry about the big ones (syslog, rclog, etc) and use something like SAM to keep everything else at a decent size.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 08:07 PM
04-12-2002 08:07 PM
SolutionMeaning these would be the ones that you would rotate. A good practice would be archived saved logs and only delete them after some time. It depends on the policy you've established at your site. In my case old log files will be deleted after 6 months.
This is just based on what I have on our system, certainly not exhaustive.
1- /var/adm/syslog/syslog
==> The "mother" of all system log files, it logs everything, bootup, hardware errors, connection, etc, etc.
2- /var/adm/syslog/mail.log
==> records all sendmail activities
3- /var/adm/cron/cron.log
==> Logs cron activation
4- /var/adm/sw/*.log
==> SD logs. The one that's going to grow the fastest is swagent.log
5- /var/adm/lp/log
==> Logs print spooler activities. Usually quite manageble unless you got a lot of print request.
6- /var/adm/utmp , wtmp , btmp
==> Holds info for commands like last, who, write and login.
7- /var/adm/sulog
==> Keep tracks of who did su.
8- /var/adm/shutdownlog
==> Keep tracks of who did a shutdown/reboot.
9- /var/sam/log/samlog
==> Logs SAM related activities.
10- /var/opt/
==> At this level, it depends on what application you have on your system. Some examples includes ..perf, OV, samba, ignite..
hope that helps ..