public function getMemPercentBuffer()
    {
        if ($this->_memBuffer !== null) {
            if (($this->_memBuffer > 0) && ($this->_memTotal > 0)) {
                if (($this->_memCache !== null) && ($this->_memCache > 0)) {
                    if (($this->_memApplication !== null) && ($this->_memApplication > 0)) {
                        return round(($this->_memBuffer + $this->_memApplication + $this->_memCache) / $this->_memTotal * 100) - $this->getMemPercentApplication() - $this->getMemPercentCache();
                    } else {
                        return round(($this->_memBuffer + $this->_memCache) / $this->_memTotal * 100) - $this->getMemPercentCache();
                    }
                } elseif (($this->_memApplication !== null) && ($this->_memApplication > 0)) {
                    return round(($this->_memBuffer + $this->_memApplication) / $this->_memTotal * 100) - $this->getMemPercentApplication();
                } else {
                    return round($this->_memBuffer / $this->_memTotal * 100);
                }
            } else {
                return 0;
            }
        } else {
            return null;
        }
    }
public function getMemPercentBuffer()
    {
        if ($this->_memBuffer !== null) {
            if (($this->_memBuffer > 0) && ($this->_memTotal > 0)) {
                if (($this->_memCache !== null) && ($this->_memCache > 0)) {
                    if (($this->_memApplication !== null) && ($this->_memApplication > 0)) {
                        return round(($this->_memBuffer + $this->_memApplication + $this->_memCache) / $this->_memTotal * 100) - $this->getMemPercentApplication() - $this->getMemPercentCache();
                    } else {
                        return round(($this->_memBuffer + $this->_memCache) / $this->_memTotal * 100) - $this->getMemPercentCache();
                    }
                } elseif (($this->_memApplication !== null) && ($this->_memApplication > 0)) {
                    return round(($this->_memBuffer + $this->_memApplication) / $this->_memTotal * 100) - $this->getMemPercentApplication();
                } else {
                    return round($this->_memBuffer / $this->_memTotal * 100);
                }
            } else {
                return 0;
            }
        } else {
            return null;
        }
    }
public function getMemPercentBuffer ( ) { if ( $ this -> _memBuffer !== null ) { if ( ( $ this -> _memBuffer > 0 ) && ( $ this -> _memTotal > 0 ) ) { if ( ( $ this -> _memCache !== null ) && ( $ this -> _memCache > 0 ) ) { if ( ( $ this -> _memApplication !== null ) && ( $ this -> _memApplication > 0 ) ) { return round ( ( $ this -> _memBuffer + $ this -> _memApplication + $ this -> _memCache ) / $ this -> _memTotal * 100 ) - $ this -> getMemPercentApplication ( ) - $ this -> getMemPercentCache ( ) ; } else { return round ( ( $ this -> _memBuffer + $ this -> _memCache ) / $ this -> _memTotal * 100 ) - $ this -> getMemPercentCache ( ) ; } } elseif ( ( $ this -> _memApplication !== null ) && ( $ this -> _memApplication > 0 ) ) { return round ( ( $ this -> _memBuffer + $ this -> _memApplication ) / $ this -> _memTotal * 100 ) - $ this -> getMemPercentApplication ( ) ; } else { return round ( $ this -> _memBuffer / $ this -> _memTotal * 100 ) ; } } else { return 0 ; } } else { return null ; } }
return percent of used memory for buffer

@see System::_memBuffer
@see System::_memTotal

@return Integer
return percent of used memory for buffer