home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UH01.Colorado.EDU!DWING
- From: DWING@UH01.Colorado.EDU (Dan Wing)
- Newsgroups: comp.os.vms
- Subject: Re: help on SET WATCH?
- Message-ID: <01GTFCKBG002003NZ9@VAXF.COLORADO.EDU>
- Date: 12 Jan 93 16:14:35 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 47
-
- Chris Melaro, cmelaro@loyola.edu, writes:
-
- >Can anyone help me with the undocumented SET WATCH command? I've used it in
- >the past but can't seem to remember all the paramaters now.
-
- Here you are.
-
- -Dan Wing, dwing@uh01.colorado.edu or wing_d@ucolmcc.bitnet (DGW11)
- Systems Administrator, University Hospital, Denver
-
- SET WATCH
-
- The following *undocumented* (and unsupported) DCL command allows you to
- monitor the VMS file system opening, closing, reading, and writing to files.
- This may be useful when running programs to determine the filenames opened
- and read/write counts to these files.
-
- Because this is an undocumented command, it should not be included in any
- production programs or .COM files.
-
-
- $ SET WATCH FILE/CLASS=(option[,...])
-
- where "option" is one or more of the following options. If you
- specify more than one option, enclose the options in paraenthesis
- and separate the options with commas.
-
- NONE Disable all watching
- QUOTA_OPERATIONS Disk quota changes
- MAJOR_FUNCTION Opens, closes, reads, writes
- ATTACHED <??>
- DUMP FIB (File Information Block) dump
- DIRECTORY_OPERATIONS All functions on directories
- CONTROL_FUNCTION Protection changes
- ATTRIBUTES Changes to file attributes
- ALL All options listed above
-
-
- Useful information may be obtained by using the option MAJOR_FUNCTION and
- DIRECTORY_OPERATIONS. Most of the other options display a lot of information
- which may not be helpful for most tasks.
-
- This command requires CMEXEC privilege.
-
- Jerry Leichter <leichter%LRW.COM@uga.cc.uga.edu> mentioned (in INFO-VAX)
- that SET WATCH has the potential to crash your system.
-
-