Solved

Logical arithmetic

Posted on 2014-09-25
6
256 Views
Last Modified: 2014-09-25
More of a general 'math' question, I suppose, but it has to do with mailbox quotas.
I have 4 values for a mailbox quota size:
  -Current total used
 -What level does the user get a warning
 -What level is the user prohibited from sending
 -What level is the user prohibited from receiving.

So, if the user has 750MB total data usage, and their first warning is set to 800MB, they are at 93% utilization.
I need to perform a calculation when the utilization exceeds 85% that would allow me to increase the initial warning to an amount that puts them below 85%, but obviously not 84.xx% - I want to give them a bit of a buffer.

Having trouble getting this working the way I like because it keeps hitting the same users even after they're increased.

What calculation can I use to ensure these are set to 80% utilization, for example?
0
Comment
Question by:sirbounty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40344108
If the relevant percentage is MyPerCent, then you need to multiply current usage by MyPerCent/.80
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 40344127
>>So, if the user has 750MB total data usage, and their first warning is set to 800MB, they are at 93% utilization.
I need to perform a calculation when the utilization exceeds 85% that would allow me to increase the initial warning to an amount that puts them below 85%, but obviously not 84.xx% - I want to give them a bit of a buffer.


I'm having trouble understanding that.
The warning seems to be applied (800MB) AFTER they have exceeded their limit (750MB) !
A warning is a warning, you have given them a buffer (of 15% = 100 - 85) so 84.99% is still below their warning level.  Why would you require a buffer to reaching the buffer ?
0
 
LVL 67

Author Comment

by:sirbounty
ID: 40344156
If the relevant percentage is MyPerCent, then you need to multiply current usage by MyPerCent/.80

MyPercent being the 85% here?

So, if the usage is 85% of the warning value, I would make the new warning value = (currentusage * 85%)/.80?
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40344177
If I understand the question correctly, if the maximum is 1000Mb total, and they are at 850Mb (which is 85% of 1000), then their new limit should be 1000*85%/80% = 1062.50Mb.

This makes their current usage of 850Mb 80% of 1062.50Mb.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 40344216
>>Having trouble getting this working the way I like because it keeps hitting the same users even after they're increased.

ps.  If all you are talking about is a buffer size then increasing the buffer size (15 ->  20%) will reduce the size the user can utilise before they receive their warning.
0
 
LVL 67

Author Closing Comment

by:sirbounty
ID: 40344225
That should do it - thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PowerShell: ForEach-Object Export to CSV 4 92
.NET XML to Dictionary - XML has repeating node names 8 29
T-SQL Query 9 36
COM server issue 2 28
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question