Name: Rodney Bewes Date: October 21, 2001 at 20:30:57 Pacific Subject: f$getdvi - Lexical function query.
Comment:
hi, running the command: sh dev 'disk id' shows a mount count (mnt cnt) of 2 but when running: write sys$output f$getdvi("disk id","mountcnt") only displays 1 any ideas why this is? r
apologies as i do not appear to have explained this very clearly. yes, these are clustered mounted disks which is highlighted by the 'mnt cnt' status of the 'sh dev' command. my query is although a disk is displaying a 'mnt cnt' of 2 running the 'sh dev' command this same disk only show a 'mount count' of 1 running 'write sys$output f$getdvi("disk id","mountcnt"). why is this? r
r noticed this myself a while ago. reading the system service manual it seems intended behaviour (does it make sense? can you mount a disk more than once locally?) The only way I know to obtain the info is to grep/parse it from the show device output. More info can be obtained from the "also mounted on" part of show device/full
using dcl not unix unfortunately. any ideas how to extract specific data from a commands output? i would need to extract the last character from the sh device disk_name command. is this possible using dcl? r
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE