Will give you the machine's serial number. Will get you basic hardware info (useful for asset tracking), and system_profiler SPHardwareDataType | grep Serial Will tell you how many USB devices are plugged in (including internal USB devices), which is useful to see if the computer sees a device (or, if, say, Parallel's grabbed it or it is dead.) system_profiler SPHardwareDataType system_profiler SPUSBDataType | grep "Product ID" -c Tells you about all your USB devices (including their Vendor and Product IDs, which can aid in tracking down drivers). This will dump the system profile to a file which can be looked at later on a different machine. Open MySystem.spx # or just double click on it in the Finder Or looking at the man page will give you tips on how to use it.Ī couple of examples: system_profiler -xml > MySystem.spx Give you the same results as you get when you choose About This Mac -> More Info, only on the command line.
0 Comments
Leave a Reply. |