Fortinet white logo
Fortinet white logo

CLI Reference

hardware mem

hardware mem

Use this command to display the usage statistics of ephemeral memory (RAM), including swap pages and shared memory (Shmem), on the FortiWeb appliance. In the case of FortiWeb-VM, this will instead be for virtual hardware—the vRAM.

To use this command, your administrator account’s access control profile must have at least r permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose hardware mem list

Example

diagnose hardware mem list

Output similar to the following appears in the CLI:

MemTotal: 1026808 kB

MemFree: 397056 kB

Buffers: 121248 kB

Cached: 86112 kB

SwapCached: 0 kB

Active: 324664 kB

Inactive: 66608 kB

Active(anon): 186544 kB

Inactive(anon): 8856 kB

Active(file): 138120 kB

Inactive(file): 57752 kB

Unevictable: 46008 kB

Mlocked: 46008 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 1564 kB

Writeback: 0 kB

AnonPages: 229920 kB

Mapped: 12632 kB

Shmem: 11488 kB

Slab: 36564 kB

SReclaimable: 6552 kB

SUnreclaim: 30012 kB

KernelStack: 640 kB

PageTables: 8820 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 513404 kB

Committed_AS: 1216900 kB

VmallocTotal: 34359738367 kB

VmallocUsed: 38960 kB

VmallocChunk: 34359682723 kB

DirectMap4k: 8192 kB

DirectMap2M: 1040384 kB

Related topics

hardware mem

hardware mem

Use this command to display the usage statistics of ephemeral memory (RAM), including swap pages and shared memory (Shmem), on the FortiWeb appliance. In the case of FortiWeb-VM, this will instead be for virtual hardware—the vRAM.

To use this command, your administrator account’s access control profile must have at least r permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose hardware mem list

Example

diagnose hardware mem list

Output similar to the following appears in the CLI:

MemTotal: 1026808 kB

MemFree: 397056 kB

Buffers: 121248 kB

Cached: 86112 kB

SwapCached: 0 kB

Active: 324664 kB

Inactive: 66608 kB

Active(anon): 186544 kB

Inactive(anon): 8856 kB

Active(file): 138120 kB

Inactive(file): 57752 kB

Unevictable: 46008 kB

Mlocked: 46008 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 1564 kB

Writeback: 0 kB

AnonPages: 229920 kB

Mapped: 12632 kB

Shmem: 11488 kB

Slab: 36564 kB

SReclaimable: 6552 kB

SUnreclaim: 30012 kB

KernelStack: 640 kB

PageTables: 8820 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 513404 kB

Committed_AS: 1216900 kB

VmallocTotal: 34359738367 kB

VmallocUsed: 38960 kB

VmallocChunk: 34359682723 kB

DirectMap4k: 8192 kB

DirectMap2M: 1040384 kB

Related topics