Quote:
Originally Posted by
incredible
use isainfo -v to check kernel bit
pkginfo | grep -i nis OR dns
The result from the `isainfo` might confuse the writer. I would recommend a slight variation of `isainfo -kv` See the results below for the difference:
$ isainfo -vb
64-bit sparcv9 applications
vis2 vis
sensor1.lrdc.lexmark.com : isainfo -v
64-bit sparcv9 applications
vis2 vis
32-bit sparc applications
vis2 vis v8plus div32 mul32
But the '-kv' is more clear:
$ isainfo -kv
64-bit sparcv9 kernel modules
As for the NIS vs DNS issue. They are not exclusive but the order of use is found in the /etc/nsswitch.conf file in the lines for "hosts" and "ipnodes".
A typical entry could be "hosts: files dns" which says to check the /etc/host file first and if not found to check using DNS. There could be a " nis" and the order of checking could be different although "files" is traditionally first for a bunch of reasons.
The version is told by the pkginfo command but I would recommend 'pkginfo -l SUNWbind` for the DNS version and `pkginfo -l SUNWypu` for the NIS.