Also with MPEX you can create flexible listf's allowing you to check sort
your listf by size or whatever. It is in the manual. The one below is a
simple one I wrote a long time ago for this task. Called PIGLF. Within MPEX
you would do %listf @.@,^PIGLF.
FOR RFILE IN MPEXFILESET
SORT (SECTORS:'DESC',(TODAY-ACCDATE):'DESC',INTCODE,RHT(FILE,2):2)
FIRST
BEGIN
WRITELN (" FILE GROUP ACCOUNT CNT",
" FCODE LAST ACCESS DAYS ");
WRITELN ("=====================================",
"======================================");
WRITELN (" ");
END
DO
WRITELN (TAB(2), FILE,
TAB(14),GROUP,
TAB(26),SECTORS:8,
TAB(40),TOTAL(1,1),
TAB(50),CODE,
TAB(60),ACCDATE,
TAB(73),(TODAY-ACCDATE)
);
Results
FILE GROUP ACCOUNT CNT FCODE LAST ACCESS DAYS
==========================================================================
TLOGDB01 MDATABAS 1240016 1 PRIV 02 AUG 97 1
MANDB23 MDATABAS 633568 1 PRIV 03 AUG 97 0
HISDB22 HDATABAS 282816 1 PRIV 01 AUG 97 2
FINDB25 FDATABAS 260512 1 PRIV 01 AUG 97 2
PRTSRCHK MDATABAS 179920 1 KSAMK 29 JUL 97 5
FINDB24 FDATABAS 172192 1 PRIV 02 AUG 97 1
Flexible listfs are a tremendous tool and one of the goodies of having
Vesoft in your tool box.
Cheers,
Jim Herrity - Lucas Control Systems, Hampton VA
----------
From: owner-hp3000-l
To: HP3000-L
Subject: Re: the biggest files
Date: Friday, August 01, 1997 10:50PM
If you have MPEX, you can say,
% listf @[log in to unmask]@(sectors>100000),2
^^^^^^ or whatever file size value
is appropriate for you
(or use the listf,3 format to display creator name and
create/access/modify/restore dates).
Lee Gunter
Regence HMO Oregon
mailto:[log in to unmask]
voice...503-375-4498
fax.....503-375-4401
==========================================================
The opinions expressed, here, are mine and mine alone, and do not
necessarily reflect those of my employer.
______________________________ Reply Separator
_________________________________
Subject: [HP3000-L] the biggest files
Author: "[log in to unmask]" <[log in to unmask]> at ~INTERNET
Date: 8/1/97 3:11 PM
what is the best way to determine largest files on my system, (hp3000
937. Is there a way to look system wide and find them, and put the
results on a screen. I know something is screwed up because a yr
ago we added 12 gigs an went to 30 used disk space, we are currently
at 80% of cap. There is only 1 other person developing anything on the
system. and between me and the world, I think this person is forgetting
about some big files out there.
|