http://www.ibm.com/developerworks/aix/tutorials/au-interceptcall/index.html interceptcall.pdf In this article I have showed how to get individual system call number using dbx. We can also get all system calls from procfs as follows: #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <sys/procfs.h> #define BUFSIZE 1024*64 int main() { prsysent_t *prsysp; char buffer[BUFSIZE]; int fd,... [More]

I find many people are confused with this question. They usually think it is " maxuproc". In fact " maxuproc" means maximum number of processes per user. And the maximum number of processes for aix 5.3/6.1/7.1 is 256k.

This tool will show detail info about a jfs2 fs. You can run it regardless of whether the fs is mounted. For example: ./j2info /dev/fslv00 > fs.log Then it will generate 3 files: fs.log, inoblk.log, blks.log. In fs.log we have metadata and detail info for all inodes. From inoblk.log we can know how many blocks each inode has used: #more inoblk.log ino blocks 2 0 3 0 4 1 32 0 64 0... [More]

For large heavy-used jfs2 file system, it will take long time to umount it. But if you manually run "sync" before umount, you will find the total time of "sync+umount" is much less than umount merely. But theoretically both syncd and umount itself will do same work as sync..... Why does sync has better performance? The reason is that sync will use multi-threads when it update "dirty" data of jfs2 file system. But syncd just use one thread for one gfs type. Such design is reasonable. When... [More]