Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Serial number from the command line

Serial number from the command line
Thread Tools
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status: Offline
Reply With Quote
Jun 30, 2003, 11:47 PM
 
I'm pretty sure it isn't possible to show the serial number of a computer from the command line in Jaguar. It used to be possible with the applesystemprofiler command in 10.1, but alas, that command is gone in Jaguar. Does anyone know of a way to do this?
     
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status: Offline
Reply With Quote
Jul 1, 2003, 12:38 AM
 
Originally posted by bmedina:
I'm pretty sure it isn't possible to show the serial number of a computer from the command line in Jaguar. It used to be possible with the applesystemprofiler command in 10.1, but alas, that command is gone in Jaguar. Does anyone know of a way to do this?
Apple Menu/About This Mac. Click twice on the version number.
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Jul 1, 2003, 02:15 AM
 
Originally posted by bmedina:
[snip]It used to be possible with the applesystemprofiler command in 10.1, but alas, that command is gone in Jaguar.
Not in my Jaguar, it isn't.

Mind you, you have to run 'AppleSystemProfiler' or '/usr/sbin/applesystemprofiler' and not just 'applesystemprofiler', but it is there.
Gods don't kill people - people with Gods kill people.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jul 1, 2003, 08:04 AM
 
Use system_profiler under Jaguar:

Code:
system_profiler | grep "Customer serial number"
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Grizzled Veteran
Join Date: Jan 2002
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jul 1, 2003, 08:18 AM
 
Originally posted by Arkham_c:
Use system_profiler under Jaguar:

Code:
system_profiler | grep "Customer serial number"
Hey that command is pretty cool, I have seen it before but keep forgetting things like it are in there.

WM
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jul 1, 2003, 11:38 AM
 
Originally posted by Don Pickett:
Apple Menu/About This Mac. Click twice on the version number.
Did you even read the last two words in the topic?
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jul 1, 2003, 11:43 AM
 
Originally posted by Arkham_c:
Use system_profiler under Jaguar:

Code:
system_profiler | grep "Customer serial number"
Odd, my G3 tower doesn't support that but my G4 laptop does. The G3 just shows Serial Number Not Available.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jul 1, 2003, 11:53 AM
 
Originally posted by absmiths:
Odd, my G3 tower doesn't support that but my G4 laptop does. The G3 just shows Serial Number Not Available.
In order to get the serial number, you have to have a Mac that uses the new architecture. That means iBook/B&W G3 or newer.

That applies to the non-CLI tools as well I believe.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
bmedina  (op)
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status: Offline
Reply With Quote
Jul 1, 2003, 12:54 PM
 
Sweet! Thanks for the help, guys!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:10 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2