Question for all you PC Geeks/Programmers, etc.

Where any Tech issues can be taken up and planned by our highly trained and unbelievably skilled computer geeks.
User avatar
Rhiandra Rangnar
Donkey Fucker
Posts: 841
Joined: Fri Feb 28, 2003 7:51 am
Location: Over here, silly!
Contact:

Question for all you PC Geeks/Programmers, etc.

Postby Rhiandra Rangnar » Fri Jun 04, 2004 2:53 pm

If I am writing a script to retrieve the serial numbers from 40 machines remotely using OpenBSD. Can you tell me the command that will give me the data so I can parse it into a MySQL database?


[on a MAC using OSX]


friend of mine needs the answer and I know some of you are PC masterminds and may know the answer.



Thanks in advance.
Rhiandra Rangnar
EQ ----> DAoC ----> WoW ----> boredom
[fade]Over 1 million mezzed and counting .........[/fade]

My candle burns at both ends;
It will not last the night;
But ah, my foes, and oh, my friends -
It gives a lovely light!

User avatar
Rhiandra Rangnar
Donkey Fucker
Posts: 841
Joined: Fri Feb 28, 2003 7:51 am
Location: Over here, silly!
Contact:

Postby Rhiandra Rangnar » Fri Jun 04, 2004 3:23 pm

Nevermind: apparently this is the answer;




ioreg -c "IOPlatformExpertDevice" | awk '/IOPlatformSerialNumber/ {print $4}'


that returns the s/n





[confuses the heck out of me]
Rhiandra Rangnar

EQ ----> DAoC ----> WoW ----> boredom

[fade]Over 1 million mezzed and counting .........[/fade]



My candle burns at both ends;
It will not last the night;
But ah, my foes, and oh, my friends -
It gives a lovely light!

User avatar
barbos
Cock Clown
Posts: 2612
Joined: Sun Jun 23, 2002 10:33 am
Contact:

Postby barbos » Fri Jun 04, 2004 4:21 pm

send them back (macs :huh: )

User avatar
Azzlano
Respectable Gimp
Posts: 15
Joined: Thu May 20, 2004 5:21 am

Postby Azzlano » Sat Jun 05, 2004 7:34 am

Macs are ok for db stuff but just that I really hate their incompatability with a lot of things tho. ><
Azzlano
50 Healer - Merlin
4x Blademaster - Palomides
4x Skald - Mordred
50 Cleric - Pendragon


Return to “Tech. Monkey Board”

Who is online

Users browsing this forum: No registered users and 12 guests