how to know the kernel bit...

hai everybody... i ama a student..............i am new to solaris...

i have some question,can anybody help me....... questions are

1.how to know from which bit(32 bit/64 bit) 0f kernet the system choose when it boots..

  1. how to know the version of DNS and NIS installed in a system......

please help

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.

hi,

is there a Linux equivalent of this command? "uname -a" and "arch" commands won't give the desired results.

thanks

You may want to check this out:
at: All commands for every operating system

thanx........