Useful Hardware commands

 
Thread Tools Search this Thread
Special Forums Hardware Useful Hardware commands
# 1  
Old 02-01-2011
Useful Hardware commands

Are there any other useful hardware commands to get information about your hardware? Is there any information that can't be found with these commands?

Code:
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci
sudo dmidecode
cpuid | more
lspci -v | grep VGA
sudo lspci -v -s 00:02.0
sudo lspci -vvv -s 00:02.0

# 2  
Old 07-21-2011
Updating my list a little bit.

Code:
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
free
top
lspci
sudo dmidecode
cpuid | more
lspci -v | grep VGA
sudo lspci -v -s 00:02.0
sudo lspci -vvv -s 00:02.0

HowTo: Check Ram Size From Redhat Linux Desktop System
This User Gave Thanks to cokedude For This Post:
# 3  
Old 07-26-2011
Quote:
Originally Posted by COKEDUDE
Are there any other useful hardware commands to get information about your hardware? Is there any information that can't be found with these commands?

Code:
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci
sudo dmidecode
cpuid | more
lspci -v | grep VGA
sudo lspci -v -s 00:02.0
sudo lspci -vvv -s 00:02.0

I have already bookmark this forum due to its interesting features,

---------- Post updated at 07:17 AM ---------- Previous update was at 07:17 AM ----------

Quote:
Originally Posted by COKEDUDE
Are there any other useful hardware commands to get information about your hardware? Is there any information that can't be found with these commands?

Code:
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci
sudo dmidecode
cpuid | more
lspci -v | grep VGA
sudo lspci -v -s 00:02.0
sudo lspci -vvv -s 00:02.0

Thanks for this efforts you made.I really appreciate it.
# 4  
Old 08-01-2011
sudo dmidecode | more

lshw -short

lspci -vv
# 5  
Old 11-26-2011
In FreeBSD the vast majority can be found with the following commands:
Code:
sysctl
dmesg
uname

This User Gave Thanks to figaro For This Post:
# 6  
Old 11-28-2011
Very few people have lshw. lshw probably uses things listed in this thread anyhow.

3 more tools for linux:
Code:
lsusb # List USB devices and hubs attached
mii-tool # Tool for configuring older ethernet cards speed/duplex/etc
ethtool # Tool for configufing newer ethernet cards speed/duplex/etc

This User Gave Thanks to Corona688 For This Post:
# 7  
Old 11-28-2011
Another file that's sometimes useful (RedHat, but probably any Linux):
Code:
cat /etc/sysconfig/hwconf


Last edited by CarloM; 11-28-2011 at 12:24 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

2. AIX

HACMP: difference between 'cl' commands and 'cli' commands

Hi all, I'm new in this forum. I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli". The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory. I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies

3. AIX

New Hardware

Can someone help me with what I am guessing is a simple job for an AIX admin. However I am 100% HP-UX and not touched AIX before the start of this week. I am trying to connect an IBM Blade (JS22) to our HP Enterprise Tape Library. I have done all the SAN zoning and this appears to be happy... (5 Replies)
Discussion started by: Andyp2704
5 Replies

4. Solaris

commands hanging when querying hardware

Hi all Got another strange one. If I try to enquire about the hardware, the command hangs implying Ive got a hardware issue. So, if I execute :- iostat -en sysdef - ( stops at the devices part ) format cfgadm -al Anything that searches the devices, then the command hangs. ... (4 Replies)
Discussion started by: sbk1972
4 Replies

5. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

6. Programming

code that reads commands from the standard i/p and executes the commands

Hello all, i've written a small piece of code that will read commands from standard input and executes the commands. Its working fine and is execting the commands well. Accepting arguments too. e.g #mkdir <name of the directory> The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies

7. AIX

AIX Hardware commands

Hi All, Needed commands to find Monitor , chassis & keyboard related information on AIX. Please please please help. Thanks VK (2 Replies)
Discussion started by: Veenak15
2 Replies

8. HP-UX

HPUX Hardware commands.

HI ALL, I am new tp HPUX and i am looking for command that will retive me the following information on HPUX: Chassis Name & Serial Number: Monitor Name BIOS Name EthernetPort Name IPEndpoint Name PointingDevice Name Keyboard NetworkPrinter Name LocalPrinter (5 Replies)
Discussion started by: Veenak15
5 Replies

9. AIX

AIX and SUN unix commands for hardware monitoring

Hello again, I would like to know if the following commands: diag, errpt, lscfg, lspv, lsvg, lsps, lslv for AIX and prtdiag, psrinfo, sysdef for SUN are native to these systems or if they are in fact scripts that are added after the unix installation. Thank you in advance. Have a nice day (4 Replies)
Discussion started by: VeroL
4 Replies

10. UNIX Desktop Questions & Answers

hardware 3d

How do I check my system to see if the graphics are using hardware 3d suport or not. I have a TNT2 on RH 7.1 kernel 2.4.9-?(can't remember off top of my head)I'm running all the latest updates from RH. Also I now have a dvd drive and I am trying to find a player that will play all movies and not... (1 Reply)
Discussion started by: MaxCat
1 Replies
Login or Register to Ask a Question