HP3000-L Archives

May 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Hornberger <[log in to unmask]>
Reply To:
Date:
Thu, 9 May 2002 14:16:48 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
John Penney <[log in to unmask]>  wrote:

>  I recall seeing some info from the 3000-L about a command or script that
shows how to >  determine the session number of a process from its IP
address. What I have is a Pin
>  and IP address and want to determine the associated #S.

>  Searched the archives but no cigar.

John,

you can try the following command file, but be advised in its present form
it uses MPEX:

USER DEFINED COMMAND FILE:  IPUSER

PARM ACCTPARM=NONE
COMMENT*********************************
COMMENT  LISTS SESSIONS USING A VT3K
COMMENT  CONNECT BY IP ADDRESS RANGE
COMMENT
COMMENT  CREATED BY:  JOHN HORNBERGER
COMMENT  CREATED ON:  25 FEB 1999
COMMENT*********************************
SETVAR ACCTIN "!ACCTPARM"
IF ACCTIN="NONE" THEN
  ECHO
  ECHO You MUST ENTER A Partial IP Address Range To Search
  ECHO
ELSE
  FILE TMPIPLOG;REC=-80,,F,ASCII;DEV=DISC;DISC=5000;TEMP
  LISTFILE /SYS/PUB/CI,8>*TMPIPLOG
  ECHO
  MPEX.PUB.VESOFT;INFO="PRINT TMPIPLOG;SEARCH=CL'REM : !ACCTIN'"
  ECHO
  PURGE TMPIPLOG,TEMP
ENDIF


HTH,

John Hornberger
Sr. Systems Programmer
SPX Global Information Services

The information contained in this electronic mail transmission is intended
by SPX Corporation for the use of the named individual or entity to which
it is addressed, and may contain information that is confidential or
privileged.  If you have received this electronic mail transmission in
error, please delete it from your system without copying or forwarding it,
and notify the sender of the error by reply mail or call the SPX GIS Help
Desk at 215-293-2811 so that the sender's address records can be corrected.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2