Operating System - HP-UX
1834048 Members
2388 Online
110063 Solutions
New Discussion

Re: Where are system logs?

 
Stoichkov
Occasional Contributor

Where are system logs?

Excuse how can i see the LOGS in my HP UX, where are located this files.

:-)
7 REPLIES 7
Kent Ostby
Honored Contributor

Re: Where are system logs?

/var/adm/syslog/* is where most of them are.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Rick Garland
Honored Contributor

Re: Where are system logs?

As stated, most in /var/adm/syslog

What logs are you wanting to see?
DCE
Honored Contributor

Re: Where are system logs?



startup lop /etc/rc.log

other logs are /var/adm amd /var/adm/syslog

you can view them with the cat command, more command, or even vi.

more /var/adm/syslog/syslog.log
HGN
Honored Contributor

Re: Where are system logs?

Hi

The different logs are in
/var/adm
sulog
shutdownlog
/var/adm/syslog
syslog.log
mail.log

Rgds

HGN
Rory R Hammond
Trusted Contributor

Re: Where are system logs?


If you are looking for syslog locations.

I would first look at /etc/syslog.conf.

this is were the locations are defined and could be modified on your system.


Rory
There are a 100 ways to do things and 97 of them are right
Ralph Grothe
Honored Contributor

Re: Where are system logs?

Though the most important system's logs have already been named
there are a few that hide in not too intuitive places.
So another hot candidate is /var/opt.

e.g.

Resource monitoring events go here

/var/opt/resmon/log/event.log

Your last system recovery backup log goes here

/var/opt/ignite/recovery/latest/recovery.log

(n.b. latest is a symlink pointing to the latest ignite subdir)

If you need to track down any difficulties with software or patch installation etc. there are the various logs

/var/adm/sw/sw*.log

Since it is common practice to place logfiles of most applications and services beneath /var on most Unices you might find many more if you run a find like

# find /var -type f -name \*log

If an application is logging via syslogd
you could look for used log facilities in
/etc/syslog.conf

But in the end nothing hinders an application developer from logging anywhere they deem appropiate, of course required permissions assumed.
So you need to consult the documentation of the various applications to be sure.
Madness, thy name is system administration
Stoichkov
Occasional Contributor

Re: Where are system logs?

Thank you very much.

I hope help you one time.
CU. :-D