[Novalug] Aaarrrghghgh! : ifconfig (was networking...) (Peter Larsen)
John Covici
covici@ccs.covici.com
Thu Nov 24 15:59:06 EST 2016
I will check that out -- thanks.
On Thu, 24 Nov 2016 14:55:22 -0500,
Walt Smith wrote:
>
> previously on "Killer Command":
>
> OK, how do you get ip
> addr show to give you the stats that ifconfig
> always gives such as rx and tx packets and
> bytes? I do use ip route
> as well as some
> other ip commands, but the old commands are fine as
> well.
>
> next episode:
>
>
> example for list purposes:
> If I'm a knoobee, and I am knoobee with "ip",
> .... and I have no clue what a
> "link" is, or a few other things ....
> here's what I might ( and do ) try :
>
> -----------------------
>
> [waltech@core-bltm-69-72-61-133 ~]$ man ip
> [waltech@core-bltm-69-72-61-133 ~]$ ip eth0 show -s
> Object "eth0" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s show
> Object "show" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s show eth0
> Object "show" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s 192.168.1.15 show
> Object "192.168.1.15" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s 192.168.1.15 show wlan3
> Object "192.168.1.15" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s show wlan3
> Object "show" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s wlan3 show
> Object "wlan3" is unknown, try "ip help".
> [waltech@core-bltm-69-72-61-133 ~]$ ip link show
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
> link/ether 00:0c:f1:8b:df:79 brd ff:ff:ff:ff:ff:ff
> 3: wlan3: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
> link/ether 00:1c:df:0d:1f:4b brd ff:ff:ff:ff:ff:ff
> 42: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 3
> link/ppp
> [waltech@core-bltm-69-72-61-133 ~]$ ip -s link show
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> RX: bytes packets errors dropped overrun mcast
> 665335 5214 0 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 665335 5214 0 0 0 0
> 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
> link/ether 00:0c:f1:8b:df:79 brd ff:ff:ff:ff:ff:ff
> RX: bytes packets errors dropped overrun mcast
> 427856 2862 0 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 811898 2785 0 0 0 0
> 3: wlan3: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
> link/ether 00:1c:df:0d:1f:4b brd ff:ff:ff:ff:ff:ff
> RX: bytes packets errors dropped overrun mcast
> 629330 4952 0 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 68849 308 0 0 0 0
> 42: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 3
> link/ppp
> RX: bytes packets errors dropped overrun mcast
> 1760924 2233 9 0 0 0
> TX: bytes packets errors dropped carrier collsns
> 252128 2401 0 0 0 0
> [waltech@core-bltm-69-72-61-133 ~]$
>
>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>
> --------------------------------------------
> On Thu, 11/24/16, John Covici <covici@ccs.covici.com> wrote:
>
> Subject: Re: [Novalug] Aaarrrghghgh! : ifconfig (was networking...) (Peter Larsen)
> To: "Walt Smith" <waltechmail@yahoo.com>
> Cc: "novalug" <novalug@firemountain.net>
> Date: Thursday, November 24, 2016, 2:31 PM
>
>
> > HI,
> >
> > I found #ip just a
> few years ago-- it was
> > probably a
> mention on this list. I still
> > use the
> old commands.
> >
> > 1.
> Peter is right-- when I first looked at
> >
> the man page, I went screaming around !!!
> > What a load of crap !! I'm gonna use
> THIS ???
> > ( see below before judgement
> )
> >
> > 1.5 I liked
> Peters explanation of use.
> >
> > 2. If it replaces the other utils, it
> just
> > means I have to do a lot more
> typing - but
> > especially trying to
> memorize everything !!!
> >
> > 2.5 Man pages for route, ifconfig,
> netstat
> > are SO much shorter and easier
> to remember.
> > Piecemeal is like dance
> steps !!
> >
> > 3. Right
> now I continue to use route, ifconfig,
> >
> netstat . . .
> >
> > 4.
> What happened to the *nix philosophy ?
> >
> You know what I mean !!
> >
> > 5. Ok, what is the reason ? not
> rhetorical !!
> > I can see - perhaps - if
> the command options were
> > in some ways
> "standardized", it might make some
> > wee sense. Are they ? But I'm
> really short
> > sighted here. help
> !!
> >
> > 6. I am forced
> to accept it. Over time - - -
> >
> Someone must think it really is for the good
> > of all!
> >
> > thx,
> >
> > Walt...........
> >
>
> >
> > -------------
> >
> **********************************************************************
> > The Novalug mailing list is hosted by
> firemountain.net.
> >
> >
> To unsubscribe or change delivery options:
> > http://www.firemountain.net/mailman/listinfo/novalug
>
> --
> Your life
> is like a penny. You're going to lose it. The
> question is:
> How do
> you
> spend it?
>
>
> John Covici
>
> covici@ccs.covici.com
>
>
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
More information about the Novalug
mailing list