commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
You need bonnie++ package for this. More detail than a simple hdparm -t /dev/sda would give you.
the -d is the directory where it performs writes/reads for example I use /tmp/scratch with 777 permissions
Bonnie++ benchmarks three things: data read and write speed, number of seeks that can be performed per second, and number of file metadata operations that can be performed per second.
There are 4 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.