Power Systems 2009 – AIX Insights & Tricks

This was a very interesting presentation by a person from CERN. Mainly focused on some nice tricks you might wann know when the systems does not behave like it should with VMM and Memory allocation, sockets and so on.

Kernel debugging


  • p*
  • th * => actuall processlist
  • cpu => pointer to currecnt thread listet in the system
  • mempool
  • lrustate <number>


  • checks recently used pages within the memory pages
  • old pages will be paged out to jfs/jfs2
  • paging in general is not bad, only if active app-data are paged in/out every minute
  • if a RAC system pages, the system is more or less dead.

Memory debugging


  • vmstat => info on current memory usage (pinned page size / etc)

latency vs throughput of memory pages

TSM performance read-ahead and write-behind are most important for fast TSM transactions

read-ahead in tunable vmo:

  1. min-pgahead
  2. max-pgahead
  3. j2_minPageReadAhead
  4. j2_maxPageReadAhead

write-behind in tunable vmo:

  1. maxrandwrite
  2. j2_maxRandomWrite

svmon options

  • svmon -P => call processes with memory usage
  • svmon -p PID => info for 1 process

Sockets within AIX and who uses them

Normaly it is not easy to find out who uses a socket within the AIX system. Here is a way, not easy, but works:

netstat -An (find the socket and the Pointer-number within the list)

kdb => sockentinfo POINTERNUMBER

A SLOT value will be shown which is equal to the aix processnumber


A real nice idea is to mount a FS via SSH from a remote system instead of using NFS. With this, all permissions will be mounted also.


sshfs user@server:/directory /mountpoint


fusermount -u /mountpoint

This entry was posted in aix and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.