Results 1 to 9 of 9
  1. #1

    * How to get current port speed information ?

    Hello, I need to get quick info for my script how many of my basic 100 Mbps port speed remain or is in use. I mean how many of my 100 Mbps speed is used by downloading, website (css, jpg, etc), movies watching on my website every second.

    Have you got any reliable way to get this info ?

    Thanks for help.

  2. #2
    Join Date
    May 2011
    Location
    Columbus, Ohio
    Posts
    270
    The following is for linux based servers

    For general checking while I was testing streaming videos, I found IPTraf to be pretty decent (basic, but decent)

    You can probably google it to find it, but if you are on an OS using yum, you can just do yum install iptraf

    Then from shell, just enter iptraf (move around to find the monitoring you need)

    -Greg

  3. #3
    Yes I am on CENTOS, great thanks for help Greg I will check it ;]

  4. #4
    Join Date
    Oct 2011
    Location
    Vilnius
    Posts
    152
    You also can use iftop utility. It shows speed per connection or per ports, depends on filters you use.

  5. #5
    Thanks guy but I want to use this info to make some calculations in my script so it should be easy and FAST. Which approach is best(fast) here ? ;]

  6. #6
    Join Date
    May 2011
    Location
    Columbus, Ohio
    Posts
    270
    With IP Traf, what I did was sit and watched the the network while myself and 4 other people that I know to have decent connections all hit my server to start streaming a video of of it, kept watching it to do a rough guess on an average.

    It was very basic and very quick, but gave me a good rough estimate to see how many people at once could stream the video from my server since I had a client interested in getting his own server for videos (In the end, I convinced the customer to use Vimeo, especially once they started their new business plan)

  7. #7
    IS any cpan module which can give me this information ?

  8. #8
    Join Date
    Oct 2011
    Posts
    1,233
    WGET some small file from any other location from ssh and see how much speed it is having.
    ▓▓ 9xhost.Net - Limited
    ▓▓ Quad Core Dedicated Servers with WHMCS - Click here
    ▓▓ Windows VPS Plans - Click here
    ===============================================

  9. #9
    Quote Originally Posted by Mondo90 View Post
    Thanks guy but I want to use this info to make some calculations in my script so it should be easy and FAST. Which approach is best(fast) here ? ;]
    as I said before I don't want only know how speed is port but depending on value of port speed make some calculations, ;]

  10. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. What port speed I need?
    By strikeforce in forum Colocation and Data Centers
    Replies: 7
    Last Post: 05-02-2012, 06:14 PM
  2. Replies: 16
    Last Post: 04-22-2011, 03:36 AM
  3. Switched Metered Power Distribution With Port-Level Current Monitoring
    By InTheEP in forum Colocation and Data Centers
    Replies: 28
    Last Post: 09-20-2010, 05:11 AM
  4. What Port Speed Will They Use
    By torrentplace in forum Colocation and Data Centers
    Replies: 11
    Last Post: 03-27-2010, 09:57 PM
  5. Port Speed
    By WebDivx in forum Hosting Security and Technology
    Replies: 11
    Last Post: 08-11-2009, 05:41 PM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •