fdisk -l
Disk /dev/sda: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d05da
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2097152 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 262 287 204800 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sda3 287 2089 14474240 fd Linux raid autodetect
Disk /dev/sdb: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b6826
Device Boot Start End Blocks Id System
/dev/sdb1 1 262 2097152 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2 * 262 287 204800 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary.
/dev/sdb3 287 2089 14474240 fd Linux raid autodetect
Disk /dev/md1: 2146 MB, 2146369536 bytes
2 heads, 4 sectors/track, 524016 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md2: 14.8 GB, 14813102080 bytes
2 heads, 4 sectors/track, 3616480 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0: 209 MB, 209649664 bytes
2 heads, 4 sectors/track, 51184 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
안녕하세요
이번시간에는 리눅스에서 하드디스크 용량, 파티션, RAID 구성 등을 알 수 있는
명령어에 대해서 알아보겠습니다
디스크 공간 통계 표시
-h 옵션은 보기 좋게 용량을 정리해서 보여줍니다
#df -hDISK 정보 확인# cat /proc/scsi/scs -- scsi
하드디스크용량정보#fdisk -l
sda, sdb 이렇게 있으면 두개로 유추할수있고 위의 이미지에는
sda 만 보이므로 20기가 하나만 들어있는 것을 알 수 있습니다
하드디스크 용량 정보 Disk 만 뽑아 보기# fdisk -l | grep Disk
fdisk -l 로 파티션 나눠진 것을 확인하고 grep Disk 로 디스크 부분만 뽑아봅니다
하드디스크정보#cat /proc/ide/hda/model#cat /proc/ide/hda/
하드디스크개수확인#cat /proc/ide/
레이드정보#cat /proc/mdstat
CPU나 메모리 정보를 확인하고 싶으시다면 ↓아래 링크 참조하세용
//coconuts.tistory.com/126
리눅스 cpu 정보 확인 명령어
안녕하세요 오늘은 리눅스에서 cpu 정보를 알 수 있는 방법에 대해서 알아보도록 할게요 보통 VM 가상머신에 올려서 사용하시는 분들이 많으실 텐데요 cpu의 하드웨어는 어떤 것이 들어 갔는지는
coconuts.tistory.com
//coconuts.tistory.com/127
리눅스 메모리(Memory) 정보 확인 명령어
cat /proc/meminfo | grep 'MemTotal' 안녕하세요 저번 시간에는 cpu 정보를 확인하는 방법에 대해서 알아보았는데요 이번에는 RAM, 메모리 정보에 대해서 알아보도록 할게요 👻 개요 메모리의 정보와 슬롯
coconuts.tistory.com
감사합니다 ㅎㅎ
memory, 리눅스, 메모리, 확인
댓글