Re: automatic system info tool?

Поиск
Список
Период
Сортировка
От Bort, Paul
Тема Re: automatic system info tool?
Дата
Msg-id DB106B1B5B8F734B8FF3E155A3A556C202D4FD03@clemail1.tmwsystems.com
обсуждение исходный текст
Ответ на Re: automatic system info tool?  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: automatic system info tool?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
>
> On UNIX systems uname may work pretty well. But I guess each
> system may
> have slightly different options. What'll probably happen is that you
> end up with a big if() statement testing $Config{osname} wtih
> each case
> having specific code to determine the specifics. But for that you need
> information. How do you get the currently running release of windows
> for example?
>

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]

C:\>

This should work on 2000 or later. (Windows 2000 is 5.0.something.)

Regards,
Paul


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: plPHP and plRuby
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: plPHP and plRuby