home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- From: pep@wicked.demon.co.uk (Phil Packer)
- Path: sparky!uunet!pipex!demon!wicked.demon.co.uk!pep
- Subject: Re: netstat for Linux?
- Reply-To: pep@wicked.demon.co.uk
- References: <1993Jan11.115951.1005@aston.ac.uk> <1993Jan10.230953.807@ineg2.uark.edu>
- Distribution: world
- X-Mailer: cppnews $Revision: 1.30 $
- Organization: No chance
- Lines: 53
- Date: Mon, 11 Jan 1993 23:58:19 +0000
- Message-ID: <726821899snx@wicked.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <1993Jan11.115951.1005@aston.ac.uk> evansmp@uhura.aston.ac.uk (Mark Evans) writes:
- > David W. Summers (dws@ineg2.uark.edu) wrote:
- > : Mike Stramba <stramba@zooid.guild.org> writes:
- > :
- > : >Is there a 'netstat' or equivalent program for linux?
- > : >
- > : >Something very simple will do, i.e. showing what sockets have been opened, by
- > : >whom, what their status is.
- > : >
- > : >Mike
- > : >
- > :
- > : Also it should print out routes, both static and learned. Also is 'config'
- > : the same as 'ifconfig' on SUNS? If so, could we make it also print out
- > : the ethernet, IP, and broadcast address, etc., like the SUNS do? I would
- > : love to know how to do this.....
- >
- > Being able to inspect and alter the arp cache (as on other machines) would
- > also be useful.
- >
- > I guess the reason for not having these nice usefull tools is that Ross
- > is still working on the code. Thus any changes would break things, ala
- > ps
- >
- > --
- > -------------------------------------------------------------------------
- > Mark Evans |evansmp@uhura.aston.ac.uk
- > +(44) 21 429 9199 (Home) |evansmp@cs.aston.ac.uk
- > +(44) 21 359 6531 x4039 (Office) |
-
- I started playing with something of the sort; unfortunately the kernel does
- not (yet) collect the neccessary stats - and my code relies rather heavily on
- using nlist and hence needs to read from an unstripped kernel [incidentally
- to TPTB - could we have a target for "unstripped" in the makefile as standard
- now that many people are - I hope - using LILO; it would make this sort of
- thing much easier]
-
- I did put up a little thing on the NET channel of the mailing list some weeks
- ago called etherstat that interrogated Ross' wd code for statistics (using
- gratuitous plagarism of the code from ps); maybe I should upload it to TSX-11
- at some point - although I'd like to make it do a bit more first ;-)
-
-
- Phil..
-
- +-----------------------------+----------------------------------------------+
- |Phil Packer | pep@wicked.demon.co.uk (home) |
- |165 Stourton Avenue Hanworth | pep@cix.compulink.co.uk (home) |
- |Middlesex, England TW13 6LD | pp1071bh.bbc-bh@radio.bbc.co.uk (someday) |
- | 044 +81 898 0101 | PP1071BH@BBC-BH [via NHUB] (MHS) |
- | #include <very_long_x400_address.h> |
- | wicked is not associated with any other demon dial-up site |
- +----------------------------------------------------------------------------+
-