home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20773 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.7 KB  |  67 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!mcsun!dxcern!news
  3. From: clusmgr@vxcern.decnet.cern.ch     (LETERTRE Christiane)
  4. Subject: Re: help on SET WATCH?
  5. Message-ID: <1993Jan12.092725.27830@dxcern.cern.ch>
  6. Sender: news@dxcern.cern.ch (USENET News System)
  7. Reply-To: LETERTRE@VXCERN.DECNET.CERN.CH
  8. Organization: CERN
  9. References:  <11JAN199318354679@loyola.edu>
  10. Date: Tue, 12 Jan 1993 09:27:25 GMT
  11. Lines: 54
  12.  
  13.  
  14. In article <11JAN199318354679@loyola.edu>, cmelaro@loyola.edu (Chris Melaro) 
  15. writes:
  16. |>Can anyone help me with the undocumented SET WATCH command?  I've used it in
  17. |>the past but can't seem to remember all the paramaters now.
  18.  
  19. Hereafter, is all the information I have on it.
  20.  
  21.     SET WATCH is an unsupported, undocumented feature of VMS (4.x, 5.x)
  22.     It needs CMKRNL. (CMEXEC may suffice)
  23.         
  24.     As such, it should be used with caution. 
  25.  
  26. It executes the image SYS$SYSTEM:SETWATCH.EXE who simply sets a few bits in 
  27. the high byte of PIO$GW_DFPROT in your P1 space.  
  28.  
  29. It gives information on all the accessed files in a batch or interactive
  30. session, the information to be displayed is selected with the class parameter
  31. (see below).
  32.  It is a very handy tool to get information on files used by an executable 
  33. for which no documentation is available.
  34.  
  35. It is activated via the DCL command  SET WATCH FILE/CLASS=xxxx
  36.     xxxx may take the following values:
  37.         ALL            (gives all the information)
  38.         ATTRIBUTES              (gives the attributes of each
  39.                     open files)
  40.         CONTROL_FUNCTIONS    (*)
  41.         DIRECTORY_OPERATIONS    (*)
  42.         DUMP                   (Gives the FIB contents for each
  43.                     referenced files)
  44.         MAJOR_FUNCTION          (*) (Access, deaccess, lookup)
  45.         QUOTA_OPERATIONS        (displayed QUOTA changes)
  46.         NONE            (To deactivate SET WATCH)
  47.  
  48. (*) signals the more interesting classes.
  49.  
  50. All is very verbose, Major is usually sufficient.  This command mimics
  51. the SET WATCH FILES command from the Tops-10 operating system.  The one
  52. thing it's missing is telling you the directory an accessed file is in.
  53. The reason for this is that by the time the XQP (which is what's reporting
  54. all of this info, by the way) gets around to telling you about something
  55. it's really operating by file ID. 
  56. --
  57.  ------------------------------------------------------------------------------
  58.   Christiane LETERTRE                                                        
  59.  
  60.   CERN / European Laboratory for Particle Physics                            
  61.   CH-1211 GENEVA 23                                                          
  62.   Tel: (022) 767 28 54                                                       
  63.                                                                              
  64.   Mail address: LETERTRE@VXCERN.DECNET.CERN.CH                               
  65.  ------------------------------------------------------------------------------
  66.  
  67.