略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: win32_ps_stat_mem

2024-05-02

win32_ps_stat_mem

(PECL win32ps >= 1.0.1)

win32_ps_stat_memStat memory utilization

说明

win32_ps_stat_mem ( void ) : array

Retrieves statistics about the global memory utilization.

返回值

Returns FALSE on failure, or an array consisting of the following information on success:

load

The current memory load in percent of physical memory.

unit

This is always 1024, and indicates that the following values are the count of 1024 bytes.

total_phys

The amount of total physical memory.

avail_phys

The amount of still available physical memory.

total_pagefile

The amount of total pageable memory (physical memory + paging file).

avail_pagefile

The amount of still available pageable memory (physical memory + paging file).

total_virtual

The amount of total virtual memory for a process.

avail_virtual

The amount of still available virtual memory for a process.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.win32-ps-stat-mem.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3