home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / inetrace.zip / inettrc.cmd < prev    next >
OS/2 REXX Batch file  |  2002-07-19  |  402b  |  16 lines

  1. /*  procedure for an tarce to show the mbuf characteristics */
  2. /*  type the argument itemp >= 1 of the procedure in seconds */
  3. parse ARG itemp
  4. if itemp='?' | itemp ='' Then
  5. Signal Help;
  6. 'inetdbg -f"s|tcp"'
  7. Do i = 1 to itemp
  8. 'inetdbg -d >inetrc'i
  9. 'netstat -m >nettrc'i
  10. 'sleeper 5'
  11. end
  12. HELP:
  13. say 'USAGE : inettrc sec '
  14. say 'sec is the number of seconds to be traced'
  15. say 'e.g. inettrc 1'
  16.