On Mon, 18 Aug 2008 04:44:26 PDT Rob Clark wrote:
> On Aug 11, 2008 7:53 AM, gsf wrote:
> > (2) on solaris SI_PLATFORM is 513
> > on the solaris systems in question
> > from ksh93
^^^^^^^^^^
> > does
> > getconf SI#513
> > produce the expected result? (can also use this
> > syntax: getconf 'SI(513)')
> > if not then how is the expected result determined?
> >
> My SXCE and OpenSolaris systems are down at the moment but on Solaris 10u3
> typing either "getconf SI#513" or "getconf 'SI(513)'" produces "getconf:
> Invalid argument" errors.
run the getconf "from ksh93"
or alternatively write a small program that calls systeminfo(2)
compare that result to "uname -i" run from /bin/sh (not ksh93)
> BTW: Typing "isainfo -kv" gives good info that uname could use to provide the
> correct information.
the opensolaris uname.c uses SI_PLATFORM