× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm a little late to the game...

Here's what I use to zip and store the output to my home directory for
future reference.
Note: You need ncdu and gzip installed. Run during downtime.

For Libraries:
$ ncdu -1xo- /QSYS.LIB | gzip > ncdu-export-libraries01.gz

For everything else in the IFS:
$ ncdu -1xo- / --exclude /QDLS --exclude /QFileSvr.400 --exclude /QIBM
--exclude /QNTC --exclude /QOpenSys --exclude /QOPT --exclude /QSR --exclude
/QSYS.LIB --exclude /QTCPTMM | gzip > ncdu-export-ifs01.gz

Then to review them on-demand:
$ zcat ncdu-export-libraries01.gz | ncdu -f-
$ zcat ncdu-export-ifs01.gz | ncdu -f-

-------------
Jacob
-------------

message: 4
date: Wed, 14 Aug 2024 20:47:23 +0000
from: Richard Schoen <richard@xxxxxxxxxxxxxxxxx>
subject: Re: Who stole my IBM i disk space ?

Ncdu does output to a file in JSON format with the -o switch.

Which means it is accessible from 5250.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.