Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux total memory

# show memory usage in megabytes
$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3788        1955         241         190        1592        1594
Swap:             0           0           0

# access memory raw data
$ cat /proc/meminfo
MemTotal:        3879924 kB
MemFree:          247836 kB
MemAvailable:    1633344 kB
Buffers:            3108 kB
Cached:          1567648 kB
SwapCached:            0 kB
Active:          2850928 kB
Inactive:         579040 kB
Active(anon):    1954152 kB
Inactive(anon):   100056 kB
Active(file):     896776 kB
Inactive(file):   478984 kB
...
Comment

PREVIOUS NEXT
Code Example
Shell :: ZSH Configuration File (.zshrc) 
Shell :: restart computer by terminul in ubuntu 
Shell :: how to docker login with gitlab 
Shell :: Show up usb drive in ubuntu if it mounts 
Shell :: ImportError: No module named alsaaudio 
Shell :: git log filter merge commits 
Shell :: delete commit from pr 
Shell :: kubernetes get services 
Shell :: how to go back to the last directory in linux 
Shell :: Install-Package MailKit 
Shell :: mv all files in directory to parent 
Shell :: find string terminal 
Shell :: install composer by cmd 
Shell :: linux time set 
Shell :: powershell count lines of code 
Shell :: homebrew not in path on ubuntu 
Shell :: install kind kubernetes 
Shell :: git reset remote 
Shell :: how to install homebrew 
Shell :: ubuntu 20.04 wont see OpemSSH 
Shell :: find the size of file in linux 
Shell :: install powershell on windows 
Shell :: tag gdb follow fork 
Shell :: how to combine audio tracks ffmpeg 
Shell :: directory structure 
Shell :: install ag in mac 
Shell :: kill process from pid 
Shell :: install mysql in debian 
Shell :: installing pytorch 
Shell :: git change branch remote 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =