|
Hi, Pete, Scott provides a better way to do it... In V5R1 and V5R2, you can use the QSRSRV program to get a PRTDSKINF-like report of your IFS sizes: http://archive.midrange.com/midrange-l/200304/msg01399.html In V5R3 and later, there's RTVDIRINF and PRTDIRINF commands. -- Scott Klement http://www.scottklement.com Best Regards. James Fu Operating System Specialist TDL Group Corp. (Tim Hortons) Oakville, Ontario Direct: 905-339-5798 fu_james@xxxxxxxxxxxxxx Web: http://www.timhortons.com Pete Hall <pbhall@ameritech .net> To Sent by: Midrange Systems Technical midrange-l-bounce Discussion s@xxxxxxxxxxxx <midrange-l@xxxxxxxxxxxx> cc 02/17/2006 07:50 Subject PM Re: How to list the size of each IFS directory in V5R2 Please respond to Midrange Systems Technical Discussion <midrange-l@midra nge.com> You could run ls -l in qshell, which returns the file sizes. ls -lR to recurse directories ls -lR /qdls/* when run from the root will return the sizes of all the files in any directory under qdls. ls -l /qdls/* will only return the top level. You'll need a script to add them up though if you want a total. Awk is great for that. -- Pete Hall pbhall@xxxxxxxxxxxxx http://www.pbhall.us/ fu_james@xxxxxxxxxxxxxx wrote: > As we can list the size and detail file info of a library with "PRTDSKINF" > command, is there any way to list the size and detail info of a > IFS directory in V5R2. Thanks... > > Best Regards. > > James Fu > > TDL Group Corp. (Tim Hortons) > Oakville, Ontario > Web: http://www.timhortons.com > > > The information contained in this message is confidential and may be > legally privileged. The message is intended solely for the addressee(s). > If you are not the intended recipient, you are hereby notified that any > use, dissemination, or reproduction is strictly prohibited and may be > unlawful. If you are not the intended recipient, please contact the sender > by return e-mail and destroy all copies of the original message. > > L'information contenue dans ce message est de nature confidentielle et > peut etre de nature privilegiee. Ce message est strictement reserve a > l'usage de son ou ses destinataires. Si vous n'etes pas le destinataire > prevu, prenez avis, par la presente, que tout usage, distribution, ou > copie de ce message est strictement interdit et peut etre illicite. Si > vous n'etes pas le destinataire prevu, veuillez en aviser l'expediteur par > courriel et detruire tous les exemplaires du message original. > > -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. The information contained in this message is confidential and may be legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. L'information contenue dans ce message est de nature confidentielle et peut etre de nature privilegiee. Ce message est strictement reserve a l'usage de son ou ses destinataires. Si vous n'etes pas le destinataire prevu, prenez avis, par la presente, que tout usage, distribution, ou copie de ce message est strictement interdit et peut etre illicite. Si vous n'etes pas le destinataire prevu, veuillez en aviser l'expediteur par courriel et detruire tous les exemplaires du message original.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.