Hi,
I'm trying to write a script where i'm trying to grep the PID and the associated file and list them. Then execute the KILL command sequentially on the listed PID's for ".tra" files
====================================================
ps -aux | grep mine
adm 27739 0.2 0.8 1131588 277496 ? Sl May29 129:13 /opt/bin/mine --pid --run --propFile /opt/tib/tra/domain/eng/ABC_Process.tra --innerProcess
adm 28765 0.8 1.6 1015652 533404 ? Sl Jun12 250:24 /opt/bin/mine --pid --run --propFile /opt/tib/tra/domain/eng/XYZ_Process.tra --innerProcess
adm 29132 1.6 2.9 1618840 970624 ? Sl Jun23 214:49 /opt/bin/mine --pid --run --propFile /opt/tib/tra/domain/eng/BCY_Archive.tra --innerProcess
=====================================================
Expecting Output like:
================
adm 27739 ABC_Process.tra
adm 29132 BCY_Archive.tra
--- Murali.