uawdijnntqw1x1x1
IP : 216.73.216.231
Hostname : 213-108-241-110.cprapid.com
Kernel : Linux 213-108-241-110.cprapid.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
digilove
/
public_html
/
administrator
/
components
/
com_akeeba
/
CliCommands
/
MixIt
/
MemoryInfo.php
/
/
<?php /** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Backup\Admin\CliCommands\MixIt; defined('_JEXEC') || die; /** * Utility methods to get memory information * * @since 7.5.0 */ trait MemoryInfo { /** * Returns the current memory usage * * @return string * * @since 7.5.0 */ private function memUsage(): string { if (function_exists('memory_get_usage')) { $size = memory_get_usage(); $unit = ['b', 'KB', 'MB', 'GB', 'TB', 'PB']; return @round($size / 1024 ** ($i = floor(log($size, 1024))), 2) . ' ' . $unit[$i]; } else { return "(unknown)"; } } /** * Returns the peak memory usage * * @return string * * @since 7.5.0 */ private function peakMemUsage(): string { if (function_exists('memory_get_peak_usage')) { $size = memory_get_peak_usage(); $unit = ['b', 'KB', 'MB', 'GB', 'TB', 'PB']; return @round($size / 1024 ** ($i = floor(log($size, 1024))), 2) . ' ' . $unit[$i]; } else { return "(unknown)"; } } }
/home/digilove/public_html/administrator/components/com_akeeba/CliCommands/MixIt/MemoryInfo.php