Sponsored Content
Operating Systems Solaris how to know the kernel bit... Post 302255151 by cmr164 on Thursday 6th of November 2008 02:28:35 AM
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..
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
isainfo(1)                                                         User Commands                                                        isainfo(1)

NAME
isainfo - describe instruction set architectures SYNOPSIS
isainfo [ [-v] [-b | -n | -k] | [-x]] DESCRIPTION
The isainfo utility is used to identify various attributes of the instruction set architectures supported on the currently running system. Among the questions it can answer are whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device drivers. When invoked with no options, isainfo prints the name(s) of the native instruction sets for applications supported by the current version of the operating system. These are a subset of the list returned by isalist(1). The subset corresponds to the basic applications environ- ments supported by the currently running system. OPTIONS
The following options are supported: -b Prints the number of bits in the address space of the native instruction set. -k Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS mod- ules. -n Prints the name of the native instruction set used by portable applications supported by the current version of the operating sys- tem. -v When used with the- b, -k or -n options, prints more detailed information. -x Prints instruction extensions to the native ABI which are supported by the platform. EXAMPLES
Example 1: Invoking isainfo on a 32-bit x86 Platform The following example invokes isainfo on a 32-bit x86 platform: example% isainfo -v 32-bit i386 applications example% isainfo -k i386 Example 2: Invoking isainfo on a System Running the 64-bit Operating System on a 64-bit SPARC Processor The following example invokes isainfo on a system running the 64-bit operating system on a 64-bit SPARC processor: example% isainfo sparcv9 sparc example% isainfo -n sparcv9 example% isainfo -v 64-bit sparcv9 applications 32-bit sparc applications example% isainfo -vk 64-bit sparcv9 kernel modules Example 3: Invoking isainfo -x on an AMD Opteron CPU The following example invokes isainfo with the -x option on an AMD Opteron CPU: example% isainfo -x i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause EXIT STATUS
Non-zero Options are not specified correctly, or the command is unable to recognize attributes of the system on which it is running. An error message is printed to stderr. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
isalist(1), uname(1), psrinfo(1M), sysinfo(2), attributes(5), isalist(5) SunOS 5.10 20 Jul 2004 isainfo(1)
All times are GMT -4. The time now is 12:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy