Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to know wether it's a server or classic OS X

0 views
Skip to first unread message

Thomas

unread,
Jul 19, 2007, 5:05:38 AM7/19/07
to
Hello,
i'm trying to find automatically wether a machine is installed with OS X
classic or as a server.
There seems to be no information in struct utsname.
Any help would be welcome.
Thanks.
Thomas.

Ben Artin

unread,
Jul 19, 2007, 11:39:48 AM7/19/07
to
In article <469f2907$0$18470$426a...@news.free.fr>, Thomas <tho...@news.fr>
wrote:

> i'm trying to find automatically wether a machine is installed with OS X
> classic or as a server.

Why?

Ben

--
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>

I changed my name: <http://periodic-kingdom.org/People/NameChange.php>

Thomas

unread,
Jul 20, 2007, 7:08:12 AM7/20/07
to
Ben Artin a écrit :

> In article <469f2907$0$18470$426a...@news.free.fr>, Thomas <tho...@news.fr>
> wrote:
>
>> i'm trying to find automatically wether a machine is installed with OS X
>> classic or as a server.
>
> Why?
>
> Ben
>

In order to know the information.
Do you know how to do ?

Fritz Anderson

unread,
Jul 20, 2007, 12:37:30 PM7/20/07
to
On Jul 20, 6:08 am, Thomas <tho...@news.fr> wrote:
> Ben Artin a écrit :
> > In article <469f2907$0$18470$426a3...@news.free.fr>, Thomas <tho...@news.fr>

> > wrote:
>
> >> i'm trying to find automatically wether a machine is installed with OS X
> >> classic or as a server.
>
> > Why?
>
> > Ben
>
> In order to know the information.
> Do you know how to do ?

Very funny.

In principle, any Mac OS X client installation may be fitted with
server software. It already comes with Apache, SSH, FTP, and file
service. Most of the rest of MOSXS is free software. The value-add in
MOSXS is in the administration tools, and in having known-stable
installations of the server software.

Knowing what you are trying to accomplish would make it possible to
give you the answer you need. I suspect you are trying to enforce some
kind of license on your product. Hiding that doesn't protect you from
as much as you hope.

- F


Sherm Pendley

unread,
Jul 20, 2007, 4:37:50 PM7/20/07
to
Thomas <tho...@news.fr> writes:

> Ben Artin a écrit :
>> In article <469f2907$0$18470$426a...@news.free.fr>, Thomas
>> <tho...@news.fr> wrote:
>>
>>> i'm trying to find automatically wether a machine is installed with
>>> OS X classic or as a server.
>>
>> Why?
>>
>

> In order to know the information.

Duh, no kidding. Why do you want to know the information? What do you intend
to do with it?

The reason that's important is, the only effective difference in Server is
the addition of some management applications and utilities. But, those can
be installed on "vanilla" Mac OS X as well, or removed from Server. For that
reason, a far more effective approach would be to check for the service and/
or utility you need, instead of making (potentially faulty) assumptions
based on the OS version.

Note that if you'd simply answered the "why" question to begin with, or
better still, given the relevant information in your original question, you
may well have received an answer by now, instead of requests for more info.
Have a look at:

<http://www.catb.org/~esr/faqs/smart-questions.html>

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

SM Ryan

unread,
Jul 20, 2007, 10:25:52 PM7/20/07
to
Thomas <tho...@news.fr> wrote:
# Hello,
# i'm trying to find automatically wether a machine is installed with OS X
# classic or as a server.
# There seems to be no information in struct utsname.
# Any help would be welcome.

If by classic you mean System 9 or earlier, that's a completely
different operating system. If you mean server vs nonserver
version of OS 10, the only real difference is that server has
a GUI in front of the various server daemons. You can check for
the existence of the server application directories.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
There are subtler ways of badgering a witness.

Thomas

unread,
Jul 23, 2007, 3:54:08 AM7/23/07
to
Sherm Pendley a écrit :

> Thomas <tho...@news.fr> writes:
>
>> Ben Artin a écrit :
>>> In article <469f2907$0$18470$426a...@news.free.fr>, Thomas
>>> <tho...@news.fr> wrote:
>>>
>>>> i'm trying to find automatically wether a machine is installed with
>>>> OS X classic or as a server.
>>> Why?
>>>
>> In order to know the information.
>
> Duh, no kidding. Why do you want to know the information? What do you intend
> to do with it?
>
> The reason that's important is, the only effective difference in Server is
> the addition of some management applications and utilities. But, those can
> be installed on "vanilla" Mac OS X as well, or removed from Server. For that
> reason, a far more effective approach would be to check for the service and/
> or utility you need, instead of making (potentially faulty) assumptions
> based on the OS version.
>
> Note that if you'd simply answered the "why" question to begin with, or
> better still, given the relevant information in your original question, you
> may well have received an answer by now, instead of requests for more info.
> Have a look at:
>
> <http://www.catb.org/~esr/faqs/smart-questions.html>
>
> sherm--
>

Thanks for your answers.
This is only a part of the informations that are given back to a
computer park management system.
This software was at first only working on windows and the information
of type of OS (workstation/server) is given back.
I'm just trying to give back all the same informations from the macs.
That's why i answered only "to know the information".
Thomas.

Thomas

unread,
Jul 23, 2007, 3:56:21 AM7/23/07
to
SM Ryan a écrit :

Thanks, i will certainly do that.
Do you have the exact name of this directory ?
I have no OS X servers.
Thomas.

Tom Harrington

unread,
Jul 23, 2007, 11:24:06 AM7/23/07
to
In article <46a45ec9$0$3409$426a...@news.free.fr>,
Thomas <tho...@news.fr> wrote:

> Do you have the exact name of this directory ?
> I have no OS X servers.

Mac OS X Server should contain a file at
/System/Library/CoreServices/ServerVersion.plist identifying the version
of the operating system. I don't know if this is true in all versions
of Mac OS X Server but it's true of recent releases.

--
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/

Reinder Verlinde

unread,
Jul 23, 2007, 11:43:59 AM7/23/07
to
In article <46a45e46$0$3409$426a...@news.free.fr>,
Thomas <tho...@news.fr> wrote:

> Thanks for your answers.
> This is only a part of the informations that are given back to a
> computer park management system.
> This software was at first only working on windows and the information
> of type of OS (workstation/server) is given back.
> I'm just trying to give back all the same informations from the macs.
> That's why i answered only "to know the information".
> Thomas.

In that case, I would take a look at "system_profiler -xml". It probably
tells you all you want to know.

Reinder

Thomas

unread,
Jul 24, 2007, 4:09:00 AM7/24/07
to
Tom Harrington a écrit :

> In article <46a45ec9$0$3409$426a...@news.free.fr>,
> Thomas <tho...@news.fr> wrote:
>
>> Do you have the exact name of this directory ?
>> I have no OS X servers.
>
> Mac OS X Server should contain a file at
> /System/Library/CoreServices/ServerVersion.plist identifying the version
> of the operating system. I don't know if this is true in all versions
> of Mac OS X Server but it's true of recent releases.
>

Thanks a lot for this information, it seems to be the most simple to check.
Thomas.

Tom Harrington

unread,
Jul 24, 2007, 5:06:57 PM7/24/07
to
In article <2007072411434216807-cmh@maccom>, Chris Hanson <c...@mac.com>
wrote:

> On 2007-07-23 00:54:08 -0700, Thomas <tho...@news.fr> said:
>
> > This is only a part of the informations that are given back to a
> > computer park management system.
>

> What is a "computer park management system?"

Perhaps it has something to do with using computers in the management of
parks?

Or maybe it has something to do with a theme park where computers go to
play while their people are on vacation. A sort of a high-tech dog
kennel.

Chris Hanson

unread,
Jul 24, 2007, 2:43:42 PM7/24/07
to
On 2007-07-23 00:54:08 -0700, Thomas <tho...@news.fr> said:

> This is only a part of the informations that are given back to a
> computer park management system.

What is a "computer park management system?" Is this the reason
there's about one question a week along the lines of "How do I find all
the installed apps, memory, registry entries, and color of MACs on
network?"

-- Chris


Paul Russell

unread,
Jul 24, 2007, 6:03:07 PM7/24/07
to
Tom Harrington wrote:
> In article <2007072411434216807-cmh@maccom>, Chris Hanson <c...@mac.com>
> wrote:
>
>> On 2007-07-23 00:54:08 -0700, Thomas <tho...@news.fr> said:
>>
>>> This is only a part of the informations that are given back to a
>>> computer park management system.
>> What is a "computer park management system?"
>
> Perhaps it has something to do with using computers in the management of
> parks?
>
> Or maybe it has something to do with a theme park where computers go to
> play while their people are on vacation. A sort of a high-tech dog
> kennel.
>

Maybe it's something like the system in the Toyota Prius (and probably
others) that automatically parks the car for you ?

Paul

Thomas

unread,
Jul 25, 2007, 4:03:14 AM7/25/07
to
Paul Russell a écrit :

Sorry, it's only a tool to manage things on users desktops, that give
informations back to manager about computer.
It works on Windows, and i have to make it work on OS X.
It's the first question i post, because this is the only problem on wich
i didn't find any answer.
Thomas.

Tom Harrington

unread,
Jul 25, 2007, 11:58:34 AM7/25/07
to
In article <46a70369$0$28366$426a...@news.free.fr>,
Thomas <tho...@news.fr> wrote:

> Paul Russell a écrit :
> > Tom Harrington wrote:
> >> In article <2007072411434216807-cmh@maccom>, Chris Hanson
> >> <c...@mac.com> wrote:
> >>
> >>> On 2007-07-23 00:54:08 -0700, Thomas <tho...@news.fr> said:
> >>>
> >>>> This is only a part of the informations that are given back to a
> >>>> computer park management system.
> >>> What is a "computer park management system?"
> >>
> >> Perhaps it has something to do with using computers in the management
> >> of parks?
> >>
> >> Or maybe it has something to do with a theme park where computers go
> >> to play while their people are on vacation. A sort of a high-tech dog
> >> kennel.
> >>
> >
> > Maybe it's something like the system in the Toyota Prius (and probably
> > others) that automatically parks the car for you ?
>

> Sorry, it's only a tool to manage things on users desktops, that give
> informations back to manager about computer.
> It works on Windows, and i have to make it work on OS X.
> It's the first question i post, because this is the only problem on wich
> i didn't find any answer.

Is this for users and managers of parks? Are they theme parks, national
parks, or skate parks? Are they parking their cars?

Thomas

unread,
Aug 6, 2007, 8:41:36 AM8/6/07
to
Tom Harrington a écrit :

Sorry for bad traduction (i'm french).
It will process all company's computers (i was wrong with words
"computer park").

0 new messages