• Skip to primary navigation
  • Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

memory

VM Stats

by Ulysses · Jan 13, 2020

To check VM stats, use the following commands.

To see used and unused memory, swap space.

free

free

To see RAM details.

sudo dmidecode -t 17

sudo dmidecode -t 17

To see number of processors.

nproc

nproc

To see CPU details.

lscpu

lscpu

Filed Under: Cloud, Linux Tagged With: cpu, free, gcp, memory, processors, stats, swap

Check Memory in Linux

by Ulysses · Feb 6, 2019

Here are several commands to check memory in Linux.

free -m
cat /proc/meminfo
vmstat -s
top

free -m cat /proc/meminfo vmstat -s top

Filed Under: Linux Tagged With: check, memory

Copyright © 2012–2021