AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

filemon in AIX 6.1.6.2 is hanging on 'trclogio'

  • 1.  filemon in AIX 6.1.6.2 is hanging on 'trclogio'

    Posted Tue June 28, 2011 05:34 PM

    Originally posted by: ltus1


    hello world, need help please, while running filemon in AIX 6.1.6.2 the process 'trclogio' is hanging per:

    Hi again, no output yet as filemon is really running a long time, much past the 30 seconds & trcstop specified at cmdline per:

    filemon -v -T 50331648 -o fmon_all.`uname -n`.$(date +\%m\%d\%H\%M\%S\%Y).out -O all;sleep 30;trcstop

    am I running filemon incorrectly per the output of ‘ps –aefk/etc’
    (the trclogio appears to be runaway/stuck but eventually does finish up about 15 minutes later):
    root@hpsmtsdv:
    (/home/lindseyt/FILEMON)> ps -aefk | egrep '[t]rc|[t]ra|[1]4090336' | egrep -vi 'java|kproc'
    root 1769636 1 120 10:47:13 - 20:21 trclogio
    root 14090336 27197452 0 09:58:55 pts/6 0:00 -ksh
    root 24838212 1 0 10:47:13 pts/6 0:00 /usr/bin/trace -ad -L 945145036 -T 50331648 -j 00A,001,002,003,38F,005,006,139,465,102,10C,106,4B0,419,107,101,104,10D,15B,12E,130,163,19C,154,3D3,137,1BA,1BE,1BC,10B,AB2,221,232,1C9,2A2,2A1,222,228,45B,5D8, -o -
    root 39387166 14090336 0 10:47:43 pts/6 0:00 trcstop
    root@hpsmtsdv:
    (/home/lindseyt/FILEMON)>

    If I “kill -1/3/15/9 PID” nothing is populated in the output file and it does not die immediately either………..
    Help, please…………. This is scary now in that nothing is operating as expected anymore………..
    Is there that much difference in “how things operate” from 5.3 to 6.1??????????

    Appreciate all help knowing you are busy……….

    Lindsey
    #AIX-Forum


  • 2.  Re: filemon in AIX 6.1.6.2 is hanging on 'trclogio'

    Posted Wed June 29, 2011 04:27 PM

    Originally posted by: ltus1


    ibm helpdesk clarified usage is different between 5.3 & 6.1:
    5.3 syntax:
    filemon -v -T 50331648 -o fmon_all.`uname -n`.$(date +\%m\%d\%H\%M\%S\%Y).out -O all; sleep 30; \ trcstop
    6.1 syntax:
    filemon -o fmon.out -Oall,detailed; sleep 10; trcstop

    key diff is the detail now is specified in 6.1 per the "-Oall,detailed" where 5.3 is the "-v"

    works fine now with all output captured......... hth :)
    #AIX-Forum