Operating System - HP-UX
1754919 Members
3086 Online
108827 Solutions
New Discussion юеВ

HPSMH - System and Consolidated Log Viewer

 
Roger Lavender
Frequent Advisor

HPSMH - System and Consolidated Log Viewer

Is there a way to add additional log files to this HPSMH - System and Consolidated Log Viewer under HPUX 11.31?

Presently, it only lists 'syslog' and 'mail' log files.

It would really be nice if this webpage located and listed ALL the *.log files on the server OR ANY USER ADDED log files, similar to the way SAM-Routine Tasks-System Log Files viewer did under HPUX 11.23 and previous.

Thanks.....
2 REPLIES 2
Rita C Workman
Honored Contributor

Re: HPSMH - System and Consolidated Log Viewer

Yep, annoying isn't it.

I wrote this script awhile back. Check it over and see if it might help you. So read the script first. Feel free to edit it for other logfiles.
Run it from command line and it will give you a menu with options..

Rgrds,
Rita
Hakki Aydin Ucar
Honored Contributor

Re: HPSMH - System and Consolidated Log Viewer

probably you have to be able to customize somehow the SMH menu to put new menu , via credit as far as remember.. OR you can do this in shell menu through the script like Rita recommended..
Additionally all log files here:

Log Files:
syslog /var/adm/syslog/syslog.log
mail /var/adm/syslog/mail.log
cron /var/adm/cron/log
boot /var/adm/syslog/syslog.log
sam log /var/sam/log/samlog
startup /etc/rc.log