[haiku-commits] Re: Change in haiku[master]: iotop: Add an iotop utility

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 19 Jan 2021 10:47:55 +0100

Nice work!

Il sab 16 gen 2021, 08:40 Gerrit <review@xxxxxxxxxxxxxxxxxxx> ha scritto:

X512 has uploaded this change for *review*.

View Change <https://review.haiku-os.org/c/haiku/+/3634>

iotop: Add an iotop utility

iotop is a simple top like utility for monitoring IOs. For utility to
work, kernel must do IO accounting for each process. The patch adds
struct io_accounting in the kernel account for IOs performed by each
process.

The accounting for IO is performed in various version of read and
write system calls.

The userland part (iotop command) uses team_info mechanism to get
the accounting information in the userland. The utility provides user
with lots of options like
      - monitoring processes of particular user
      - monitoring processes based on process ids
      - only showing processes doing actual IOs
      - configuration refreshing delay

iotop also allows user to sort the output on various parameters
dynamically while running.

The utility also checks the visible terminal co-ordinates and updates
the output accordingly.


Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ie3c22685d5175ad2f00988a3347935f4e8cb9cff
Gerrit-Change-Number: 3634
Gerrit-PatchSet: 1
Gerrit-Owner: X512 <danger_mail@xxxxxxx>
Gerrit-MessageType: newchange

Other related posts: