home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
inetrace.zip
/
inettrc.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
2002-07-19
|
402b
|
16 lines
/* procedure for an tarce to show the mbuf characteristics */
/* type the argument itemp >= 1 of the procedure in seconds */
parse ARG itemp
if itemp='?' | itemp ='' Then
Signal Help;
'inetdbg -f"s|tcp"'
Do i = 1 to itemp
'inetdbg -d >inetrc'i
'netstat -m >nettrc'i
'sleeper 5'
end
HELP:
say 'USAGE : inettrc sec '
say 'sec is the number of seconds to be traced'
say 'e.g. inettrc 1'