InfaUtils

InfaUtils

Posted by: Informatica Success Portal

Infautils is a platform-independent handy utility that is a collection of tools used in analyzing Informatica processes and log files. 
Tools are grouped as "commands" making it easy for users to run. 
The help text groups these "commands" into logical sections indicating the capability.

Overview

Infautils is a platform-independent handy utility that is a collection of tools used in analyzing Informatica processes and log files. 
Tools are grouped as "commands" making it easy for users to run. 
The help text groups these "commands" into logical sections indicating the capability.

Features

See README.txt for the full detail.

 

FEATURES:

=================

 

- Troubleshooting utilities for Informatica environments.

- Specialized parsing for diverse log types.

- System process utilities, specifically for Informatica products.

- Additional utilities for SSL and network

 

VERSION

=================

 

v1.e (build 2025.07.08)

 

PRE-REQUISITES

=================

 

- Tool is a runnable jar file that needs minimum JDK version of 21

 

 

EXECUTION

=================

 

On Linux

JAVA_HOME/bin/java -jar infautils-ext.jar <options>

 

On Windows

JAVA_HOME\bin\java.exe -jar infautils-ext.jar <options>

 

 

EXAMPLE

=================

 

Validating Java version as 21+

 

               C:\temp\i>java -version

               openjdk version "21.0.4" 2024-07-16 LTS

               OpenJDK Runtime Environment Zulu21.36+18-SA (build 21.0.4+7-LTS)

               OpenJDK 64-Bit Server VM Zulu21.36+18-SA (build 21.0.4+7-LTS, mixed mode, sharing)

 

 

To get the help text:

 

**************************************************************************************************************

infautils - a collection of useful utils

v1.e (build 2025.07.08)

 

Usage: infautils [command or alias [arguments...]]

 

              [command]    [alias]

        cloudprocstatus        cps   List IICS secure agent processes

          dislogsparser        dis   Parses mapping, profiling, workflow and EDD log messages from DIS logs

              findclass         fc   Recursively search for a java class inside a folder

           hawklogparse       hawk   Parse a HAWK log to extract {"message" json log messages

         httpfileserver        hfs   A simple http file server

   infadomainprocstatus        ips   List Informatica domain processes

           tomcatparser     tomcat   Parse DI tomcat log and extract DTM load and summary

 

 

For all commands, run "infautils help"

**************************************************************************************************************

 

 

 

 

To get the full help text:

 

**************************************************************************************************************

C:\temp\i>java -jar infautils-ext.jar help

 

infautils - a collection of useful utils

v1.e (build 2025.07.08)

 

Usage: infautils [command or alias [arguments...]]

 

  communication commands

 

                 [name]  [alias]   [help]

               freeport            Lists a free port on the system starting from 8080

         httpfileserver   hfs      A simple http file server

 

 

  data parsing/file manipulation commands

 

                 [name]  [alias]   [help]

                  cksum            Prints the crc32, md5, sha1 and sha256 values for a file or files

          dislogsparser   dis      Parses mapping, profiling, workflow and EDD log messages from DIS logs

           hawklogparse  hawk      Parse a HAWK log to extract {"message" json log messages

           millistodate   m2d      Converts millis to zoned date

          netstatparser  nstat     Parse netstat output's TCP connections and provide a summary

           tomcatparser  tomcat    Parse DI tomcat log and extract DTM load and summary

 

 

  misc commands

 

                 [name]  [alias]   [help]

                  alias            Lists all command aliases

              findclass    fc      Recursively search for a java class inside a folder

                     ip            List all active IPs used by this machine

 

 

  process commands

 

                 [name]  [alias]   [help]

        cloudprocstatus   cps      List IICS secure agent processes

   infadomainprocstatus   ips      List Informatica domain processes

               proctree  ptree     Prints the process tree of supplied PID

 

 

  ssl commands

 

                 [name]  [alias]   [help]

             addtostore            Adds certs from an SSLServer or file to a JKS/JCEKS/PKCS12/PEM truststore

         liststorecerts            Lists certs from a JKS/JCEKS/PKCS12/PEM truststore

             printcerts            Prints certs of the supplied server or file

 

 

  system commands

 

                 [name]  [alias]   [help]

                  debug     d      Turn on debug logging on the fly

                   help     h      Prints this help text, or help text for a valid command/alias

                version     v      Print version

 

 

Debug logging options:

  run infautils with the debug flag: Eg: infautils debug <command> <command args>

  or, set env DEBUG=true

 

Run "infautils help -v" for detailed help on all commands

**************************************************************************************************************

 

 

NOTE: Some commands have "alias" strings that allows for easy command input and execution.

For example, instead of running

               java -jar infautils-ext.jar infadomainprocstatus

 

you can run with its alias "ips" for the same output

               java -jar infautils-ext.jar ips