memory_info

Main memory information in bytes.

Platform support

Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: memory_info

  • Linux

Table schema

Name

Type

Description

memory_total

BIGINT

Total amount of physical RAM, in bytes

memory_free

BIGINT

The amount of physical RAM, in bytes, left unused by the system

buffers

BIGINT

The amount of physical RAM, in bytes, used for file buffers

cached

BIGINT

The amount of physical RAM, in bytes, used as cache memory

swap_cached

BIGINT

The amount of swap, in bytes, used as cache memory

active

BIGINT

The total amount of buffer or page cache memory, in bytes, that is in active use

inactive

BIGINT

The total amount of buffer or page cache memory, in bytes, that are free and available

swap_total

BIGINT

The total amount of swap available, in bytes

swap_free

BIGINT

The total amount of swap free, in bytes

Query examples

Select all the results for the given table.

SELECT * FROM memory_info;