Re: automatic system info tool?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "Bort, Paul" <pbort(at)tmwsystems(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: automatic system info tool?
Date: 2006-07-17 19:57:58
Message-ID: 20060717195758.GD30221@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 17, 2006 at 11:06:50AM -0400, Bort, Paul wrote:
> If you can open a command shell you can get the OS version with the
> 'ver' command under Windows:
>
> C:\>ver
>
> Microsoft Windows XP [Version 5.1.2600]

How do you do this from a program though. Under UNIX uname() is a
function call as well as a program. It returns the os name, version,
hostname and system type.

Mind you, maybe perl provides emulation for uname?

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-07-17 20:01:22 Re: plPHP and plRuby
Previous Message Zdenek Kotala 2006-07-17 19:48:33 Re: TODO: Mark change-on-restart-only values in