[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

SV: [MISC] Internet-deling



Hej Claus.
Du kan hente information om antal parker fra "ifconfig"


  eth1      Link encap:Ethernet  HWaddr 00:90:27:71:5D:FE
            inet addr:192.168.121.2  Bcast:192.168.1.255  Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:2944865 errors:0 dropped:0 overruns:0 frame:0
            TX packets:2791729 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100
            Interrupt:5 Base address:0xe000


  eth2      Link encap:Ethernet  HWaddr 00:A0:C9:9A:3D:40
            inet addr:192.168.120.1  Bcast:192.168.120.255  Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:2039462 errors:0 dropped:0 overruns:0 frame:0
            TX packets:2478776 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100
            Interrupt:12 Base address:0xd400


Du kan evt også hente informationen fra "/proc/net/dev"

   face |bytes    packets errs drop fifo frame compressed multicast|bytes    pack
      lo:36592616  235356    0    0    0     0          0         0 36592616  235
   dummy:       0       0    0    0    0     0          0         0        0
    eth0:1648402007 2945249    0    0    0     0          0         0 1240456060
    eth1:       0       0    0    0    0     0          0         0        0
    eth2:546534608 2039965    0    0    0     0          0         0 1671151860 2
    eth3:       0       0    0    0    0     0          0         0        0






Poul-Erik Hansen.
poul-erik.adsl.dk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:28 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *