Monitor logfiles and command output on AIX using multitail.

Most applications, like operating systems, have their own logs files. Sometimes, we need to see them at the same time to troubleshoot issues. Here’s when multitail (http://www.vanheusden.com/multitail/) can help us.
This tool can be installed on an AIX box. You can download it from http://www.perzl.org/aix/index.php?n=Main.Multitail

First, check that you need some packages dependencies:

Package dependencies:
    ncurses >= 5.6

Once we have downloaded multitail and its dependencies packages, we’re going to installed them:

(lpar):[root] /tmp -> ls -ltr *.rpm
-rw-r--r--    1 root     system      3511978 Nov 18 11:12 ncurses-5.9-1.aix5.1.ppc.rpm
-rw-r--r--    1 root     system       387633 Nov 18 11:12 ncurses-devel-5.9-1.aix5.1.ppc.rpm
-rw-r--r--    1 root     system       182153 Nov 18 11:17 multitail-6.2.1-1.aix5.1.ppc.rpm
(lpar):[root] /tmp -> rpm -Uvh ncurses-5.9-1.aix5.1.ppc.rpm
ncurses                     ##################################################
(lpar):[root] /tmp -> rpm -Uvh ncurses-devel-5.9-1.aix5.1.ppc.rpm
error: failed dependencies:
        /opt/freeware/bin/bash is needed by ncurses-devel-5.9-1

Wait a minute, ncurses-devel failed because needs ‘bash’ packege as dependencies, but in our environment we don’t use bash, so we can ignore this error executing again the same command with ‘–nodeps’ options:

(lpar):[root] /tmp -> rpm -Uvh ncurses-devel-5.9-1.aix5.1.ppc.rpm --nodeps
ncurses-devel               ##################################################

Now, let’s install multitail package:

(lpar):[root] /tmp -> rpm -Uvh  multitail-6.2.1-1.aix5.1.ppc.rpm
multitail                   ##################################################

To verify the installation:

(lpar):[root] /tmp -> rpm -qa|egrep 'ncurses-|multitail'
multitail-6.2.1-1
ncurses-devel-5.9-1
ncurses-5.9-1

Once it has finished let’s play with multitail </article></div></span>
													</div><div class=

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 544 times since Fri, Jul 6, 2018
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 594 times since Wed, Jun 19, 2019
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 554 times since Fri, Apr 19, 2019
AIX Reviewing AIX Error and Boot Logs
Viewed 588 times since Wed, Mar 20, 2019
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 6844 times since Thu, Jun 21, 2018
AIX Cloning a rootvg using alternate disk installation
Viewed 628 times since Sun, Jun 30, 2019
How To Mirror VG and Root VG
Viewed 1015 times since Mon, May 21, 2018
Trouble Shooting AIX Networking
Viewed 928 times since Tue, May 22, 2018
AIX: How do you send an attachment via mail
Viewed 568 times since Mon, Jun 11, 2018
vfcpmap on VIO Server
Viewed 574 times since Tue, Jun 4, 2019