via ipkg available (and flawlessly working on standard ubuntu distributions) is the small python script iotop (http://guichaz.free.fr/iotop), which looks much like top, but displays the i/o operations for each process, like the following extract shows:
Code: Select all
PID USER DISK READ DISK WRITE SWAPIN IO> COMMAND
2285 root 0 B/s 164.80 K/s 0.00 % 0.00 % [kjournald]
1931 userxyz 1.04 M/s 0 B/s 0.00 % 0.00 % find . -name *xyz*
9198 root 0 B/s 0.80 K/s 0.00 % 0.00 % java -Djava.util.logging.manager...
This very nice utility could show what is going on, on my TS-109 II, and why (with some additional daemons running) it refuses to turn off its disk(s). Unfortunately, it doesn't work because of a kernel version < 2.6.20 (3.1.0 has 2.6.12) and the disabled kernel options CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT and CONFIG_TASK_IO_ACCOUNTING. So my wish for the upcoming release would be that the requirements for this handy tool would be met, or iotops functionality even somehow integrated into the qnap resource monitor.