Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripting on OSX

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Other OS
View previous topic :: View next topic  
Author Message
pins
LXF regular


Joined: Mon Jun 27, 2005 8:24 pm
Posts: 154
Location: Haggerston

PostPosted: Thu Jun 28, 2007 3:49 pm    Post subject: Scripting on OSX Reply with quote

Hello again, my chirpy, cheerful chums.

I have been asked to write a script that will 'preferably' run from an OSX server that will gather the information from 'system profiler' on a bunch of macs on a network.
I have tentatively told my boss that this is possible on the grounds that:
1. It's BSD based, so scripting should be quite powerful, and;
2. I thought someone else was going to have to implement it.

Does anyone have any experience of this, or any words of advice?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8455
Location: Warrington, UK

PostPosted: Thu Jun 28, 2007 4:42 pm    Post subject: RE: Scripting on OSX Reply with quote

Google would have given you the answer to this, which is that you can use Bash, and examples of how to do it.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Thu Jun 28, 2007 8:55 pm    Post subject: RE: Scripting on OSX Reply with quote

I have never used it (I use bash, php or perl), but applescript is supposed to be good http://www.apple.com/macosx/features/applescript/. It should integrate with the OS in the way you want.
_________________
Andrew Hutchings, Linux Jedi
www.a-wing.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ollie
Moderator


Joined: Mon Jul 25, 2005 12:26 pm
Posts: 2749
Location: Bathurst NSW Australia

PostPosted: Fri Jun 29, 2007 7:40 am    Post subject: RE: Scripting on OSX Reply with quote

The easiest and cheapest way to do this with a lot more functionality is Apple Remote Desktop. It gets all of the information from System Profiler as well as allowing remote graphical access (I know you can also easily do remote desktop through VNC - I do it at home to manage my daughters Macs) and remote installation of software, updates, etc.

For a UK price of GBP349 (don't have that funny shape in Australia Laughing ) that allows unlimited client management it is very cheap.
Back to top
View user's profile Send private message
A-Wing
LXF regular


Joined: Tue Jul 05, 2005 8:25 pm
Posts: 460
Location: Wellingborough

PostPosted: Fri Jun 29, 2007 9:17 am    Post subject: RE: Scripting on OSX Reply with quote

Isn't ARD just a glorified VNC? Which you can get for free
_________________
Andrew Hutchings, Linux Jedi
www.a-wing.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ollie
Moderator


Joined: Mon Jul 25, 2005 12:26 pm
Posts: 2749
Location: Bathurst NSW Australia

PostPosted: Mon Jul 02, 2007 7:31 am    Post subject: Re: RE: Scripting on OSX Reply with quote

A-Wing wrote:
Isn't ARD just a glorified VNC? Which you can get for free


As I said above, you can do it through VNC and manage each Mac individually, but ARD is VNC on steroids. You use it to manage multiple Macs at the same time, download scripts to multiple Macs, query multiple Macs for hardware and software installed, install software to multiple Macs and more. If you are manging a networked Mac environment it is brilliant in allowing remote troubleshooting and management.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Other OS All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast