summaryrefslogtreecommitdiff
path: root/iotop
AgeCommit message (Collapse)Author
2019-01-04iotop: add major/minor fault statsMinchan Kim
Provide major/minor fault stats. It would be helpful to see per-process memory consumption speed. It is also useful to see read IO caused by major fault, which is critical for app latency. Bug: 114325007 Test: iotop -h Test: iotop -m 10 -s faults Change-Id: If9670a4efe76bcd67b9caedb3427b69896ebed17 Signed-off-by: Minchan Kim <minchan@google.com> [Added sorter for major+minor faults] Signed-off-by: Sandeep Patil <sspatil@google.com>
2018-05-04Convert to SoongDan Willemsen
See build/soong/README.md for more information. This effectively moves some of these targets from /system/xbin to /system/bin, as Soong is not supporting xbin. I've attempted to fix and find any external dependencies to these paths. Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
2017-10-20Don't abort on errorsColin Cross
LOG(FATAL) triggers an abort which produces an unhelpful stack trace in logcat. Use LOG(ERROR) and propagate the failure to a normal task exit. Bug: 68040531 Test: manual Change-Id: Iaaa0c3406c637d985065cbe58a8a160b72e1f6da
2017-07-25Remove LOCAL_CLANG and clang: trueLennart Wieboldt
clang is the default compiler since Android nougat Test: mma & verified it´s still build with clang Change-Id: Ie41a98a7d72940e8169996a7081ccec9b94aa61c Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2016-08-02Fix clang-tidy warnings in iotop.Chih-Hung Hsieh
* Declare explicit conversion constructors. * Use const reference type for parameter to avoid unnecessary copy. Bug: 28341362 Bug: 30407689 Change-Id: Ia95a041125703ecbfac128709fd6ea0591df2103 Test: build with WITH_TIDY=1
2015-12-04Track rename from base/ to android-base/.Elliott Hughes
Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
2015-10-26Always use clang for iotop.Dan Albert
iotop makes use of a lambda that uses an `auto` typedef parameter. This is a C++14 feature, and we need to move GCC back to C++11 because GCC 4.9 doesn't have a correct C++14 ABI. Bug: http://b/25022512 Change-Id: I3946bd3d287c99eeee1d570ea46e073828b5c1d2
2015-10-02Add NOTICE filesSami Tolvanen
Bug: 24571219 Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2
2015-09-17Fix output when -m is not passedColin Cross
limit == -1 was being treated as limit == 0, and no tasks were being printed. Change-Id: Ie4ec278249bc750a3494e55d483dd983bf7bbdc3
2015-09-16Support TASKSTATS_TYPE_NULLColin Cross
Some kernels need to pad the netlink packet with an attribute of type TASKSTATS_TYPE_NULL. Bug: 24142514 Change-Id: I2745537bacf936325c52a03237ac04459c605271
2015-09-08iotop: add total read/write statsColin Cross
Provide total read, write, and read/write stats across all threads or processes. Change-Id: I7dc2edd45681b6a54f67347337c76deb1342dc95
2015-09-08iotop: fix bytes per second, and add accumulationColin Cross
Bytes per second forgot to divide bytes by seconds. Also add the -a flag to print bytes instead of bytes per second. Change-Id: I419b2ec0f702a291d299fe736d2d4ab290c03445
2015-09-04Implement iotopColin Cross
iotop provides per process statistics on IO rates and kernel delays. Requires root, and a kernel compiled with CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, and CONFIG_TASK_IO_ACCOUNTING. Change-Id: I111c55a1492e9ea33d8d7b3ab620080625b84346