diff options
author | cburroughs <[email protected]> | 2014-02-11 09:15:50 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-01-28 09:33:00 -0800 |
commit | edd5b80d07544961f8bd184b2d5cc726ea71f5d0 (patch) | |
tree | b08d8feabe6bf4ea59451666c4eaa8e9c244b856 /cmd/arc_summary/Makefile.am | |
parent | b0cf0676c0beb5dcb149774a3264580a18304ac1 (diff) |
Add arc_summary.py from FreeNAS
The arc_summary script is a useful utility for administrators on
other ZFS platforms. It provides a quick and easy way to get a high
level view of the current ARC state.
Historically this was a perl script but it was rewritten in python
for FreeNAS. We've decided to adopt the python version instead of
the perl version for a few reasons.
1) ZoL has no existing perl dependencies, but it does have a python
dependency for scripts such as arcstat.py and dbufstat.py. Using
python for arc_summary.py helps us minimize dependencies.
2) Most major Linux distributions already depend heavily on python
for their core infrastructure. This means it's very likely to
be available even very early in the boot process.
Original source:
https://github.com/freenas/freenas/blob/master/gui/tools/arc_summary.py
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: cburroughs <[email protected]>
Signed-off-by: Kyle Blatter <[email protected]>
Signed-off-by: Ned Bass <[email protected]>
Diffstat (limited to 'cmd/arc_summary/Makefile.am')
-rw-r--r-- | cmd/arc_summary/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/arc_summary/Makefile.am b/cmd/arc_summary/Makefile.am new file mode 100644 index 000000000..339b71ff3 --- /dev/null +++ b/cmd/arc_summary/Makefile.am @@ -0,0 +1,2 @@ +bin_SCRIPTS = arc_summary.py +EXTRA_DIST = $(bin_SCRIPTS) |