[ IOTop ] [ 0.2 ] A top utility for IO powered by Gotty 4 the WebUI

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 3867
Joined: Wed Mar 27, 2013 1:00 am

[ IOTop ] [ 0.2 ] A top utility for IO powered by Gotty 4 the WebUI

Post by QNAP_Stephane » Sun Apr 30, 2017 2:01 am

Image

Source : https://github.com/Tomas-M/iotop

Download :

x64 version : https://www.qnapclub.eu/fr/qpkg/447

Note :

Static built
added to NAS PATH

WebUI powered by Gotty : https://github.com/yudai/gotty

Binary flags for ssh use :

Code: Select all

--version             show program's version number and exit
-h, --help            show this help message and exit
-o, --only            only show processes or threads actually doing I/O
-b, --batch           non-interactive mode
-n NUM, --iter=NUM    number of iterations before ending [infinite]
-d SEC, --delay=SEC   delay between iterations [1 second]
-p PID, --pid=PID     processes/threads to monitor [all]
-u USER, --user=USER  users to monitor [all]
-P, --processes       only show processes, not all threads
-a, --accumulated     show accumulated I/O instead of bandwidth
-k, --kilobytes       use kilobytes instead of a human friendly unit
-t, --time            add a timestamp on each line (implies --batch)
-q, --quiet           suppress some lines of header (implies --batch)
About :

Your Linux server is too slow or load is too high? One of the possible causes of such symptoms may be high IO (input/output) waiting time, which basically means that some of your processes need to read or write to a hard drive while it is too slow and not ready yet, serving data for some other processes.

Common practice is to use iostat -x in order to find out which block device (hard drive) is slow, but such information is not always much helpful. It could help you much more if you knew which process reads or writes the most data from your slow disk, so you could possibly renice it using ionice or even kill it.

IOTop will identify processes, which use high amount of input/output requests on your machine. It is similar to the well known top utility, but instead of showing you what consumes CPU the most, it lists processes by their IO consumption. Inspired by iotop python script from Guillaume Chazarain, but rewritten to C by Vyacheslav Trushkin so it now runs without python at all.

Image
Last edited by QNAP_Stephane on Wed Oct 21, 2020 5:14 pm, edited 2 times in total.
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

DASHIP
New here
Posts: 7
Joined: Fri Oct 20, 2017 9:40 pm

Re: [ IOTop ] [ 0.1 ] A top utility for IO powered by Gotty 4 the WebUI

Post by DASHIP » Thu Nov 02, 2017 5:09 am

Excellent work. I was looking for something like this, and so far QNAP has not compiled the options and bits to allow iotop use from the command line. Thanks very much. Looking forward to trying this tonight.

tholau
First post
Posts: 1
Joined: Sun Jul 03, 2011 5:54 pm
Location: Cologne, Germany

Re: [ IOTop ] [ 0.1 ] A top utility for IO powered by Gotty 4 the WebUI

Post by tholau » Tue Oct 20, 2020 12:56 pm

Unfortunately IOTop will be banned by the actual version of the QNAP firmware - 4.5.1.1456 on TVS-671.
I re-installed it it works for a short time and then gives the following message:
"[App Center] IOtop has an invalid digital signature. The app has stopped and cannot be installed on QTS. You can remove it in the App Center."

Any chance of a "revival" of this great tool?
It helped me a lot in the past!
TS-659 PRO II w/ 6* Hitachi HDS5C3030ALA630, RAID 5, 13855.08 GB net

User avatar
QNAP_Stephane
Experience counts
Posts: 3867
Joined: Wed Mar 27, 2013 1:00 am

Re: [ IOTop ] [ 0.1 ] A top utility for IO powered by Gotty 4 the WebUI

Post by QNAP_Stephane » Wed Oct 21, 2020 5:13 pm

been fixed
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

Post Reply

Return to “Community Apps”