home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23676 < prev    next >
Encoding:
Text File  |  1993-01-11  |  3.0 KB  |  68 lines

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