I want to make a batch job that would run for a week and give me the sizes of all directories and "files" in the IFS-file system. Is this possible?
I would create a CL that issues a QSH CMD ('ls -l >dir.txt') for the first directory, and 'ls -l >>dir.txt' for each subsequent directory you want to size. You can the read the text file and extract the numbers to find the total sizes. You wouldn't want to do this for the entire IFS, as there are thousands of system objects that remain static.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.
Dig Deeper on Past Releases
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.