◯ free: メモリーの使用状況を表示 [-m 容量をMバイト単位]
1 2 3 4 5 | # free -m total used free shared buffers cached Mem: 3830 525 3305 25 16 176 -/+ buffers/cache: 331 3498 Swap: 815 0 815 |
◯ vmstat: メモリーやCPUの負荷率や使用状況を表示
1 2 3 4 | # vmstat procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 3384536 16824 181144 0 0 12 2 31 45 0 0 100 0 0 |
◯ OSバージョン調査
1 2 | # cat /etc/redhat-release CentOS release 6.9 (Final) |
◯ ifconfig: ネットワーク・インタフェースの参照 [-a 全インタフェースの情報を表示]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # ifconfig -a eth0 Link encap:Ethernet HWaddr 08:00:27:72:9F:20 inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fe72:9f20/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:563 errors:0 dropped:0 overruns:0 frame:0 TX packets:575 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:47772 (46.6 KiB) TX bytes:47864 (46.7 KiB) eth1 Link encap:Ethernet HWaddr 08:00:27:5C:CA:88 inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fe5c:ca88/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1546 errors:0 dropped:0 overruns:0 frame:0 TX packets:1120 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:146153 (142.7 KiB) TX bytes:273056 (266.6 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:264 errors:0 dropped:0 overruns:0 frame:0 TX packets:264 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:295112 (288.1 KiB) TX bytes:295112 (288.1 KiB) |