chadmiller / zpool-iostat-viz Goto Github PK
View Code? Open in Web Editor NEW"zpool iostats" for humans; find the slow parts of your ZFS pool
License: BSD 2-Clause "Simplified" License
"zpool iostats" for humans; find the slow parts of your ZFS pool
License: BSD 2-Clause "Simplified" License
A special parameter could indicate to dump to stdout each statistic or each device and exit. It would be good for testing, too.
probably you need some more info, besides this? (system is debian 9 (stretch) updated to latest available)
Traceback (most recent call last):
File "./zpool-iostat-viz", line 290, in
raise exc
File "./zpool-iostat-viz", line 279, in
curses.wrapper(lambda window: main(window, parsed_args["diff"], parsed_args["parts"], parsed_args["file"], parsed_args["by"] or "m"))
File "/usr/lib/python3.5/curses/init.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "./zpool-iostat-viz", line 279, in
curses.wrapper(lambda window: main(window, parsed_args["diff"], parsed_args["parts"], parsed_args["file"], parsed_args["by"] or "m"))
File "./zpool-iostat-viz", line 241, in main
render_stats(window, transformation_function, should_show_differential, pool, filename)
File "./zpool-iostat-viz", line 132, in render_stats
stats = transform(get_stats(pool, filename))
File "./zpool-iostat-viz", line 65, in get_stats
zpool_cmd = subprocess.run(["zpool", "iostat", "-wvHp", "--"] + (pool_names if pool_names else []), check=True, stdout=subprocess.PIPE, encoding="UTF-8")
File "/usr/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: init() got an unexpected keyword argument 'encoding'
user@myhost:~# python3 --version
Python 3.6.9
user@myhost:~# python3 bin/zpool-iostat-viz
CRASH! Sorry!
Please report this error at
https://github.com/chadmiller/zpool-iostat-viz/issues/new
Paste the following:
Traceback (most recent call last):
File "bin/zpool-iostat-viz", line 303, in <module>
raise exc
File "bin/zpool-iostat-viz", line 292, in <module>
curses.wrapper(lambda window: main(window, parsed_args.pools, parsed_args.file))
File "/usr/lib/python3.6/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "bin/zpool-iostat-viz", line 292, in <lambda>
curses.wrapper(lambda window: main(window, parsed_args.pools, parsed_args.file))
File "bin/zpool-iostat-viz", line 280, in main
display_measurements_for_device(pool, filename, window)
File "bin/zpool-iostat-viz", line 152, in display_measurements_for_device
stats = get_stats(pool, filename)
File "bin/zpool-iostat-viz", line 63, in get_stats
zpool_cmd = subprocess.run(["zpool", "iostat", "-wvHp"] + (pool_names if pool_names else []), check=True, capture_output=True, encoding="UTF-8")
File "/usr/lib/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'
Names like "total disk read" are an assumption. It would be much much better if the measurement names were discovered from running zpool.
An expert should be able to tell us better about where the great/good/hrm/uh-oh/noooooo times should be split, for the coloring in the vertical axis.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.