LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2010, 10:12 AM   #1
p8xc8gji
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Why None Of These Programs Work On a VPS?


I'm trying to check my server's bandwidth usage in real time, installed the following programs but none worked so far.

Iptraf - No results even when using iptraf -u
Tcptrack - Error : pcap_loop: cooked-mode frame doesn't have room for sll header
Iftop - No results, everything 0b

Are there any programs that displays bandwidth usage in real time and actually works on VPSes? Or getting real time bandwidth usage on a VPS is simply impossible?

Thanks.
 
Old 03-21-2010, 01:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That's going to depend on what the interfaces represent themselves
as, I'll guess. Got shell? What's the result of
ifconfig
?
 
Old 03-22-2010, 04:21 AM   #3
p8xc8gji
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
That's going to depend on what the interfaces represent themselves
as, I'll guess. Got shell? What's the result of
ifconfig
?
All the network interfaces are in the format "venet0:X", and below is the output of ifconfig :

Code:
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1257021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1257021 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:162489088 (154.9 MiB)  TX bytes:162489088 (154.9 MiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:25403418 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36578834 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11847397000 (11.0 GiB)  TX bytes:44624413717 (41.5 GiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:1  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:2  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:3  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:4  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:5  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:6  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:67.222.***.***  P-t-P:67.222.***.***  Bcast:67.222.***.***  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

Last edited by p8xc8gji; 03-22-2010 at 04:22 AM.
 
Old 03-22-2010, 11:23 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
So what happens when you try

Code:
iptraf -s venet0
(seeing as it's the one with the most traffic I'll assume it's what
your server talks on the big bad world)?
 
Old 03-22-2010, 12:17 PM   #5
p8xc8gji
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
So what happens when you try

Code:
iptraf -s venet0
(seeing as it's the one with the most traffic I'll assume it's what
your server talks on the big bad world)?
Yeah, It returned the following :

Code:
Specified interface not supported
Press a key to continue
Guess there's no other way / workarounds expect getting a *real* dedicated box?
 
Old 03-22-2010, 12:19 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Dunno ... you may look at something like using iptables & the ulog
target to get your totals. Or check whether you can get the other
tools to play with that interface.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache and FTP vps to work more like godaddy shared hosting fishdink Linux - Server 1 06-19-2009 07:55 AM
I'm looking to upgrade to a vps but wanted to know if a reseller program would work? SEOTRICKS General 0 02-17-2009 09:37 PM
I can ssh to my vps but the sftp does not work rsz Linux - Networking 6 10-30-2006 03:48 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM
What programs work on linux crazy_SNES Linux - Newbie 16 09-19-2005 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 PM.

Main Menu
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
Open Source Consulting | Domain Registration