cat /sys/block/sda/queue/rotational
result get 1 or 0 (true or false)
which means ''harddisk for 1"
You can also use 'lsblk -d -o name,rota' to get this value for all of your physical devices.
장착되어 있는 디스크 타입이 SSD인지 하드디스크 인지 OS shell에서 확인하는 방법으로
직접 디바이스 정보에서 rotational 값을 확인하거나 lsblk 명령을 사용할 수 있다.
'System Engineering > Linux' 카테고리의 다른 글
Logstash - filebeat SSL settings (0) | 2019.11.26 |
---|---|
Buffers and cache in memory (Linux) (0) | 2019.11.11 |
Bash: sed (0) | 2019.05.07 |
Tools: ab (0) | 2018.08.30 |
Find files and directory which is using disks very highly (0) | 2018.08.17 |