DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 28th May 2008
thavinci thavinci is offline
Real Name: Marcel Grandemange
Port Guard
 
Join Date: May 2008
Location: Port-Elizabeth
Posts: 30
Thanked 0 Times in 0 Posts
Default Speed

Also how can i view the speed FreeBSD copies files?

ie would be nice if "cp" had a facility like "wget" that shows you transfer rate.

Or any other utilities?
Reply With Quote
Old 28th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

Quote:
Originally Posted by thavinci View Post
Then how do other file systems deal with this issue?
in general this holds true for all FS.

> Also how can i view the speed FreeBSD copies files?

if you just want the average:

$ time cp ...

# if copying from/to the same disk
$ echo $file_size / $time_taken \* 2 | bc

# realtime:
$ iostat -dt da 1
Reply With Quote
Old 28th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Quote:
Originally Posted by thavinci View Post
i do understand it will decrease performance , but currently im only getn 12m or max 20m over network anyways. Can it get worse than this?

You could be using my laptops slow hard drive and 802.11g connection to transfer files to another system connected to the router via Ethernet at a rate of 900~1500KB/s through SCP instead :-P
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.

Last edited by TerryP; 28th May 2008 at 11:07 PM. Reason: added a quote for context
Reply With Quote
Old 28th May 2008
fridder fridder is offline
Port Guard
 
Join Date: May 2008
Posts: 12
Thanked 0 Times in 0 Posts
Default

also gstat gives you some pretty detailed stats in realtime as well. It does need to be executed with root perms however
Reply With Quote
Old 29th May 2008
xiphias xiphias is offline
Port Guard
 
Join Date: May 2008
Posts: 31
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by thavinci View Post
Also how can i view the speed FreeBSD copies files?

ie would be nice if "cp" had a facility like "wget" that shows you transfer rate.

Or any other utilities?
Use dd rather than cp, when it finishes it gives a summary of how many bytes were transferred and how long it took.
Reply With Quote
Old 29th May 2008
harisman's Avatar
harisman harisman is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Hellas (Greece)
Posts: 66
Thanked 5 Times in 4 Posts
Default

The old and tested mc reports the speed as well

Last edited by harisman; 29th May 2008 at 03:35 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Brief History of the BSD Fast Filesystem, Kirk McKusick ai-danno Off-Topic 0 9th March 2009 05:59 AM
Mount filesystem with a regular user ivanatora FreeBSD General 15 30th July 2008 08:51 AM
dvd filesystem type chill FreeBSD General 6 17th June 2008 08:22 AM
acessing the root filesystem kernel module! rayden FreeBSD General 1 11th June 2008 06:48 PM
Filesystem read errors Foon FreeBSD General 0 10th May 2008 07:27 AM


All times are GMT. The time now is 12:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick