Re: automatic system info tool?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: automatic system info tool?
Дата
Msg-id 20060717113509.GA30221@svana.org
обсуждение исходный текст
Ответ на Re: automatic system info tool?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: automatic system info tool?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Sun, Jul 16, 2006 at 06:49:26PM -0400, Andrew Dunstan wrote:
> We also classify buildfarm machines by <os, os_version, compiler,
> compiler_version> and config.guess doesn't give us that, unfortunately.

It would seem to be a lot easier to use the values from perl itself,
given you're already using it:

# perl -MConfig -e 'print "os=$Config{osname}, osvers=$Config{osvers}, archname=$Config{archname}\n"'
os=linux, osvers=2.6.15.4, archname=i486-linux-gnu-thread-multi

If you look at perl -V it give you a subset of useful values, probably
a lot nicer than munging config.guess. It'll even tell you the size of
of the C datatypes if you're interested :)

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

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

Предыдущее
От: Susanne Ebrecht
Дата:
Сообщение: Re: 8.2 features?
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: url for TODO item, is it right?