LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting serial number of machines (https://www.linuxquestions.org/questions/linux-newbie-8/getting-serial-number-of-machines-930624/)

fernfrancis 02-21-2012 11:51 PM

getting serial number of machines
 
Hi


I have a number of machines running ubuntu and windows xp these are all clients

Is there any command or script which i can use to get the serial number of the monitor they are using.

waiting for a positive response. As i cant go and disturb each and every user in order to get their serial.

Thanks a lot

catkin 02-22-2012 12:58 AM

Sometimes it is shown in /var/log/Xorg.0.log (it isn't on my system). Alternatively:
  • it might be parseable out of the contents of the edid virtual file of the /sys/devices directory for the graphics card, for example /sys/devices/pci0000:00/0000:00:0b.0/0000:01:00.0/drm/card0/card0-VGA-1/edid
  • there's a package called xresprobe which has a ddcprobe command
  • there's a package called read-edid

jthill 02-22-2012 01:15 AM

I came up with http://paste.debian.net/157153 while figuring out just exactly how much my crt could really do. Turns out, it can do a lot more than the edid says it can, but what you want is the bit that extracts the monitor data given the edid. It should be easy enough to figure.

tailinlinux 02-22-2012 02:28 AM

Quote:

Originally Posted by fernfrancis (Post 4608882)
Hi


I have a number of machines running ubuntu and windows xp these are all clients

Is there any command or script which i can use to get the serial number of the monitor they are using.

waiting for a positive response. As i cant go and disturb each and every user in order to get their serial.

Thanks a lot

On linux
Open terminal.
type:
Code:

su
enter your root password
then type:
Code:

lshw
then enter.

This one provide you specifications of your computer and serial no. of all device attached to the computer.


On windows i think you need to use a third party software.
Like.
1. Belarc Advisor http://www.belarc.com/free_download.html
2. Spiceworks http://www.spiceworks.com/

Hope this one helps.

fernfrancis 02-22-2012 11:09 PM

Dear All thanks for your responses,

I need to do this remotely from one computer , i dont want to disturb the users.

lshw does not list the monitor serial number.

catkin 02-22-2012 11:47 PM

Quote:

Originally Posted by fernfrancis (Post 4609790)
I need to do this remotely from one computer , i dont want to disturb the users.

Understood. Does it prevent you using any of the possible solutions?

fernfrancis 02-23-2012 02:41 AM

none of the solutions work for me

jefro 02-23-2012 03:17 PM

dmidecode or biosdecode would show that if the bios is common and you have access to run it.


All times are GMT -5. The time now is 09:39 AM.