Error when using Python version of ioprof
Opened this issue · 3 comments
I tried running the Python version of ioprof and I got an error.
The command line is:
ioprof.py -m trace -d /dev/sdb1 -r 3
The error is:
VERSION: 1.0.0.1
/usr/sbin/blktrace
/usr/bin/blkparse
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
0 % done (3 seconds left)No input files found for blk.out.sdb1.0
Mapping files to block locations
Creating tarball sdb1.tar
tar -cf sdb1.tar blk.out.sdb1.*.gz fdisk.sdb1 &> /dev/null
tar: blk.out.sdb1.0.blkparse.gz: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors
FINISHED tracing: sdb1.tar
Please use this file with ioprof.py -m post -t sdb1.tar to create a report
The Perl version works correctly.
Thanks for developing the tool!
Thanks for the positive feedback on the perl version! I will definitely look into the python version.
@laytonjbgmail , I overhauled the python version of the tool after a longer-than-expected hiatus. If you're still using the tool, please try out the python version, as well.
Hello,
I've just fetched the Python version, and it seems to be written in Python 2, which is EOL.
Are you planning to rewrite it to Py3? Are PRs welcome?