This script will provide the user quota information from an OES Linux NSS volume.
It will create four files for processing and four output files that contain the quota information.
Default output is in megabytes and can be changed by modifying the SIZE variable.
Columns are in this order: USEDSPACE QUOTAAMOUNT PERCENT NAME
SERVER:/path # ./quota-list.sh
Enter the volume name name in all CAPS
Enter the column to sort by
Quota summary without modification has been sent to /tmp/UserInfo-VOL1-111201-summary-original
Quota summary of all users has been sent to /tmp/UserInfo-VOL1-111201-summary
Quota summary of only assigned users has been sent to /tmp/UserInfo-VOL1-111201-summary-assigned-quotas
Quota summary of only assigned users and no unknown (deleted) users /tmp/UserInfo-VOL1-111201-summary-assigned-quotas-no-unknown-users
Unknown (deleted) users are taking 128