Cool Solutions

quota-list script for OES Linux NSS volumes



By:

December 7, 2011 12:09 pm

Reads:5,811

Comments:0

Score:Unrated

License:
Free

Download quota-list

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

Steps to use:

  1. Extract the quota-list.tgz file with “tar xzvf quota-list.tgz”
  2. Then make quota-list.sh executable “chmod +x quota-list.sh”.
  3. Execute the quota-list.sh script as the “root” user and supply the volume name and column sort order.

Example output:

SERVER:/path # ./quota-list.sh
Enter the volume name name in all CAPS
VOL1

Enter the column to sort by
  1=USED
  2=QUOTA
  3=PERCENT
2


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
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Tags:
Categories: Cool Tools, Technical

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS