[sf-perl] hostid in mac os x?
oserj at OserConsulting.com
Sun Dec 31 17:20:50 PST 2006
> MAC OS X Open the Apple System Profiler application
> in /Applications/Utilities. Look in the
> overview of the System Profile to find your
> Mac's Ethernet Address. For example,
> You can also use the command netstat -I en0
Also could do
This returns the Mac address of the first ethernet port.
Oser Computer Solutions
113 Santa Maria Drive
Novato, CA. 94947
On Dec 29, 2006, at 3:25 PM, Dan Sully wrote:
> * David Alban shaped the electrons to say...
>> I don't want to write a C wrapper for sysctl(3), 'cause I want to do
>> this with "core perl", or failing that, with a perl system()
>> invocation to some command that is "core os x". This is for use in
>> something I'd like to be "portable" and I'd rather not require other
>> users install anything.
> You can get the system serial number via:
> /usr/sbin/system_profiler SPHardwareDataType
> Adobe Photoshop - When you want the truth. Real bad.
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
More information about the SanFrancisco-pm