jirka@emnote ~/projects/pipestat $ tar xjvf pipestat-0.3.tar.bz2 pipestat-0.3/ pipestat-0.3/ps.c pipestat-0.3/Kbuild pipestat-0.3/Makefile pipestat-0.3/pipestat.c pipestat-0.3/TODO pipestat-0.3/ReleaseNotes pipestat-0.3/README jirka@emnote ~/projects/pipestat $ cd pipestat-0.3 jirka@emnote ~/projects/pipestat/pipestat-0.3 $ make make -C /lib/modules/`uname -r`/build M=`pwd` make[1]: Entering directory `/mnt/hda5/data/kernel/linux-2.6.25.4' LD /home/jirka/projects/pipestat/pipestat-0.3/built-in.o CC [M] /home/jirka/projects/pipestat/pipestat-0.3/ps.o Building modules, stage 2. MODPOST 1 modules CC /home/jirka/projects/pipestat/pipestat-0.3/ps.mod.o LD [M] /home/jirka/projects/pipestat/pipestat-0.3/ps.ko make[1]: Leaving directory `/mnt/hda5/data/kernel/linux-2.6.25.4' gcc -c -o pipestat.o pipestat.c gcc -o pipestat pipestat.o jirka@emnote ~/projects/pipestat/pipestat-0.3 $ su Password: emnote pipestat-0.3 # make install make -C /lib/modules/`uname -r`/build M=`pwd` modules_install make[1]: Entering directory `/mnt/hda5/data/kernel/linux-2.6.25.4' INSTALL /home/jirka/projects/pipestat/pipestat-0.3/ps.ko DEPMOD 2.6.25.4test make[1]: Leaving directory `/mnt/hda5/data/kernel/linux-2.6.25.4' cp pipestat /usr/bin emnote pipestat-0.3 # pipestat - ino pid fd mode in rds wrs wwr neb uid gid name 2440 1 10 w 0 1 1 0 0 0 0 initctl 251 502 6 w 0 1 1 0 0 0 0 - 251 502 7 w 0 1 1 0 0 0 0 - 5756 4266 4 w 0 0 1 0 0 0 0 - 8683 6179 3 w 0 1 1 0 0 1000 1000 - 8683 6179 4 w 0 1 1 0 0 1000 1000 - 8685 6179 5 w 0 1 1 0 0 1000 1000 - 8685 6179 6 w 0 1 1 0 0 1000 1000 - 9789 6179 43 w 0 1 1 0 0 1000 1000 - 9789 6179 44 w 0 1 1 0 0 1000 1000 - 8444 6183 4 r 0 1 1 0 0 1000 1000 - 8444 6183 5 w 0 1 1 0 0 1000 1000 - 8468 6183 7 w 0 1 1 0 0 1000 1000 - 8468 6183 8 w 0 1 1 0 0 1000 1000 - 8473 6183 9 w 0 1 1 0 0 1000 1000 - 8473 6183 10 w 0 1 1 0 0 1000 1000 - 8505 6183 12 r 0 1 1 0 0 1000 1000 - 8505 6183 13 w 0 1 1 0 0 1000 1000 - 8506 6183 14 r 0 1 1 0 0 1000 1000 - 8506 6183 15 w 0 1 1 0 0 1000 1000 - 9757 6183 34 w 0 1 1 0 0 1000 1000 - 9757 6183 35 w 0 1 1 0 0 1000 1000 - 8494 6218 4 r 0 1 1 0 0 1000 1000 - 8494 6218 5 w 0 1 1 0 0 1000 1000 - 8503 6218 7 w 0 1 1 0 0 1000 1000 - 8503 6218 8 w 0 1 1 0 0 1000 1000 - 8504 6218 9 w 0 1 1 0 0 1000 1000 - 8504 6218 10 w 0 1 1 0 0 1000 1000 - 8572 6218 14 r 0 1 1 0 0 1000 1000 - 8572 6218 15 w 0 1 1 0 0 1000 1000 - 8573 6218 16 r 0 1 1 0 0 1000 1000 - 8573 6218 17 w 0 1 1 0 0 1000 1000 - 8699 6218 25 w 0 1 1 0 0 1000 1000 - 8699 6218 26 w 0 1 1 0 0 1000 1000 - 8564 6264 5 r 0 1 1 0 0 1000 1000 - 8564 6264 6 w 0 1 1 0 0 1000 1000 - 8565 6264 7 r 0 1 1 0 0 1000 1000 - 8565 6264 8 w 0 1 1 0 0 1000 1000 - 8566 6264 9 r 0 1 1 0 0 1000 1000 - 8566 6264 10 w 0 1 1 0 0 1000 1000 - 18729 13411 3 r 100 1 1 0 1 1000 1000 - 18729 13411 4 w 100 1 1 0 1 1000 1000 - 18731 13413 3 r 100 1 1 0 1 1000 1000 - 18731 13413 4 w 100 1 1 0 1 1000 1000 - emnote pipestat-0.3 # pipestat -h pipestat v0.3 (olsajiri@gmail.com) usage: pipestat [-p pid] [-i inode] [-h] [-v] emnote pipestat-0.3 # pipestat -i 251 - ino pid fd mode in rds wrs wwr neb uid gid name 251 502 6 w 0 1 1 0 0 0 0 - 251 502 7 w 0 1 1 0 0 0 0 - emnote pipestat-0.3 # pipestat -p 4266 - ino pid fd mode in rds wrs wwr neb uid gid name 5756 4266 4 w 0 0 1 0 0 0 0 -