Skip to content

Instantly share code, notes, and snippets.

无常 pingod

  • china
Block or report user

Report or block pingod

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pingod
pingod / run_fio.sh
Created Dec 12, 2018 — forked from sennajox/run_fio.sh
A script that runs fio test and genearates a simple result for each jobs
View run_fio.sh
#!/bin/bash
if [ $# -lt 2 ]; then
echo "usage:$0 dev output_dir [iodepth]"
echo "example 1: Testing the whole block device. Attention: That will destory the filesystem on the target block device"
echo "./run_fio.sh /dev/sdb fio_test"
echo ""
echo "example 2: Testing a file, but not destory filesystem. Suppose the target device mount on /data"
echo "fallocate -l 1G /data/test.dat"
echo "./run_fio.sh /data/test.dat fio_test"
You can’t perform that action at this time.