how to know the kernel bit...


 
Thread Tools Search this Thread
Operating Systems Solaris how to know the kernel bit...
# 1  
Old 11-06-2008
Bug 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..

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

please help
# 2  
Old 11-06-2008
use isainfo -v to check kernel bit
pkginfo | grep -i nis OR dns
# 3  
Old 11-06-2008
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.

Last edited by cmr164; 11-06-2008 at 03:35 AM..
# 4  
Old 02-17-2009
on linux?

Quote:
Originally Posted by cmr164
But the '-kv' is more clear:

$ isainfo -kv
64-bit sparcv9 kernel modules
hi,

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

thanks
# 5  
Old 02-18-2009
You may want to check this out:
at: All commands for every operating system
# 6  
Old 02-18-2009
thanx........
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Red Hat

Centos 4 32 bit - New kernel ethX MAC address order issue

I have compiled a new kernel (3.2.9) for centos 4/5/6 servers. There is an issue with the centos 4, 32 bit servers. The kernel changes the order in which the MAC address is determined and because of this the server network does not come up as the wrong MAC address are assigned. Even if we specify... (6 Replies)
Discussion started by: anil510
6 Replies

2. Solaris

Switch to 64-bit kernel on Solaris x86

I know this is probably a dumb question, but all of my Google and forum searches have been coming up empty. I mostly work with SPARC. How do you switch Solaris on x86 from 32-bit to 64-bit? When I do a uname -a on a newly installed machine I get "SunOS XXXXXXX 5.10 Generic_144489-17 i86pc i386... (8 Replies)
Discussion started by: christr
8 Replies

3. Red Hat

boot the 32 bit kernel on a 64 bit PPC Linux machine?

Hi all, I'm looking to cover a corner case for an upcoming test cycle. Is there a way to boot a RedHat Advanced Server 4 (update 3) installed on a Power PC machine to use a 32 bit kernel? This would be similar to what is done here -> https://www.unix.com/aix/26204-aix-platform.html I've done... (0 Replies)
Discussion started by: philrau
0 Replies

4. HP-UX

Change 32 bit to 64 bit Kernel

Hi, I'm using HPUX 11.11 on Vizualize B180L our productive machines have 64 bit kernel # file vmunix vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64) I got one test system, which should have the same HW (i was told it is the same HW) hpuxtest:/stand-->file... (3 Replies)
Discussion started by: funksen
3 Replies

5. Programming

copying or concatinating string from 1st bit, leaving 0th bit

Hello, If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit. How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies

6. AIX

64 or 32 bit kernel?

How to determine if you're running a 32 or 64 bit kernel? Thanks (5 Replies)
Discussion started by: tb0ne
5 Replies
Login or Register to Ask a Question