Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

sudo lshw option for MBP OSX 10.6.2

I tried sudo lshw on my new Macbook Pro running Snow Leopard to get a hardware list form the command prompt. Apparently the command does not work on the Mac. As I used it before on Ubuntu I thought it would be available on the Mac as well. What equivalent command can list hardware for my Mac from the terminal?

Macbook Pro Intel Core 2 Duo, Mac OS X (10.6.2), MacPorts, VMWare Fusion

Posted on Feb 28, 2010 1:01 AM

Reply
Question marked as Best reply

Posted on Feb 28, 2010 1:11 AM

Found sysctl -A . Also tried /usr/sbin/system_profiler. Both give very long lists I must say, but they do show a lot of data.

Message was edited by: rhand

Message was edited by: rhand
3 replies

Feb 28, 2010 1:46 AM in response to rhand

Hi

This is the Server Forum. You should really post here:

http://discussions.apple.com/category.jspa?categoryID=263

or if it's the command line you specifically want:

http://discussions.apple.com/forum.jspa?forumID=735

For what you wanted to do system_profiler should be enough? From the command line (either in single user boot - command+s at startup or normally) issue: "system_profiler SPHardwareDataType" If you want to view RAM information: "system_profiler SPMemoryDataType" You don't need to type the quotes.

To view the list of options the utility has: "system_profiler -listDataTypes" Pick one form the list that suits.

Tony

sudo lshw option for MBP OSX 10.6.2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.