Skip to content

Commit

Permalink
Add Python 3 rewrite of arc_summary.py (#6873)
Browse files Browse the repository at this point in the history
Add new script arc_summary3.py as a complete rewrite of the
arc_summary.py tool (see issue #6873)

Add new options:

        -g/--graph    - Display crude graphic representation
                        of ARC status and quit
        -r/--raw      - Print all available information as
                        minimally formatted list (for grep)
        -s/--section  - Print a single section. This
                        replaces -p/--page, which is kept for
                        backwards use but marked as
                        depreciated

Add new sections with information on ZIL and SPL. Notify user
if sections L2ARC and VDEV are skipped instead of failing
silently. Add warning that -p/--page option is depreciated.

Developed for Python 3.5.

Signed-off-by: Scot W. Stevenson <scot.stevenson@gmail.com>
  • Loading branch information
scotws committed Feb 27, 2018
1 parent 8b58143 commit 652b23a
Show file tree
Hide file tree
Showing 6 changed files with 918 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/arc_summary/Makefile.am
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dist_bin_SCRIPTS = arc_summary.py
dist_bin_SCRIPTS = arc_summary.py arc_summary3.py
Loading

0 comments on commit 652b23a

Please sign in to comment.