Tutorial, Internet, Hardware, Software, Os, Linux, Android, Security, Mikrotik

23 October, 2009

How to find Hardware Details in Linux

We often come across a lot of inquires on Linux systems. One of the most commonly asked questions is how to find the hardware specs /details on Linux. Well, Linux is an intricate system and require some simplification. There are several tools for deriving hard disk specification in Linux. We would like to suggest you hdparm command that can be executed without much fuss. It offers a command line interface to various hard disk ioctls supported by the Linux ATA/IDE device driver subsystem. It provides command read / request identification information such as disk size, description and much more directly from the drive. The information is displayed in a new expanded format. Let's see the process.
Open the terminal, log in as root, and type the following command

# hdparm -I /dev/sda

Alternately, type this in the terminal

[root@linceh ~]# sudo hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
    Model Number:       ST96812A                               
    Serial Number:      5PJ0X05X
    Firmware Revision:  3.06   
Standards:
    Used: ATA/ATAPI-6 T13 1410D revision 2
    Supported: 6 5 4
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  117210240
    LBA48  user addressable sectors:  117210240
    Logical  Sector size:                   512 bytes
    Physical Sector size:                   512 bytes
    device size with M = 1024*1024:       57231 MBytes
    device size with M = 1000*1000:       60011 MBytes (60 GB)
    cache/buffer size  = 8192 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16    Current = 16
    Advanced power management level: 128
    Recommended acoustic management value: 254, current value: 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
         Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    DOWNLOAD_MICROCODE
       *    Advanced Power Management feature set
            SET_MAX security extension
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    IDLE_IMMEDIATE with UNLOAD
       *    SMART Command Transport (SCT) feature set
Security:
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
        frozen
    not    expired: security count
    not    supported: enhanced erase
HW reset results:
    CBLID- above Vih
    Device num = 0 determined by CSEL
Checksum: correct

    No comments:

    Post a Comment

    Terima kasih atas komentarnya