how to know the hardware configuration

Posted on 2006-05-08
Last Modified: 2010-04-20
hey experts

Do you know any command or any other way to check the system hardware configuration ??...
I need to know the system  specification like RAM=256mb , harddisk=20gb , sth like that ...
Question by:sundeepgopal
    LVL 12

    Assisted Solution

    the /proc directory contains the info you need.

    view the text files: /proc/meminfo      and      /proc/cpuinfo

    also check the command df -h     to see your hard disk info.
    LVL 19

    Accepted Solution

    There are a number of tools to get the system information, phpsysinfo and cfg2html spring to mind.

    A lot of the information you want is in /proc (or is it /sys now)

    cat /proc/meminfo
    cat /proc/cpuinfo
    cat /proc/ide/hda/capacity
    cat /proc/ide/hda/model

    There are some commandline tools as well;
    lspci -v # PCI bus information
    free # memory information
    hdparm # Disk information
    smartctl # more disk information

    It really depends what you want, cfg2html and phpsysinfo are quite good.

    LVL 87

    Expert Comment

    There is a tool, hwinfo. Depending on your distro, it may already be part of it. Just enter hwinfo from a konsole, or install it using the distro's package manager (if it is included in the distro).

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now