I've been also using EDTF and option 6 is Path size which gives me what I want but it takes a long time to run and creates locking issues and it only runs interactively.
du -m .
From: DrFranken <midrange@xxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Mon, Apr 18, 2011 4:53 pm
Subject: Re: QSH help
Getting the size is strightforward. While in the directory in QSH or
P2TERM simply enter du -m . The last number listed is the number
f MB used by the directory and all directories below.
File counts can be had with ls -lR | wc -l
- Larry "DrFranken" Bolhuis
n 4/18/2011 4:21 PM, fbocch2595@xxxxxxx wrote:
Hi Folks, we had moved data off our IBMi but in a nice turn of events we've
ecided to put the data back on the i and in the IFS (some good news for a
hange). The data is in one directory but in dozens of sub directories of that
irectory. How could I use QSH to total up the number of objects in the sub
irectories and the total size of the objects? I haven't been asked for details
n the names and sizes of each object so if I could get a grand total of the
umber of objects and a grand total of the size of the objects that would
uffice for now.
As always, any info/help appreciated.
his is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
o post a message email: MIDRANGE-L@xxxxxxxxxxxx
o subscribe, unsubscribe, or change list options,
r email: MIDRANGE-L-request@xxxxxxxxxxxx
efore posting, please take a moment to review the archives