[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

412.0. "What's in .TIMES ?" by UTROP1::RIJSBERGEN_M (Marcel Rijsbergen @uto) Thu Sep 22 1994 14:46

    
    - Can't find a description of what is in the logfiles for a system
    	- .LOG		(like OPERATOR.LOG)
    	- .EVENTS	(all events)
    	- .TIMES	?
    	pointer to documentation will do.
    
    - MicroVAX 3100-20 can't be halted ? Switch on the back is no good
    'cause system does not boot at all. Tried >>> SET HALT etc. but maybe I
    didn't try the proper combinations.
    
    - When an event occurs not all text is in the EVENTSINGLE or SHOW
    EVENTS of a node (is this the patch ?)
    
    Regards, Marcel.
T.RTitleUserPersonal
Name
DateLines
412.1OPG::PHILIPAnd through the square window...Thu Sep 22 1994 16:1743
Marcel,

   Times are in the .TIMES file ;-) Seriously, for each line of data
   in the .LOG file you will find a corresponding record in the .TIMES
   file giving the time of the log line and its offset from the beginning
   of the .LOG file, all this helps us timestamp the data and search for
   specific times in the monitor interface.

   I STRONGLY urge you to NOT change ANYTHING in any of these three files
   (.TIMES, .LOG and .EVENT) as you will completely screw up PCM and its
   ability to retrieve context etc.

   Are you trying to stop the system with a BREAK SIGNAL or CONTROL-P does
   the system expect the one you are trying to use? I dont have access to
   a 3100-20 so I cant be much more help I am afraid.

   All the text does not appear because ENS gets the text from the log file
   which the daemon may not have updated with the FULL line of context
   because it has not appeared on the console line (this is more likely to
   happen on slow consoles where the event will be detected x characters
   before a newline character appears on the line). Dont forget we generate
   an event IMMEDIATELY after the last character of you event text definition
   has occured. If you want to guarantee that the whole line is available,
   change your event definition to be a regular expression and add the
   Start/End of line metacharacter to the end of the definition e.g.

         BEFORE, text is LITERAL, value is "Username:"

	 This may not show the value entered at the username prompt, to see
         the value, enter your event as follows:

         AFTER, text is REGULAR EXPRESSION, value is "Username:*^"

         This will generate an event when the user has entered their username
         and hit <RETURN>, you action routines will show what they typed.
         (The event will also get generated if loginout times out the login
         prompt.


  Hope this helps.

Cheers,
Phil
412.2UTROP1::RIJSBERGEN_MMarcel Rijsbergen @utoThu Sep 29 1994 11:0427
    
>>   Times are in the .TIMES file ;-) Seriously, for each line of data
>>   in the .LOG file you will find a corresponding record in the .TIMES
>>   file giving the time of the log line and its offset from the beginning
>>   of the .LOG file, all this helps us timestamp the data and search for
>>   specific times in the monitor interface.
    
    I assume it has to do with speed too. Searching through .LOG using
    offset is faster than the VCS way of searching from start through end.

>>   Are you trying to stop the system with a BREAK SIGNAL or CONTROL-P does
>>   the system expect the one you are trying to use? I dont have access to
>>   a 3100-20 so I cant be much more help I am afraid.
    
    Tried F5 key as this is in use with a couple of MV systems to go into
    halt mode. But this returns 'Username:'
    Tried ^P, PCM asks 'Do you want to send BREAK', answer 'Y', nothing
    happens.

>>   has occured. If you want to guarantee that the whole line is available,
>>   change your event definition to be a regular expression and add the
>>   Start/End of line metacharacter to the end of the definition e.g.
    
    Thanx for pointer of '^' as EOL character check. Have to get used to
    the new regular expression stuff.
    
    Regards, Marcel.
412.3OPG::PHILIPAnd through the square window...Thu Sep 29 1994 11:4743
Marcel,

>>>>   Times are in the .TIMES file ;-) Seriously, for each line of data
>>>>   in the .LOG file you will find a corresponding record in the .TIMES
>>>>   file giving the time of the log line and its offset from the beginning
>>>>   of the .LOG file, all this helps us timestamp the data and search for
>>>>   specific times in the monitor interface.
    
>>    I assume it has to do with speed too. Searching through .LOG using
>>    offset is faster than the VCS way of searching from start through end.

  Yup, it also gives us portability as we dont have Indexed files on ULTRIX
  or OSF/1

>>>>   Are you trying to stop the system with a BREAK SIGNAL or CONTROL-P does
>>>>   the system expect the one you are trying to use? I dont have access to
>>>>   a 3100-20 so I cant be much more help I am afraid.
    
>>    Tried F5 key as this is in use with a couple of MV systems to go into
>>    halt mode. But this returns 'Username:'
>>    Tried ^P, PCM asks 'Do you want to send BREAK', answer 'Y', nothing
>>    happens.

  F5 on VTxxx terminals actually used to transmit a BREAK SIGNAL, F5 on a
  workstation sends who knows what, and it looks like your MicroVAX wants
  Control-P and not the BREAK SIGNAL.

  So, try a SET BREAK_KEY CTRL_I within the monitor interface, then connect
  to the system and type ^P, this will send a control-P instead of a break
  sytstem

>>>>   has occured. If you want to guarantee that the whole line is available,
>>>>   change your event definition to be a regular expression and add the
>>>>   Start/End of line metacharacter to the end of the definition e.g.
    
>>    Thanx for pointer of '^' as EOL character check. Have to get used to
>>    the new regular expression stuff.
 
  No problem, there are some other "metacharacters" too, I suggest that you
  look them up, they can be very powerful.

Cheers,
Phil