System Manufacturer and System Model
Hi,
I'm developing a Software to collected some HW informatiom from Linux Server. I need to collect information about System Manufacturer and System Model, I' m looking for a command or a file where I'can read this information. Sorry for my bad english. |
Check out the lshw program.
|
Quote:
and obviously requires that you are logged on to the server !! |
Thank's for reply.
I can't use lshw, I must use an utility that is install by default in more common distribution, or I must read this information from file system /proc but I don't know where.Can you help me? |
Quote:
Or get the sysadmin to do it. Better still, why not just ASK the sysadmin. Is there some veiled attempt here to get round a sysadmin or something?? Just ask them what the spec is. If you cannot access these programs or ask the sysadmin, there's probably a reason for it !!!!! |
I'm develop this tool for my university, and I must collect varios information from a Server Farm(linux).
I'm already collect a lot of data cpu,ram, kernel version...I read this data in /proc. I' m not to exepert in Linux and I don't know where find System Model and System Manufacturer. I'can't install any software but if there is no way I can ask root Privileges. |
If you have no root permissions, you won't be able to get this sort of information anyway. Much of it comes from the BIOS, and only root has permission to access it.
I have run lshw as root and as a non-root user. Here's the differences - i.e. things which root can see, but non-root cannot:
As you can see there is a lot of stuff which only root can see about the hardware. The regular users can access it via the /dev/ and other interfaces, but only root can look at a lot of the device meta-data. |
If you have root permission , you can use dmidecode . Chk out http://unixfoo.blogspot.com/2007/10/dmidecode.html
|
All times are GMT -5. The time now is 05:03 PM. |