New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

How to view network usage via terminal


Post Reply New Thread Subscribe

 
Thread Tools
ejang

 
Member Since: Feb 25, 2010
Posts: 4
ejang is on a distinguished road

ejang is offline
Hello,

Activity monitor is able to tell me how much data i am downloading per second (I use this to monitor because I am often downloading from several different programs at the same time).

Is there a way that I can use terminal to view a dynamically-refreshed network transfer rate?

Thanks,
- ejang
QUOTE Thanks
ukchucktown

 
Member Since: Oct 26, 2009
Posts: 128
ukchucktown has a spectacular aura about

ukchucktown is offline
Use netstat from Terminal to get network statistics. You might want to read the man page for netstat. It has a lot of options.
QUOTE Thanks
ejang

 
Member Since: Feb 25, 2010
Posts: 4
ejang is on a distinguished road

ejang is offline
thanks, I did not investigate the man netstat enough. Turns out that

Quote:
netstat 1
will update bytes in and out every 1 second.

Thanks again!
QUOTE Thanks
ejang

 
Member Since: Feb 25, 2010
Posts: 4
ejang is on a distinguished road

ejang is offline
oops, quick follow-up question:

is there any way to display netstat 1 results in Megabytes/sec or kilobytes/sec instead of bytes/sec?

thanks
QUOTE Thanks

Post Reply New Thread Subscribe


« help using terminal | Help With Xcode Web Browser »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Multi-User data Usage tracking on network ravinr2008 OS X - Apps and Games 3 10-07-2010 04:44 AM
Wireless Networking FAQ cwa107 Internet, Networking, and Wireless 58 03-10-2009 09:10 PM
Bandwidth usage on the Network. jeromejwatson Internet, Networking, and Wireless 0 11-22-2008 05:42 PM
View mac in windows network Newtonus Internet, Networking, and Wireless 1 08-15-2006 10:04 PM
AIRPORT, macbook not automatically selecting network.. SpliCer261 Switcher Hangout 0 08-11-2006 08:07 PM

All times are GMT -4. The time now is 02:19 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?