You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


디스크 용량 확인

디스크 용량 확인

[devops@work-vm devops-lab]$ ansible web -m shell -a "df -h"

web01-vm | CHANGED | rc=0 >>
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        30G  1.2G   29G   5% /
devtmpfs        948M     0  948M   0% /dev
tmpfs           960M     0  960M   0% /dev/shm
tmpfs           960M  9.0M  951M   1% /run
tmpfs           960M     0  960M   0% /sys/fs/cgroup
/dev/sda1       497M   81M  417M  17% /boot
/dev/sdb1       3.9G   16M  3.7G   1% /mnt/resource
tmpfs           192M     0  192M   0% /run/user/1000

web03-vm | CHANGED | rc=0 >>
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        30G  1.2G   29G   5% /
devtmpfs        948M     0  948M   0% /dev
tmpfs           960M     0  960M   0% /dev/shm
tmpfs           960M  9.0M  951M   1% /run
tmpfs           960M     0  960M   0% /sys/fs/cgroup
/dev/sda1       497M   81M  417M  17% /boot
/dev/sdb1       3.9G   16M  3.7G   1% /mnt/resource
tmpfs           192M     0  192M   0% /run/user/1000

web02-vm | CHANGED | rc=0 >>
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        30G  1.2G   29G   5% /
devtmpfs        948M     0  948M   0% /dev
tmpfs           960M     0  960M   0% /dev/shm
tmpfs           960M  9.0M  951M   1% /run
tmpfs           960M     0  960M   0% /sys/fs/cgroup
/dev/sda1       497M   81M  417M  17% /boot
/dev/sdb1       3.9G   16M  3.7G   1% /mnt/resource
tmpfs           192M     0  192M   0% /run/user/1000

메모리 상태 확인

메모리 상태 확인

[devops@work-vm devops-lab]$ ansible web -m shell -a "free -h"

web01-vm | CHANGED | rc=0 >>
              total        used        free      shared  buff/cache   available
Mem:           1.9G        155M        1.5G        8.9M        227M        1.5G
Swap:            0B          0B          0B

web03-vm | CHANGED | rc=0 >>
              total        used        free      shared  buff/cache   available
Mem:           1.9G        158M        1.5G        8.9M        227M        1.5G
Swap:            0B          0B          0B

web02-vm | CHANGED | rc=0 >>
              total        used        free      shared  buff/cache   available
Mem:           1.9G        158M        1.5G        8.9M        230M        1.5G
Swap:            0B          0B          0B



  • No labels