public int getPercent() {
            return (int) Math.round(getPercentUsed());
        }
Returns the percentage of the maximum memory that is currently used by Openfire, rounded to the nearest
integer value.

@return a percentage (between 0 and 100).
xmppserver/src/main/java/org/jivesoftware/util/MemoryUsageMonitor.java