Go Back   MacRumors Forums > Apple Hardware > PowerPC Macs

Thread Tools Search this Thread Display Modes
Old Dec 20, 2012, 06:48 PM   #1
macrumors 6502
Join Date: Jan 2011
An Experiment...

On the offchance that someone has a PPC (or Intel for that matter) Mac lying around with FreeBSD installed, would someone be able to dump the output of these three commands:

sysctl -a
Note: requires sysinfo to be installed
sysinfo cpu
sudo dmidecode
Many thanks in advance.

N.B. The output of dmidecode will probably have your serial number, make sure you blank it before posting! Don't get rid of it entirely though, as one of the things I need to know is whether a serial number is reported.
Wildy is offline   0 Reply With Quote
Old Dec 20, 2012, 06:55 PM   #2
macrumors 6502a
rjcalifornia's Avatar
Join Date: Oct 2012
Location: El Salvador
You should post what it does first. We don't want to end up with malicious scripts that would delete an entire operating system.

CEO, Lead Developer and Sales Manager of SW Social Web LLC PowerPC Blog iBook G4 1.2 Ghz 60 GB HDD, Black Macbook Core 2 Duo, Powerbook G4 & iMac G4 700 Mhz Owner.
rjcalifornia is offline   0 Reply With Quote
Old Dec 20, 2012, 07:24 PM   #3
macrumors 604
eyoungren's Avatar
Join Date: Aug 2011
Location: Phoenix, AZ USA
Send a message via AIM to eyoungren Send a message via MSN to eyoungren Send a message via Yahoo to eyoungren Send a message via Skype™ to eyoungren
Don't know about the third code, but the first two are standard commands I've used them with Geektool. They just get system info, depending on what you are looking for (the second part of the command).
1.2GHz PowerMac G4 Quicksilver, 1.5GB ram 2x 1TB HDs, 6 displays
17" MBP (A1151) | 17" PBG4 (A1013) | iPhone 5, Black/Slate 64GB Sprint
TenFourFox too slow? See my tweak/addon thread!
eyoungren is offline   0 Reply With Quote
Old Dec 21, 2012, 05:06 AM   #4
macrumors 6502a
Starfighter's Avatar
Join Date: Jun 2011
Location: Sweden
"sudo dmidecode" gives you a list of information as well.
In arguments the losers are the winners - because they learn something.
Starfighter is offline   0 Reply With Quote
Old Dec 21, 2012, 05:29 AM   #5
Thread Starter
macrumors 6502
Join Date: Jan 2011
My apologies. I am looking for a reliable way to identify various bits of info such as the model, the CPU model, serial number etc. etc. in FreeBSD running on Apple hardware. The first command is standard in most Unix-based OSes, it dumps a load of data from kernel which includes various useful bits of information.

The second one reports back CPU info gathered from a variety of sources around the OS. The last dumps the BIOS info and decodes it which gives useful info which can't be found from the OS.

These commands dump out quite a lot of data which is unnecessary, but different OSes and hardware report back different things in sometimes unexpected places. For example, sysctl hw.model gives output PowerBook5,6 on here (under OSX), but on another computer (under FreeBSD) it gives out Intel Core 2 yadda yadda.

FreeBSD isn't something you'd randomly put on your computer, so I made the assumption that anyone running it would have some knowledge of the above commands. If in doubt - check the man pages!

Sorry for not explaining more thoroughly the first time.
Wildy is offline   0 Reply With Quote

MacRumors Forums > Apple Hardware > PowerPC Macs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
The Bullying Experiment LIVEFRMNYC Politics, Religion, Social Issues 16 Dec 11, 2013 10:49 PM
The Airport Experiment sergiobaschi Mac Peripherals 2 Nov 10, 2013 03:05 PM
My Android Experiment bwillard5 Alternatives to iOS and iOS Devices 20 Oct 27, 2013 05:26 PM
A Minimalistic iPhone Experiment braddick iPhone 8 Dec 18, 2012 06:22 PM

Forum Jump

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

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC