ziess
Registered
Hi guys,
I'm writing a dashboard widget for MacOSX.com and as part of it I need to be able to get the properties of the system the widget's running on via a terminal command and the paste the result back into the message to be sent.
Getting the widget to make the call to terminal isn't the hard thing and i've pretty much figured out how to combine the result with the message but, as a Unix know-nothing, I don't know any suitable commands to use to find out what I want!
I would like to be able to determine clock speed and possibly type of processor, ideally the type of computer (ie. iMac or Powermac etc), hard drive space, system version and the amount of RAM present.
The idea is to integrate the widget with the tech support side of this site so as to make it easier for people to get support without having to worry about finding figures that they might not understand.
Any help is greatly appreciated.
Tommy
I'm writing a dashboard widget for MacOSX.com and as part of it I need to be able to get the properties of the system the widget's running on via a terminal command and the paste the result back into the message to be sent.
Getting the widget to make the call to terminal isn't the hard thing and i've pretty much figured out how to combine the result with the message but, as a Unix know-nothing, I don't know any suitable commands to use to find out what I want!
I would like to be able to determine clock speed and possibly type of processor, ideally the type of computer (ie. iMac or Powermac etc), hard drive space, system version and the amount of RAM present.
The idea is to integrate the widget with the tech support side of this site so as to make it easier for people to get support without having to worry about finding figures that they might not understand.
Any help is greatly appreciated.
Tommy