Find the answer to your Linux question:
Results 1 to 5 of 5
Hi Is there any script for an easy viewing of the drivers and other components of the computer. The main thing i want to look at are Processor type and ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    2

    Script for drivers

    Hi

    Is there any script for an easy viewing of the drivers and other components of the computer.

    The main thing i want to look at are

    Processor type and power (like 800Mhz)
    Primary memory type and size (like 128 mb)
    Graphics card and Audio card.

    Any anser is helpfull
    Commands is also helpful and then i can create my own script

    // Nicklas

  2. #2
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    To show loaded drivers use "lsmod", to show detected hardware, use "hal-device". You can also use commands such as "lsusb", "lspci", "lspcmcia", or look at dmesg and /dev. You can also find the information by browsing through /proc.

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Code:
    grep -i "model name" /proc/cpuinfo
    lspci | grep -i audio
    lspci | grep -i vga
    grep -i memtotal /proc/meminfo
    as far as I know you can't figure out what type of memory it is installed, but I could be wrong

  4. #4
    Just Joined!
    Join Date
    Oct 2008
    Posts
    2

    Missing comands in terminal

    I tried the commands you gave me.

    But i got the message: "bash: lspci: command not found"
    Only the memtotal command worked.

    I use Fedora 9

    // Nicklas

  5. #5
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    In Fedora you need to enter the path with the command, unless you have root permissions with su.
    Code:
    /sbin/lspci
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...