[Webinar] Streamline your web hosting managementRegister Today


ps tdiskio field is empty on AIX

Posted on 2010-04-01
Medium Priority
Last Modified: 2013-12-21
I have issue with field tdiskio for ps command on my AIX
# oslevel -s
, it's empty for each  process:
ps -e -o pid=,tdiskio= | head -5
       1       -
   94352       -
  114780       -
  118890       -
  131176       -

How I can turn system to catch real values of this field ?

Thank you.
Question by:jgb26
  • 5
  • 3
LVL 68

Expert Comment

ID: 29356632
chdev -l sys0 -a iostat=true


Author Comment

ID: 29369189
Thanks a lot.
I change the iostat to true:
# lsattr -El sys0 |grep iostat
iostat          true               Continuously maintain DISK I/O history            True

but when I run :
ps -e -o pid=,tdiskio= | head -5
I am still seeing a hyphen (-)  for tdiskio. Should  I restart the server or wait some time before it works ?


Author Comment

ID: 29372091
Do you think that this has something to do with the WLM ( Work Load Manager) configuration ? Should I configure WLM and create classes for the processes in order to be able to monitor the Disk I/O ?

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

ID: 29372160
I am able to run nmon but I would like to have Disk I/O for on specific process.
LVL 68

Expert Comment

ID: 29496058
Hi again,

iostat=true is important for the iostat and nmon commands to work correctly.

But obviously the tdiskio field of ps is not used by AIX, and I'm not aware of any way to make it work.

WLM has no influence on this, I checked it.

Sorry, no better news!


Author Comment

ID: 29828611
Thanks for your answer woolmilkporc.

I started WLM using smitty wlm and after a few minutes I was able to see tdiskio:

# ps -efo pid,tdiskio,class,args|pg
     1       0 System       /etc/init
102488       0 System       /usr/dt/bin/dtlogin -daemon
110698      24 System       /usr/lib/errdemon
123042   88776 System       /usr/sbin/syncd 60
127046   28640 System       /usr/ccs/bin/shlap64
139414     608 Default      /opt/IBM/ldap/V6.1/sbin/64/ibmdiradm -I tdsinst
143466     216 System       /usr/sbin/syslogd
155860   20984 System       /opt/IBM/tdsdb2V9.1/bin/db2fmcd
159908     268 System       /usr/sbin/rsct/bin/IBM.ServiceRMd
172092       0 System       db2ckpwd 0
176380     148 System       ./mflm_manager
180302     616 System       /usr/sbin/rsct/bin/IBM.AuditRMd
188538    1916 System       /usr/bin/xmwlm -L

my  problem is that I had to start WLM . I would like to get this same information without starting WLM. Do you have any suggestions ?

thanks again
LVL 68

Accepted Solution

woolmilkporc earned 1000 total points
ID: 29832497

you're right regarding WLM.

The reason why I didn't see this before is that in my WLM setup the total resource limits are disabled,
which obviously leads to tdiskio not being needed and thus not being filled.

And No, I don't have any idea how to get tdiskio values without using WLM and its total resource limit checking.



Author Closing Comment

ID: 31709926
Thank you

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month8 days, 16 hours left to enroll

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question