Avatar of Craig Sharp
Craig Sharp
Flag for United States of America asked on

Automating AIX filemon

I am having some performance problems on AIX.  I need to automate filemon.  Does anyone have any scripts that I can use?

Thanks
Operating Systems

Avatar of undefined
Last Comment
bmedward

8/22/2022 - Mon
bmedward

Filemon runs as a background service, what specific tasks are you looking to automate with it? Are you looking for something to parse the output logs?
Craig Sharp

ASKER
I was not aware that you could run it as a background process.

I am running this from the command line but I need to collect the data over time for say 5 min intervals and have the data written out to file for each interval.

filemon -o /tmp/filemon.out -O pv -T 320000; sleep 180; trcstop
ASKER CERTIFIED SOLUTION
bmedward

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck