Skip to content

Commit

Permalink
Add Python 3 rewrite of arc_summary.py
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.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Scot W. Stevenson <scot.stevenson@gmail.com>
Closes #6873 
Closes #6892
  • Loading branch information
scotws authored and behlendorf committed Feb 28, 2018
1 parent 3e9c9d8 commit 19528cf
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 19528cf

Please sign in to comment.