- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- logs to check
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
01-31-2006 07:31 PM
01-31-2006 07:31 PM
Hello,
Iam new to HP Unix, could you please suggest the various logs to check in a HP unix server for diagnoizing problems/performance.
Thanks in advance,
Bond.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:36 PM
01-31-2006 07:36 PM
Re: logs to check
cd /var/adm
ll btmp (bad login attempts - check in case of people trying to hack into your system)
ll sulog (switch-user log - check in case it grows large and takes up too much space)
ll wtmp (successful user logins)
ll cron (scheduled jobs - log may grow large)
ll lp (print log - may grow large)
cd syslog
ll
Check the size of mail.log in case it grows large.
grep -Ei "warning|error" syslog.log - check for problems in the system log. You may like to read syslog.log to see what (if anything) is going wrong.
Trim syslog.log via SAM every day so you're not reading the same errors the next day.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:41 PM
01-31-2006 07:41 PM
Re: logs to check
1) /var/adm/syslog/syslog.log
it may differ based on /etc/syslog.conf
2) dmesg
which is more important.
3) /var/adm/
directory is containing different logs.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:42 PM
01-31-2006 07:42 PM
Re: logs to check
Dear bond,
The /var/adm/syslog/syslog.log has the current log and
/var/adm/syslog/OLDsyslog.log has the previous boot error log.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:53 PM
01-31-2006 07:53 PM
Re: logs to check
you can check these logs on periodic basics.
#ll /var/adm
#dmesg
#tail -100f /var/adm/wtmp
#tail -100f /var/adm/btmp
#tail -100f /var/adm/syslog/syslog.log
#tail -100f /var/adm/cron/log
#tail -100f /var/adm/syslog/mail.log
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 08:01 PM
01-31-2006 08:01 PM
Re: logs to check
Furthermore, btmp and wtmp are data files, so tail is of limited value on them.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 08:20 PM
01-31-2006 08:20 PM
Re: logs to check
Startup log - /etc/rc.log - provides information regarding system boot related messages.
System log (Provides most of the information) - /var/adm/syslog/syslog.log
Check Dmesg
Check Sulog, wtmp etc from secutiry side.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 08:29 PM
01-31-2006 08:29 PM
Re: logs to check
You can also login to MP and get the logs
forward process log
error log
etc.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 08:32 PM
01-31-2006 08:32 PM
Re: logs to check
1. /etc/shutdownlog
2. /var/adm/sw
First one tells you the reason for shutdown and the second one contains different log files for SDUX (Software Management).
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 06:30 AM
02-01-2006 06:30 AM
Re: logs to check
#dmesg
#cat /var/adm/syslog/syslog.log
#strings /var/adm/wtmp
#strings /var/adm/btmp
#cat /etc/shutdownlog
etc...
Cheers
Indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 08:34 PM
02-13-2006 08:34 PM
Re: logs to check
If the machine has STM installed, then you may run cstm --> logtool and collect the event logs.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2006 09:18 PM
02-13-2006 09:18 PM
Re: logs to check
#tail -100f /var/adm/wtmp
#tail -100f /var/adm/btmp
Won't work.
These two files store data in a binary format.
To get meaningful output you should use the last and lastb commands.
To get useful output from these raw files the output needs to be run through strings command.
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
02-13-2006 10:37 PM
02-13-2006 10:37 PM
Re: logs to check
hi bond
more /var/adm/syslog/syslog.log | grep -i error
more .....| grep -i warn
more ///sylo... | grep -i fail
last -R | more
dmesg
/var/mail/root
hth
shri