mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
19 lines
1019 B
Plaintext
19 lines
1019 B
Plaintext
table_name("memory_info")
|
|
description("Main memory information in bytes.")
|
|
schema([
|
|
Column("memory_total", BIGINT, "Total amount of physical RAM, in bytes"),
|
|
Column("memory_free", BIGINT, "The amount of physical RAM, in bytes, left unused by the system"),
|
|
Column("buffers", BIGINT, "The amount of physical RAM, in bytes, used for file buffers"),
|
|
Column("cached", BIGINT, "The amount of physical RAM, in bytes, used as cache memory"),
|
|
Column("swap_cached", BIGINT, "The amount of swap, in bytes, used as cache memory"),
|
|
Column("active", BIGINT, "The total amount of buffer or page cache memory, in bytes, that is in active use"),
|
|
Column("inactive", BIGINT, "The total amount of buffer or page cache memory, in bytes, that are free and available"),
|
|
Column("swap_total", BIGINT, "The total amount of swap available, in bytes"),
|
|
Column("swap_free", BIGINT, "The total amount of swap free, in bytes"),
|
|
])
|
|
|
|
implementation("memory_info@getMemoryInfo")
|
|
fuzz_paths([
|
|
"/proc/meminfo",
|
|
])
|