From: labadie [gerard.labadie@COMPAQ.COM]
Sent: Wednesday, July 05, 2000 4:28 AM
To: Info-VAX@Mvb.Saic.Com
Subject: Re: Locate the hotfiles

You have a good free tool on

http://www.chez.com/jfp/procio

It does basically the following, for a process

ana/sys
set pro/id=4pid
sh proc/channel
then for each file (not .exe or mailbox...)
for 'window
note the values of wcb$l_reads and wcb$l_writes for this file

prints the statistics, sorted by reads or writes, e.g.

$ perl procio.pl 20200155 total 
Reads Writes 
67802 0 $1$DKA100:[BASES_RDB.MABASE]MABASE_AREA02.RDA; 
37176 0 $1$DKA100:[BASES_RDB.MABASE]MABASE_AREA01.RDA; 
0 1423 $1$DKA100:[USERS.JFP]SORTWORK1.TMP; 
1370 0 $1$DKA100:[BASES_RDB.MABASE]MABASE.RDA; 
0 1252 $1$DKA100:[USERS.JFP]SORTWORK0.TMP; 
455 0 $1$DKA100:[BASES_RDB.MABASE]MABASE_AREA_DEFAULT.RDA; 
35 0 $1$DKA100:[BASES_RDB.MABASE]MABASE_AREA_DEFAULT.SNP; 
34 0 $1$DKA100:[BASES_RDB.MABASE]MABASE.SNP; 
24 7 $1$DKA100:[BASES_RDB.MABASE]MABASE.RDB; 
5 0 $1$DKA0:[SYSCOMMON.SYSEXE]RIGHTSLIST.DAT; 
0 5 $1$DKA100:[USERS.RDM$RUJ]MABASE$00014612AA9E.RUJ; 
$ 





twong@livingstonintl.com a écrit dans l'article
<8jdaj6$i4g$1@nnrp1.deja.com>...
> One of the disk has much higher i/o rate in comparing with others.  I
> desire to enable some global buffer counts on those hot files.
> 
> Is there any way to locate the files with high i/o rate ?
> 
> Thanks for inputs in advance
> 
> Terence.
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>