ubuntu view disk space ec2
#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
}
]
}df -hT /dev/xvda1
Also in Shell:
- edit files from terminal linux
- install terminator in ubuntu
- how to initialize a git repository command line
- avalible ios simulators
- ubuntu show disk space
- npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli
- git bash Could not open a connection to your authentication agent
- unzip tar.gz
- install expo
- revert last merge git
- ailure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
- ng cli generate component
- git diff show only files
- remove debian gnu/linux - continue with install process
- update all chocolatey packages
- cordova ios emulators
- find and replace in all files in directory centos
- how to check git repository link
- ubuntu dock setting
- How to upload a files to a repository on github using gitbash
- react-devtools agent got no connection
- linux vim set tab to 4 spaces
- yarn download ubuntu
- composer install ignore platform reqs