Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filetop: Avoid missing important entries
While testing, it is noticed that sometimes filetop can miss certain heavy-weight activity. This is because it sorts by only a single column. So for example, if writes are flooding, then it will be way down in the filetop list and not displayed at all for the default maxrows of 20 and default sort of rbytes. It is better instead to sort by all columns, by default. This will help catch them. Test: Start a bash and do: while true; do echo "asdfasdf" >> testfile; done Run filetop. Without patch no activity is displayed due to other small reads on the system. With the path they are. Fixes issue: iovisor#2252 Signed-off-by: Joel Fernandes (Google) <[email protected]>
- Loading branch information