Skip to content

Instantly share code, notes, and snippets.

View scotws's full-sized avatar

Scot W. Stevenson scotws

  • Just outside of Berlin, Germany
View GitHub Profile
@scotws
scotws / test_new_fbytes.py
Created October 26, 2017 08:01
Test routine for new fBytes() function of arc_summary.py in ZFS on Linux
# Test for rewrite of fBytes() of arc_summary.py
# Scot W. Stevenson <scot.stevenson@gmail.com>
# First version: 25. Okt 2017
# This version: 25. Okt 2017
# This test assumes Python 3; will produce weird
# (but readable and correct) final output with Python 2
import sys
@scotws
scotws / test_new_fhits.py
Created October 31, 2017 10:56
Test routine for new fHits() function of arc_summary.py in ZFS on Linux
# Test for rewrite of fHits() of arc_summary.py
# Scot W. Stevenson <scot.stevenson@gmail.com>
# First version: 26. Okt 2017
# This version: 31. Okt 2017
# This test assumes Python 3; will produce weird
# (but readable and correct) final output with Python 2
import sys
@scotws
scotws / test_arc_summary3.py
Last active January 13, 2018 08:48
Python test routine for arc_summary3.py
#!/usr/bin/env python3
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.