I ran diskmon on my 5big2 this night (because I have also some spin down issue on the system disk)
And indeed I was noticing these amazing lines with diskmon:
- Code: Select all
==== Sun Sep 20 00:40:01 CEST 2020 ====
[24452.405340] diskmon(10430): dirtied inode 176 (ld-linux.so.3) on sda2
[24452.405399] diskmon(10430): dirtied inode 126 (ld-2.17.so) on sda2
[24452.406715] awk(10430): dirtied inode 143 (libm.so.6) on sda2
[24452.406775] awk(10430): dirtied inode 186 (libm-2.17.so) on sda2
[24452.407257] awk(10430): dirtied inode 177 (libc.so.6) on sda2
[24452.407315] awk(10430): dirtied inode 149 (libc-2.17.so) on sda2
[24452.441991] diskmon(10431): dirtied inode 63 (busybox) on sda2
[24452.443351] dmesg(10431): dirtied inode 10833 (libtirpc.so.1) on sda2
[24452.443413] dmesg(10431): dirtied inode 10257 (libtirpc.so.1.0.10) on sda2
[24452.444003] dmesg(10431): dirtied inode 146 (libnsl.so.1) on sda2
[24452.444061] dmesg(10431): dirtied inode 198 (libnsl-2.17.so) on sda2
[24452.444365] dmesg(10431): dirtied inode 180 (libpthread.so.0) on sda2
[24452.444413] dmesg(10431): dirtied inode 130 (libpthread-2.17.so) on sda2
...
[25653.174654] sleep(20297): dirtied inode 178 (librt.so.1) on sda2
[25653.174720] sleep(20297): dirtied inode 172 (librt-2.17.so) on sda2
[25654.278750] diskmon(20306): dirtied inode 70 (date) on sda2
...
[26252.913683] diskmon(25222): dirtied inode 11180 (awk) on sda2
[26252.915790] diskmon(25224): dirtied inode 11078 (gawk) on sda2
[26252.917478] awk(25224): dirtied inode 10282 (libgcc_s.so.1) on sda2
Thank you for your explanation :thumbup about dirty inode because up to now I do not understand why we got that and indeed the firmware partition is mounted with the option relatime :pound
- Code: Select all
root@Acrab:/ # mount
/dev/sda2 on / type ext3 (rw,relatime) <=============== here
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (rw,noatime)
Not fully, the firmware uses busybox applet but also standard command :Mijzelf wrote:Does diskmon run in busybox ash? AFAIK that uses 'internal' du, grep, ...
- Code: Select all
root@Acrab:/ # ls -al /usr/bin/du
-rwxr-xr-x 1 root root 100312 2012-10-01 20:30 /usr/bin/du
root@Acrab:/ # whereis grep
grep: /bin/grep /usr/bin/grep
root@Acrab:/ # ls -l /bin/grep /usr/bin/grep
lrwxrwxrwx 1 root root 7 2017-05-27 19:41 /bin/grep -> busybox
-rwxr-xr-x 1 root root 100420 2009-02-13 21:45 /usr/bin/grep
=> so need to update the script for using full path