AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Performance testing

    Posted 06/26/14 03:36 PM

    Originally posted by: larben


    For my testing I need to capture statistics in regards to the performance of the one of the processes that runs daily on UNIX machine.  The only information I have is the executable name and time frame when program is running. 

    To get the good picture of the Memory usage  I need to monitor the performance for about two weeks.     I am new to shell scripting.  Please help me to put together the script to capture the Memory counters and CPU usage for a single process.

     

    Thank you


    #AIX-Forum


  • 2.  Re: Performance testing

    Posted 06/26/14 06:19 PM

    Originally posted by: Pave1


    memory: svmon -P -O unit=MB

    CPU: ps -ef

    script it and run it from crontab.

    Direct it  into one output file then just grep PID of the process which you are interested in.

    In ps -ef you will see number of seconds (TIME column) which the process consumed on CPUs

     

    Cheers, Pavel


    #AIX-Forum


  • 3.  Re: Performance testing

    Posted 06/27/14 11:12 AM

    Originally posted by: larben


    Pavel,

     

               I still can not understand is how to supply the executable name to get PID for this particular process/program run.

     

    Thank you


    #AIX-Forum