Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by clarenz

  1. clarenz

    Help with BC

    PER=`echo "\`cat $USAGE\`/\`cat $LIMIT\`" | bc` The ouput of the above is this: > ./quota_report.sh Quota Report for FM_group Current data usage is: 132120576 Quota limit is set to: 98712344 Percentage of Data to Quota Limit is: 0% PER=`echo "\`cat $USAGE\`/\`cat...
  2. clarenz

    Help with BC

    Jamisar This the latest output. > ./quota_report.sh (standard_in) 1: illegal character: Quota Report for FM_group Current data usage is: 132120576 Quota limit is set to: 98712344 Percentage of Data to Quota Limit is: % I think the illegal character it is referring to is the one to remove...
  3. clarenz

    Help with BC

    Thanks for your time, Jamisar. I have tried your suggestion and it did not work, but we are getting close :) Following is the output. > ./quota_report.sh File 98712344/132120576*100 is unavailable. Quota Report for FM_group Current data usage is: 132120576 Quota limit is set to: 98712344...
  4. clarenz

    Help with BC

    Folks I have extracted some raw data from our servers and wish to do some simple arithmetic to it. The end result that I wish to get is 1. The amount of data that is presently used. 2. The amount allocated to them 3. The % of data that is used of allocated space. I can extract the first...

Part and Inventory Search

Back
Top