linux command to check memory usage in percentage
Shell
$ free -t | awk 'NR == 2 {printf("Current Memory Utilization is : %.2f%"), $3/$2*100}'
or
$ free -t | awk 'FNR == 2 {printf("Current Memory Utilization is : %.2f%"), $3/$2*100}'
Current Memory Utilization is : 20.42%
free -mtop - 15:20:30 up 6:57, 5 users, load average: 0.64, 0.44, 0.33
Tasks: 265 total, 1 running, 263 sleeping, 0 stopped, 1 zombie
%Cpu(s): 7.8 us, 2.4 sy, 0.0 ni, 88.9 id, 0.9 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8167848 total, 6642360 used, 1525488 free, 1026876 buffers
KiB Swap: 1998844 total, 0 used, 1998844 free, 2138148 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2986 enlighte 20 0 584m 42m 26m S 14.3 0.5 0:44.27 yakuake
1305 root 20 0 448m 68m 39m S 5.0 0.9 3:33.98 Xorg
7701 enlighte 20 0 424m 17m 10m S 4.0 0.2 0:00.12 kio_thumbnail
Also in Shell:
- Title
- laravel create model
- Category
- Shell
- Title
- how to remove commit in git extension
- Category
- Shell
- Title
- install boostrap react
- Category
- Shell
- Title
- remove mysql
- Category
- Shell
- Title
- linux how to close terminal full screen
- Category
- Shell
- Title
- set feh wallpaper
- Category
- Shell
- Title
- npm install jquery
- Category
- Shell
- Title
- tcr test commit revert
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- install sailsjs
- Category
- Shell
- Title
- linux find files multiple
- Category
- Shell
- Title
- linux add user to group
- Category
- Shell
- Title
- send file to aws ec2 termnal
- Category
- Shell
- Title
- How to find cmake version in ubuntu?
- Category
- Shell
- Title
- rithm school github
- Category
- Shell
- Title
- install ip addr on ubuntu
- Category
- Shell
- Title
- uninstall cinnamon
- Category
- Shell
- Title
- how to pull from a particular branch in git
- Category
- Shell
- Title
- i dont have pip, hoow to install pandas
- Category
- Shell
- Title
- linux create file
- Category
- Shell
- Title
- GVfs metadata is not supported. Fallback to TeplMetadataManager.
- Category
- Shell
- Title
- scheduler ubuntu cmd
- Category
- Shell
- Title
- kubernetes copy files to persistent volume
- Category
- Shell
- Title
- gatsby image
- Category
- Shell
- Title
- linux install node
- Category
- Shell
- Title
- golang compile with injected variable
- Category
- Shell
- Title
- brew minikube custom version install
- Category
- Shell
- Title
- adding remote origin git
- Category
- Shell
- Title
- vim command to open a file
- Category
- Shell
- Title
- how to open emulator in vs code
- Category
- Shell
- Title
- install redux
- Category
- Shell
- Title
- installing helm and tiller on minikube
- Category
- Shell
- Title
- enzyme npm install
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- netstat column headers
- Category
- Shell
- Title
- git config --global credential.helper osxkeychain
- Category
- Shell
- Title
- linux mesuare request time http
- Category
- Shell
- Title
- git discard unstaged files
- Category
- Shell
- Title
- javascript execute powershell script
- Category
- Shell
- Title
- how to update git on windows
- Category
- Shell
- Title
- angular add modulee
- Category
- Shell
- Title
- jscore
- Category
- Shell
- Title
- make docker sudo less
- Category
- Shell
- Title
- git delete repository command line
- Category
- Shell
- Title
- bootstrap node install
- Category
- Shell
- Title
- como agregar angular material al proyecto
- Category
- Shell
- Title
- git add commit in one command
- Category
- Shell
- Title
- linux tar zip folder
- Category
- Shell
- Title
- git push
- Category
- Shell
- Title
- ng2-dragula valor software github
- Category
- Shell
- Title
- package 'mana-toolkit' has no installation candidate
- Category
- Shell
- Title
- install spotify ubuntu snap
- Category
- Shell
- Title
- git push all branches
- Category
- Shell
- Title
- install curl ubuntu
- Category
- Shell
- Title
- webpack uninstall npm
- Category
- Shell
- Title
- babel json loader
- Category
- Shell
- Title
- npm install bootstrap
- Category
- Shell
- Title
- linux red hat version
- Category
- Shell
- Title
- run powershell script from wsl bash
- Category
- Shell
- Title
- pycharm install face_recognition
- Category
- Shell
- Title
- powershell append to file
- Category
- Shell
- Title
- mongodb shell query last document
- Category
- Shell
- Title
- linux empty log file
- Category
- Shell
- Title
- git checkout someone else's branch
- Category
- Shell
- Title
- intel pinning threads
- Category
- Shell
- Title
- bash find file with text
- Category
- Shell
- Title
- remove directory linux
- Category
- Shell
- Title
- ubuntu bluetooth not listed
- Category
- Shell
- Title
- docker build
- Category
- Shell
- Title
- git reset soft
- Category
- Shell
- Title
- powershell upgrade
- Category
- Shell
- Title
- linux install ifconfig
- Category
- Shell
- Title
- installing rspec gemfile
- Category
- Shell
- Title
- powershell bulk rename and add extra string to filename
- Category
- Shell
- Title
- list of files in git commit
- Category
- Shell
- Title
- linux check used space in folder
- Category
- Shell
- Title
- git gss
- Category
- Shell
- Title
- set username git
- Category
- Shell
- Title
- rsync examples
- Category
- Shell
- Title
- git command autocomplete
- Category
- Shell
- Title
- install vscode ubuntu command line
- Category
- Shell
- Title
- bash if statement
- Category
- Shell
- Title
- git unstage file for commit
- Category
- Shell
- Title
- how to install gulp
- Category
- Shell
- Title
- php apache "You do not have permission to use at.
- Category
- Shell
- Title
- git add gitignore
- Category
- Shell
- Title
- git set upstream
- Category
- Shell
- Title
- rename remote branch in git
- Category
- Shell
- Title
- how to create a branch in git
- Category
- Shell
- Title
- add git user and email
- Category
- Shell
- Title
- how to undo a git stash
- Category
- Shell
- Title
- linux merge two pdfs
- Category
- Shell
- Title
- shell script to check the output of a file
- Category
- Shell
- Title
- read file using shell script
- Category
- Shell
- Title
- fatal: 'heroku' does not appear to be a git repository
- Category
- Shell
- Title
- git delete empty directory
- Category
- Shell
- Title
- bash generate file
- Category
- Shell
- Title
- how to revoke permissions from group and others
- Category
- Shell
- Title
- how to avoid some files changes to not come in git status
- Category
- Shell
- Title
- windows virtualenv pip numpy problem
- Category
- Shell