T.R | Title | User | Personal Name | Date | Lines |
---|
4089.1 | | YAHEY::BOSE | | Mon Nov 16 1992 09:15 | 9 |
|
To get an ASN dump of both the send and receive mesaages, define the
logical MCC_TCPIP_AM_LOG to a value of 60.
On VMS $ DEFINE MCC_TCPIP_AM_LOG 60
On Ultrix # setenv MCC_TCPIP_AM_LOG 0x60
Rahul.
|
4089.2 | Thank you | NBOFS1::HKLEIN | | Mon Nov 16 1992 12:18 | 1 |
|
|
4089.3 | Is a log file created? | SKULLY::COMPTON | Dorie | Mon Mar 15 1993 08:11 | 6 |
| If these bits are set where does the information go? Is a log file
created in the user's directory with a specific name? Or is it put
in one of DECmcc's directories?
Thanks,
Dorie
|
4089.4 | Can I create a log file? | SKULLY::COMPTON | Dorie | Mon Mar 15 1993 10:57 | 7 |
| I have tried to set the log bits on a VMS system and the output goes
to the screen. Is there a way to make this go to a file???? I
actually want to do the tracing on a Ultrix system, but right now I
have a VMS system to test with.
Thanks,
Dorie
|
4089.5 | def/u | HADRES::KRAUSE | European NewProductEngineer for MCC | Tue Mar 16 1993 06:03 | 3 |
| Do a DEFINE/USER SYS$OUTPUT file.name immediately before starting MCC.
*Robert
|
4089.6 | Ultrix? | SKULLY::COMPTON | Dorie | Tue Mar 16 1993 07:48 | 4 |
| Can someone tell me how I can do this on Ultrix?
Thanks,
Dorie
|
4089.7 | Ultrix-> use 'script' | MCDOUG::doug | pre-retinal integration | Tue Mar 16 1993 08:45 | 50 |
| > Can someone tell me how I can do this on Ultrix?
>
> Thanks,
> Dorie
>
the "script" man page:
script(1)
Name
script - generate script of your terminal session
Syntax
script [-a] [file]
Description
The script command calls a forked shell and then makes a typescript of
everything printed on your terminal. The typescript is written to file,
or appended to file if the -a option is given. If no file name is
given, the typescript is saved in the file typescript . Later, it can be
sent to the line printer with lpr.
When script is run, it will execute your .cshrc file and will also put
you under control of a new pty. The script program ends when the forked
shell exits.
This program is useful when using a crt and you want a hard-copy record
of the dialog. An example of how script can be used is a student handing
in a program that was developed on a crt when hard-copy terminals are in
short supply.
Options
-a Appends output to the output file.
Restrictions
Because the script command uses a second pair of pseudo ttys, some com-
mands will fail when run under script. For example, the whoami command
may not always return a username.
Also, the vi editor can be affected by script. The vi commands j, k, h,
and l that are used to move the cursor, do not always function properly.
If the screen becomes garbled when using these commands, use <ctrl> L to
refresh the screen.
See Also
pty(4)
|
4089.8 | Not able to get a log on Ultrix? | SKULLY::COMPTON | Dorie | Wed Mar 17 1993 06:17 | 17 |
| Thanks, for the help. I tried to set the log bits on the Ultrix
system, but get no log.
$export MCC_TCPIP_AM_LOG=0x60
I check to see that it is set.
I then start DECmcc
$mcc_iconic_map &
I select an SNMP entity and then do a show characteristics, but there
is no trace created.
Any ideas?
Thanks,
Dorie
|
4089.9 | did you kill mcc_tcpip_am? | MCDOUG::doug | pre-retinal integration | Wed Mar 17 1993 11:20 | 8 |
| The snmp am process was probably still running *before* you set the log
bits.
You need to kill off any running mcc_tcpip_am processes, set the variable,
*then* run MCC. Easiest way to make sure all's cool is to mcc_kill ALL
as root, then do your thing.
/doug
|
4089.10 | Killing mcc did the trick | SKULLY::COMPTON | Dorie | Wed Mar 17 1993 17:34 | 5 |
| You were right. I was able to do the mcc_kill ALL and then set
the log bits and got my trace.
Thanks,
Dorie
|
4089.11 | SNMP Trap Messages? | SKULLY::COMPTON | Dorie | Thu Mar 25 1993 11:25 | 3 |
| Can you also just log SNMP Trap messages?
Dorie
|
4089.12 | Not currently\ | MOLAR::PERRY | | Mon Mar 29 1993 17:15 | 7 |
| No, but an event log does sounds like a good idea.
You can, however, find out how many traps you've received along with
the time and type of the last one.
jim
|