Saturday, April 13, 2013

AIX - Scheduling unattended diagnostic data collection

I cut my teeth working with UNIX systems, but I'm kinda rusty these days.  I couldn't even remember the word 'cron' when I had to either stay up all night or setup some unattended diagnostic data collection.

Thank goodness for the 'at' command, and for this writeup which helped jog my memory and allow me some beauty sleep.

https://www.ibm.com/developerworks/mydeveloperworks/blogs/AIXDownUnder/entry/schedule_one_off_jobs_with_at15?lang=en

So, 4 hours of 15 second interval of iostat starting at 12:30 am on April 12?  No problem.  And sasquatch beauty sleep abounds! 


echo "nohup iostat -DlRT 15 960 > /home/sasquatch/temp/iostat_20130415.out" | at 0030 April 12
 

No comments:

Post a Comment