Welcome to the Linux Foundation Forum!

iotop

Hi,

bernies questions, here is the next i tried to solve on my own but....

Chapter 17 Linux Admin- iotop
On Debian 12 the command is not found, also not as root, see screenshot, but a man entry exists.....on Alma Linux 10 as a VM no Problem....how is that i ask, and thank you for the support.

best regards

berni

Best Answers

  • luisviveropena
    luisviveropena Posts: 1,326
    edited April 15 Answer ✓

    Hi Berni,

    1.- Debian and AlmaLinux are different operating systems, AlmaLinux is binary compatible with Red Hat. So, on Debian iotiop doesn't come installed by default.

    2.- The packages for binaries and man-pages are different on Debian and Debian based distros (in general). For example: you can install the wireshark-doc package -which is the documentation- without installing wireshark, which is the binary.

    For example: wireshark-doc is the documentation package for the wireshark tool.

    3.- For searching and installing the iotop tool you just can do the following:

    luis@debiansrv:~$ apt search iotop
    iotop/stable 0.6-42-ga14256a-0.3+b1 amd64
    simple top-like I/O monitor

    iotop-c/stable 1.30-1 amd64
    simple top-like I/O monitor (implemented in C)

    luis@debiansrv:~$ sudo apt install iotop
    Installing:
    iotop

    Summary:
    Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 14
    Download size: 24.0 kB
    Space needed: 111 kB / 20.5 GB available

    Once installed you can run it using sudo.

    Regards,
    Luis.

  • luisviveropena
    luisviveropena Posts: 1,326
    Answer ✓

    Hi Berni,

    If you do 'su' only, you won't have all the root's environment, including the PATH environment variable. So use 'su -' instead.

    Regards,
    Luis.

Answers

  • Hi Luis,

    thanks for the hint,Alma and Other OS i have on Boxes(VM) for the course, i tried it but well see the screenshot, i have no idea why the installed iotop doesnot run as su?

    thanks again

    best regards

    berni

  • austrianadmin
    austrianadmin Posts: 30

    Hi Luis,

    su - instead of su.....there i see how much i can learn=)...thanks!!!

Categories

Upcoming Training