[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | -={ H A C K E R S }=- |
Notice: | Write locked - see NOTED::HACKERS |
Moderator: | DIEHRD::MORRIS |
|
Created: | Thu Feb 20 1986 |
Last Modified: | Mon Aug 03 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 680 |
Total number of notes: | 5456 |
450.0. "LATPAD -- A LAT monitor hack" by SYRAH::THOMAS (The Code Warrior) Tue Apr 21 1987 19:47
Here's a (currently) small program to monitor your Ethernet for
LAT nodes and services and display the information in a compact
manner. The image is SYRAH""::LATPAD.EXE is about 30 blocks long.
Note, LAT must not be running (especially on V4.4 or V4.5 uVAX systems)
or it willl not run. To stop LAT if it is running you must have CMKRNL
and go into LATCP and do a STOP NODE. (If this is a multi user system,
make sure no one wants to use LAT).
Then RUN the program. It should automaticly find the Ethernet device
on your system. But if it doesn't, define LATPAD$DEVICE to point to
the device (_XQB0: or whatever) and let me know what happened.
LATPAD automaticly adjusts to the screen size so if you have a busy
Ethernet, either set your width to 132 or (on a VAXstation) increase
the page size (or both).
Comments welcome,
matt
-----------
The display is divided into 4 sections:
The summary and group display at top, the node display below that,
then the services display, and at the bottom the command and message
display.
The summary display looks like:
Nodes: 54 (54) Services: 62 (66) Active Groups: 17 (17) 14:09:48.97
Nodes: 54 (54) displays the current number of reachable nodes and
the total number of nodes known over the life of the program (ie
how many different nodes it saw).
Services: 62 (66) displays the current number of available services
and the total number of services currently offered. The difference
is due a service that is ofered by multiple nodes.
Active Groups: 17 (17) display the number of active groups and
the number of known groups.
Finally the time the display was last updated.
-----------
The group display looks like:
Active 0-127: FF 07 10 02 xx 21 xx xx xx xx 01 xx xx xx xx xx
Groups 128-255: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx 04
Each 'xx' represent that no node has enabled that octet of group
codes. The rest of display are bitmasks (in hex) of the enabled
groups.
This display may be modified by the SHOW {ACTIVE,KNOWN,INACTIVE}
GROUPS command. (One of the few commands currently working)
-----------
The node display looks something like:
@BIGSUR @ISWSW LAT024 @SYRAH WROLAT022
@BMSWST @JIFFY @LORAN @TEXAS @XM
@BRGNDY @JULIET @MUSCAT @THE780
@CELLAR @KNARLY @OPUS1 @USWR01
@CICERO LAT002 @PUZZLE @USWRSL
@CONTRL LAT003 @SCCHMP @WR1FOR
@CRAFTY LAT005 @SCRUZ @WR2FOR
@DOOBER LAT006 @SFCHMP @WRAMPS
@DROOPR LAT007 @SKIPER @WRO10A
@F104 LAT010 @SKYLRK @WRO10B
@FLEAGL LAT011 @SLOOP WRO1LAT018
@IDSWST LAT014 @SNORKI @WRO4RT
@ISWSRD LAT015 @SUNTAN @WRO8A
The node display shows all nodes that have become know to the program.
If a @ appears before a node then it offers a service of the same name.
(Node SYRAH offers a service named SYRAH.)
If a * appears before a node then it was recently discovered.
If a - appears before a node then it is currently unavilable.
Differences from the previous display are bolded.
-------------------
The service display looks like:
AIC: JIFFY[122] SWITCH96: LAT003[255]
BARD: CICERO[225] TESTSLO: LAT002[0]
COMM: LAT003[255] TSN: LAT015[254],LAT014[253]
FILETEST: WROLAT022[255] USSE01: WRO1LAT018[253]
FOCUS: LORAN[119],SLOOP[119] VB2: LAT011[255]
NWD: LAT010[252] WINERY: BRGNDY[52],CELLAR[37]
ORCAS: WRO1LAT018[253] vb1: LAT005[255]
OSCAR: LAT006[255]
RMD: LAT010[255]
SCC: LAT024[244]
SWITCH12: LAT007[255],LAT003[254]
SWITCH24: LAT003[254]
SWITCH48: LAT007[252]
The service displays only services that are offered by multiple nodes,
whose name differs from the offering node, or is currently unavailable.
Each service is displays in the format of
service_name: offering-node[service-rating][,...]
If a * appears before a service then it was recently discovered.
If a - appears before a service then it is currently unavilable.
Differences from the previous display are bolded.
T.R | Title | User | Personal Name | Date | Lines |
---|
450.1 | Sounds nice... where is it? | ENUF::GASSMAN | | Wed Apr 22 1987 09:33 | 3 |
| File doesn't seem to be there....?
|
450.2 | it's there | SYRAH::THOMAS | The Code Warrior | Wed Apr 22 1987 12:04 | 4 |
| Sitting in the default DECnet account on SYRAH:: (10.97)
You might try SYRAH""::SYS$COMMON:[DECNET]LATPAD.EXE but
SYRAH""::LATPAD.EXE should do.
|
450.3 | New and Improved | SYRAH::THOMAS | The Code Warrior | Wed Apr 22 1987 22:12 | 21 |
| New version (same place SYRAH""::LATPAD.EXE):
New commands:
SHOW {ACTIVE,KNOWN,INACTIVE,UPDATED} {NODES,GROUPS,SERVICES}
SHIFT {NODES,SERVICES} {LEFT,RIGHT} amount
Except that SHOW UPDATED GROUPS is disallowed.
There are some qualifiers for SHOW {...} SERVICES:
/MULTIPLE Only show multiply offered services
/NOMULTIPLE Show all services
/RATINGS=
NONE Show only the services name
HIGHEST Show just the node with the highest service rating
ALL Show all nodes offering the service (with ratings)
The SHIFT command allows you to move the display relative to it's "window"
left or right. For example, SHIFT SERVICES LEFT 80 moves the window to
right 80 columns or the display to the left 80 columns.
|