LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs > sumeet inani
User Name
Password

Notices


Old

calculating write speed

Posted 07-05-2013 at 08:22 AM by sumeet inani
Updated 07-05-2013 at 08:23 AM by sumeet inani (clarity)

Hi ,
I wrote this script for any normal distro
This calculates data written in 10 seconds to get average.
Also monitors copying process , if possible , to know when to stop monitoring
Code:
#!/usr/bin/bash
monitor_drive=sdb1
number_of_argument=$#
echo PID is $processid
if [ "$1" = "--help" ]
	then
	echo USAGE
	echo ./general \<device_name\> \<PID\>
	echo mention PID as \'no\' \(without
...
Member
Posted in Uncategorized
Views 5029 Comments 4 sumeet inani is offline

  



All times are GMT -5. The time now is 06:10 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration