command to know disk ussage in ec2 instance
Shell
#To check disk space:
# Using Linux Command
df -h
#output
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 38G 26G 9.7G 73% /
# Using AWS CLI
aws ec2 describe-volumes --filters Name=attachment.instance-id,Values=i-1234567890abcdef0
#output
{
"Volumes": [
{
"AvailabilityZone": "us-east-1a",
"Attachments": [
{
"AttachTime": "2013-12-18T22:35:00.000Z",
"InstanceId": "i-1234567890abcdef0",
"VolumeId": "vol-049df61146c4d7901",
"State": "attached",
"DeleteOnTermination": true,
"Device": "/dev/sda1"
}
],
"Encrypted": false,
"VolumeType": "gp2",
"VolumeId": "vol-049df61146c4d7901",
"State": "in-use",
"SnapshotId": "snap-1234567890abcdef0",
"CreateTime": "2013-12-18T22:35:00.084Z",
"Size": 8
}
]
}
Also in Shell:
- Title
- ubuntu camera not longer found
- Category
- Shell
- Title
- firewall in ubuntu 18.04
- Category
- Shell
- Title
- how to install mongoose
- Category
- Shell
- Title
- undo git
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- git discard all unpushed commits
- Category
- Shell
- Title
- ubuntu add user to group
- Category
- Shell
- Title
- linux install node
- Category
- Shell
- Title
- combine strings bash
- Category
- Shell
- Title
- git log one line
- Category
- Shell
- Title
- how to uninstall npm package
- Category
- Shell
- Title
- git commit all
- Category
- Shell
- Title
- Add line break to 'git commit -m' from the command line
- Category
- Shell
- Title
- delete git origin
- Category
- Shell
- Title
- serverless sqs batch size
- Category
- Shell
- Title
- count occurrences of word in file linux ignoring case
- Category
- Shell
- Title
- install node ubuntu
- Category
- Shell
- Title
- linux restrict process network access
- Category
- Shell
- Title
- delete local branch git
- Category
- Shell
- Title
- check ram memory usage linux
- Category
- Shell
- Title
- helm add stable hub
- Category
- Shell
- Title
- get current branch name git
- Category
- Shell
- Title
- chocolatey installation
- Category
- Shell
- Title
- material-ui
- Category
- Shell
- Title
- how to uninstall node.JS
- Category
- Shell
- Title
- docker run command on container
- Category
- Shell
- Title
- display folder of path linux bashrc
- Category
- Shell
- Title
- how to zip a file in linux
- Category
- Shell
- Title
- remove frmo staging git
- Category
- Shell
- Title
- search tag git
- Category
- Shell
- Title
- import jar file
- Category
- Shell
- Title
- install flutter
- Category
- Shell
- Title
- unable to install deno in ubuntu
- Category
- Shell
- Title
- ubuntu 18.04 get public ip address
- Category
- Shell
- Title
- upgrade django
- Category
- Shell
- Title
- docker logs tail
- Category
- Shell
- Title
- github undo last pushed commit
- Category
- Shell
- Title
- asdf node fingerprint
- Category
- Shell
- Title
- join files linux
- Category
- Shell
- Title
- how to install emotion in gatsby
- Category
- Shell
- Title
- how to pull the changes from git without staging local changes
- Category
- Shell
- Title
- how to fix the errors in chokidar in linux
- Category
- Shell
- Title
- npx create-react-app not working
- Category
- Shell
- Title
- how to turn off bluetooth in ubuntu 18.04 terminal
- Category
- Shell
- Title
- time machine faster
- Category
- Shell
- Title
- git clean remote branches
- Category
- Shell
- Title
- ffmpeg change audio codec from m4a to mp3
- Category
- Shell
- Title
- cmd delete folder
- Category
- Shell
- Title
- configure samba on RPI
- Category
- Shell
- Title
- how to pull and overwrite local changes git
- Category
- Shell
- Title
- git add
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- install phpmyadmin ubuntu 18.04
- Category
- Shell
- Title
- firewall status on ubuntu
- Category
- Shell
- Title
- install dateutil
- Category
- Shell
- Title
- linux get ip by domain
- Category
- Shell
- Title
- obs
- Category
- Shell
- Title
- git create new branch from current
- Category
- Shell
- Title
- use nvm to install latest node
- Category
- Shell
- Title
- ubuntu chmod codes
- Category
- Shell
- Title
- javascript execute powershell script
- Category
- Shell
- Title
- linux check file contetns
- Category
- Shell
- Title
- git refusing to merge unrelated histories
- Category
- Shell
- Title
- connect local repository to remote git
- Category
- Shell
- Title
- kill a port
- Category
- Shell
- Title
- git unstage file for commit
- Category
- Shell
- Title
- java to jar
- Category
- Shell
- Title
- ogv to gif linux
- Category
- Shell
- Title
- copy contents of multiple files to one file powershell
- Category
- Shell
- Title
- list all ssh connections ubuntu
- Category
- Shell
- Title
- linux permanent mount
- Category
- Shell
- Title
- view memory usage linux
- Category
- Shell
- Title
- insall git onec2
- Category
- Shell
- Title
- package 'mana-toolkit' has no installation candidate
- Category
- Shell
- Title
- bash pass all arguments
- Category
- Shell
- Title
- turn of raspberry
- Category
- Shell
- Title
- linux add alias
- Category
- Shell
- Title
- how to commit a branch in git
- Category
- Shell
- Title
- install vuex orm
- Category
- Shell
- Title
- get full path of files in directory linux command
- Category
- Shell
- Title
- vim ubuntu install
- Category
- Shell
- Title
- compress folder ubuntu
- Category
- Shell
- Title
- partially apply stash git
- Category
- Shell
- Title
- git file history
- Category
- Shell
- Title
- installing rspec gemfile
- Category
- Shell
- Title
- git find login
- Category
- Shell
- Title
- install gnu grep on mac
- Category
- Shell
- Title
- pip install crispy_forms
- Category
- Shell
- Title
- xcode errSecInternalComponent
- Category
- Shell
- Title
- install homebrew on mac
- Category
- Shell
- Title
- bash ls all subdirectories
- Category
- Shell
- Title
- how to kill suspended jobs
- Category
- Shell
- Title
- vim compare 2 files
- Category
- Shell
- Title
- linux chown
- Category
- Shell
- Title
- multi line comment in shell script
- Category
- Shell
- Title
- git cherry pick
- Category
- Shell
- Title
- git remove from from repo and stop tracking
- Category
- Shell
- Title
- powershell start a process and wait for it to finish
- Category
- Shell
- Title
- Why are there two ways to unstage a file in Git?
- Category
- Shell
- Title
- how to zip with tar command
- Category
- Shell