Re: How do you display the IP address / HD info
Re: How do you display the IP address / HD info
- Subject: Re: How do you display the IP address / HD info
- From: Deivy Petrescu <email@hidden>
- Date: Wed, 26 Aug 2009 19:32:39 -0400
On Aug 26, 2009, at 5:00 PM, Oakley Masten wrote:
On Wed, 26 Aug 2009
Deivy Petrescu wrote
Oakley, you can see the output of the command
system_profiler in terminal.
If you run
system_profiler SPSerialATADataType
in terminal or AS, you will get information for all the bays.
Nothing really specifies which one is the boot volume, but you can get
all available.
I have not tested to know if the command will output the boot volume
first in all cases.
-------------------------
Thanks, Deivy, I was able to get the data you spoke of by pasting
the command into my Terminal window.
SO being really a noob about the use of shell scripting and
Terminal : How do I get AS to get the same data.
I realize I will have to parse out what I want but I could Not
script terminal to do it. Looking at the Terminal dictionary was no
help.
Thanks
Oakley
---------------------------
On Aug 26, 2009, at 11:27 AM, Oakley Masten wrote:
> I have been watching and testing the information from this thread.
>
> Thanks, it has been a good learning experience.
>
> One question: Can you also get the Boot Drive size and speed?
>
> Just wondering
> Oakley
Oakley to run it in AS run the following:
set returned_Text to ( do shell script "/usr/sbin/system_profiler
SPSerialATADataType)
"returned_Text" will have the text returned in terminal
Deivy Petrescu
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden