05-10-2006
Hardware information
How would I write a program in C that prints out the hardware the current computer has? And what about information about it?
Thank you for your time.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a problem to start up my Solaris Ultra 5. When it boots up I get a strange clicking sound, sounds like the hard drive that is "thinking" very hard. On the screen I get these messages:
Boot device: Files and Args:
Please check cable and try again
Network link setup fail
Time out... (8 Replies)
Discussion started by: Orange
8 Replies
2. UNIX for Dummies Questions & Answers
Hello
I used to Red Hat and the common Linux commands, but now I have to deal with a SCO-Unix (Unix Ware 7).
I have to find information about the hardware.
What networkcard is installed?
What graphiccard is installed?
Which SCSI-Adapter and what kind of harddisks?
What software is... (3 Replies)
Discussion started by: Fwurm
3 Replies
3. UNIX Desktop Questions & Answers
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
4. UNIX for Dummies Questions & Answers
Is it possible to use Perl to work with hardware? Or is it strictly for text processing. (1 Reply)
Discussion started by: Luftwaffe
1 Replies
5. Programming
Hello !
I have a friend , in one day he tell me this : some guy made a cool program in C , for some sort or hardware control . I say : wow !
Maybe someone , can give me an example , how can C control hardware so good ( as I hear ) , and maybe some cool information , where to learn the idea ,... (1 Reply)
Discussion started by: !_30
1 Replies
6. Solaris
Hi,
I'm looking to run Sun Solaris 8 or 9, but have been running windows :mad: .can anyone give me advice about the hardware needed for solaris and possably any software i may need, the type of model and where i may be able to buy these within the uk. :confused:
... (3 Replies)
Discussion started by: franz
3 Replies
7. Solaris
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
8. Solaris
Can anyone tell me the command to check all the hardware information in Ok boot Prompt. Like the hard disk space memory size ..... (3 Replies)
Discussion started by: newbi8321
3 Replies
9. UNIX for Advanced & Expert Users
Hello guys.
I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info:
CPU core info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU... (2 Replies)
Discussion started by: Ymir
2 Replies
10. UNIX for Advanced & Expert Users
Hi Advance users,
Is there any tools in centos6.5 to 6.9 can get hardware like Motherboard Serial, mac address and Processor in basic installations. This will for the encryption and generate license in application.
I used dmidecode, but dmidecode is not include in the basic server... (1 Reply)
Discussion started by: lxdorney
1 Replies
LSDEV(8) Linux System Manual LSDEV(8)
NAME
lsdev - display information about installed hardware
SYNOPSIS
lsdev
DESCRIPTION
lsdev gathers information about your computer's installed hardware from the interrupts, ioports and dma files in the /proc directory, thus
giving you a quick overview of which hardware uses what I/O addresses and what IRQ and DMA channels.
OPTIONS
None.
FILES
/proc/interrupts
IRQ channels.
/proc/ioports
I/O memory addresses.
/proc/dma
DMA channels.
BUGS
lsdev can't always figure out which lines in the three examined files refer to one and the same device, because these files sometimes use
different names for the same piece of hardware. For example, in some kernels the keyboard is referred to as `kbd' in /proc/ioports and as
`keyboard' in /proc/interrupts. This should be fixed in the kernel, not in lsdev (as has indeed happened for this particular example).
The program does however try to match lines by stripping anything after a space or open parenthesis from the name, so that e.g. the
`serial' lines from /proc/interrupts match the `serial(set)' lines from /proc/ioports. This attempt at DWIM might be considered a bug in
itself.
This program only shows the kernel's idea of what hardware is present, not what's actually physically available.
SEE ALSO
procinfo(8).
AUTHOR
Sander van Malssen <svm@kozmix.cistron.nl>
3rd Release 1998-05-31 LSDEV(8)