From b015e7031b65515c85b2b3a66825d6e9f7810d15 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 4 Nov 2021 23:38:59 -0500 Subject: [PATCH] Add iotop to diagnose drive usage issues --- rootfs/standard/usr/bin/mynode_post_upgrade.sh | 2 +- setup/setup_device.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index 1efdc378..602201f6 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -115,7 +115,7 @@ if ! skip_base_upgrades ; then $TORIFY apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev $TORIFY apt-get -y install libudev-dev libusb-1.0-0-dev python3-venv gunicorn sqlite3 libsqlite3-dev $TORIFY apt-get -y install torsocks python3-requests libsystemd-dev libjpeg-dev zlib1g-dev psmisc - $TORIFY apt-get -y install hexyl libbz2-dev liblzma-dev netcat-openbsd hdparm + $TORIFY apt-get -y install hexyl libbz2-dev liblzma-dev netcat-openbsd hdparm iotop # Install device specific packages if [ $IS_X86 = 1 ]; then diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 57eae68b..02f9ec8a 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -183,7 +183,7 @@ apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncu apt-get -y install zlib1g-dev libudev-dev libusb-1.0-0-dev python3-venv gunicorn apt-get -y install sqlite3 libsqlite3-dev torsocks python3-requests libsystemd-dev apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev liblzma-dev netcat-openbsd -apt-get -y install hdparm +apt-get -y install hdparm iotop # Install device specific packages if [ $IS_X86 = 1 ]; then