Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483772 - sys-process/ftop - monitor open files and filesystems
Summary: sys-process/ftop - monitor open files and filesystems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL: https://code.google.com/p/ftop/
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2013-09-05 17:35 UTC by Jesse Adelman
Modified: 2014-01-30 00:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ftop-1.0.ebuild (ftop-1.0.ebuild,446 bytes, text/plain)
2013-09-06 12:51 UTC, Jeroen Roovers (RETIRED)
Details
ftop-1.0-overflow.patch (ftop-1.0-overflow.patch,480 bytes, patch)
2013-09-06 12:51 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2013-09-05 17:35:11 UTC
https://code.google.com/p/ftop/

I've used this at work under CentOS 5 and 6 for several weeks. A terribly useful utility for sysadmins and system watchers. :) Thanks.
Comment 1 Jesse Adelman 2013-09-05 17:36:12 UTC
From the project page:

"Ftop is to files what top is to processes. The progress of all open files and file systems can be monitored. If run as a regular user, the set of open files will be limited to those in that user's processes (which is generally all that is of interest to the user). In any case, the selection of which files to display is possible through a wide assortment of options. As with top, the items are displayed in order from most to least active.

The interface extends beyond the traditional capabilities and expectations of console applications. For instance, ftop supports two output modes, full (using ncurses) and limited (simple plain text). The output mode can be specified at invocation, or changed dynamically as the program runs. Limited output mode is well suited for piping into other utilities (such as grep or sed) or simply for redirecting into a file. Full output mode is much more visually appealing and contains a few more features. Keyboard control and interaction is not limited to full output mode; it is also available in limited output mode.

As another unique usability feature, the command line options for ftop exactly match the run-time keyboard commands. In other words, the '-p' command line option can be used to specify a list of processes at invocation, and while ftop is running, 'p' can be pressed to modify the list. As another example, '-h' will show the help screen when ftop starts, or 'h' can be pressed at any time afterward to show the help screen. This commonality exists for every configuration option. And the current value for all options can be viewed at a glance in the options screen.

Finally, ftop can also be easily configured to display additional files that are not currently open by any local processes, and file system usage. If an NFS client is writing a file on a local export, that file may not be open by any local process, so the additional files feature is used to display those files. One or more file systems can be monitored if many files are being created, for instance while restoring from a backup or extracting a large archive.

Ftop has many more features than those described here. Detailed online help describes all available functionality, and provides examples of some of the interesting ways in which ftop can be used."
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-06 12:46:38 UTC
It has a bug where it overflows a buffer when $COLUMNS is over 80.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-06 12:51:15 UTC
Created attachment 358054 [details]
ftop-1.0.ebuild
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-06 12:51:31 UTC
Created attachment 358056 [details, diff]
ftop-1.0-overflow.patch
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-01-30 00:21:45 UTC
+  30 Jan 2014; Tom Wijsman <TomWij@gentoo.org> +files/ftop-1.0-overflow.patch,
+  +ftop-1.0.ebuild, +metadata.xml:
+  New package for sys-process/ftop, monitors open files and filesystems; tested
+  and adapted the ebuild and patch provided by Jeroen Roovers (rej), fixes bug
+  #483772 reported by Jesse Adelman.

Thank you for the report and contributions.