Reply to Message

Reply to Message

View discussion in a popup

Replying to:
bhalilov1
2 Iron

Re: API questions

If you need the size of the directory and all of  it's content ( subdirectories included)  you can query the sqlite3 database that FSanalize job creates. I'm not sure if you need InsightIQ  to be able to schedule the FSanalyze jobs :

ptc-3# sqlite3 /ifs/.ifsvar/modules/fsa/pub/latest/results.db 'select system_squash_map.path , disk_usage.phys_size_sum /1024  from system_squash_map  join disk_usage on system_squash_map.lin = disk_usage.lin  where system_squash_map.path like "%big%"  ;'

dm/bigdir|486389

dm/samebigdir|486341

dm/big1|486341

dm/verybig|486365