Find the answer to your Linux question:
Results 1 to 7 of 7
If i install new hardware using a vmguest or physical system How can I detect it. disk nic memory etc. In AIX we just run cfgmgr -v. Is there a ...
  1. #1
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163

    how to detect hardware with out rebooting

    If i install new hardware using a vmguest or physical system How can I detect it.
    disk
    nic
    memory
    etc.

    In AIX we just run cfgmgr -v. Is there a similar command in Red Hat?

    I am guessing a reboot will pick it up if the device drivers are common enough and in the kernel already.

    I want to know how to do this dynamically with the system on-line if possible.

  2. #2
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    see some command scsiadd and scsidev mention on a posting but dont seem to have those installed.

    i did a yum whatprovides scsidev and scsiadd and nothing comes back.

    How do I get those commands?

  3. #3
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    you could use
    - lspci
    - lsusb
    - dmesg
    - dmidecode
    - /proc and /sys pseudofilesystems

    dmidecode will give you data like ram slots, inserted dimms, servermodell, serialnumber,..
    You must always face the curtain with a bow.

  4. #4
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    will those commands scan for new hardware?

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Linux detect new hardware automatically.
    Execute this
    Code:
    tail -f /var/log/syslog
    Insert new Hardware and check if display relevant output or executing dmesg command after inserting new hardware.

    Check this link too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Most things can't be inserted into a system without the system being off anyway. You would need a system to support hot swap disks to plug in a disk and linux should pick this up just fine anyway. I've never heard of hot swap of memory. For the most part anything you plug into the motherboard that isn't a USB or some other external bus will not work while it is on.

  7. #7
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    Ok I was alsothingking about EMC disk that get presented to the system after its been booted.

Posting Permissions

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