Wednesday, 29 February 2012

How to get the Disk informations in linux


# hdparm -I /dev/sda  ------ information about the IDE/ATA disk (Linux) / disk performance
# fdisk /dev/sda6        ------ Display and manipulate the partition table
# smartctl -a /dev/sda1 --- Display the disk SMART info
# diskinfo -v /dev/ad2 ---- information about disk (sector/size) FreeBSD
# dmidecode               -------  dmidecode  is  a  tool for dumping a computer’s DMI(some say SMBIOS) table contents in a human-readable format. This table contains a description of the system’s hardware components.

To find the mounted file system in our system

# mount | column -t


No comments:

Post a Comment