Sponsored Content
Top Forums UNIX for Advanced & Expert Users RedHat, Solaris - what is uname command ?? Post 302308542 by glen.barber on Sunday 19th of April 2009 08:06:15 AM
Old 04-19-2009
I'm not quite clear on what you're asking besides what 32-bit, 64-bit, GNU, SPARC means.

32/64 -bit architecture - defined by the CPU capabilities.

32-bit CPUs are used in your traditional i386/x86 computers.

SPARC is a RISC CPU designed by Sun Microsystems.

GNU has nothing to do with CPUs. GNU is an acronym for GNU is Not Unix. (This is where my confusion on your "real" question lies -- GNU is not related to CPU architecture.)
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris or RedHat Linux

Dear All Experts, Would like to know the maturity/ stability of Redhat Linux AS 3.0 versus Solaris. My organization need to setup cluster solution. We are well-versed with Veritas Cluster on Solaris. We are thinking of waiting for certification support of the various ISV like Oracle,... (1 Reply)
Discussion started by: izy100
1 Replies

2. Solaris

Solaris to Redhat...

Hi all, Thanks in advance for any posts and for reading... ... ok I am trying to push out an install of a veritas client from a solaris box to a redhat box and its not working. The guide says make sure that the redhat box is in the .rhost file and the /etc/host file on the solaris box which... (6 Replies)
Discussion started by: B14speedfreak
6 Replies

3. Solaris

Solaris vs Redhat

We are planning to switch operating system. Coul you tell me your opinion on the strengths of the Solaris over Redhat and its weaknesses? (2 Replies)
Discussion started by: andrei7
2 Replies

4. Shell Programming and Scripting

ssh and remote command exec `uname -r`

Hi guys, I am trying to do a ssh for performing a set of actions. Find it below: I need to put the user/ kernel/ DISTRO variables before I complete this operation. what I observed is when ever I put a `command` in those quotes, it performs thta action in local system rather than remote one.... (5 Replies)
Discussion started by: jbmukund
5 Replies

5. Solaris

small doubt reg uname command

Am new to solaris can anyone explain the fields in the below command. Also let me know the difference between nodename and hostname. Here osnask2 is the hostname and type SUNOS. What abt the remaining fields.? #uname -a SunOS osnska2 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-480R (1 Reply)
Discussion started by: rogerben
1 Replies

6. Red Hat

RedHat vs Solaris x86

Can some one give me few points as why we can choose RedHat Linux over Solaris x86 ? I want to give reasons to my upper management to start using RedHat Linux , currently we are 100% Solaris Shop (1 Reply)
Discussion started by: fugitive
1 Replies

7. UNIX for Dummies Questions & Answers

Uname command

Hi, Can anyone let me know the -n option in uname command in unix? Gone through the man pages of uname, but unable to interpret. Thanks in advance. (1 Reply)
Discussion started by: venkatesht
1 Replies

8. UNIX for Advanced & Expert Users

tr command with uname -n

Using the command : echo $eup_terminal_code | tr -s 'mil vrn qcm' 'mci pql qcm' it works,but this translation changes depending on the system. I'd like to define the following variables ,one for each system : mil22h_from='mil vrn frl' mil22h_to='mci vci fci' ... (4 Replies)
Discussion started by: Pierluigi.sala
4 Replies

9. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies
uname(2)							System Calls Manual							  uname(2)

NAME
uname - Gets the name of the current system SYNOPSIS
#include <sys/utsname.h> int uname( struct utsname *name); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: uname(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Points to a utsname structure. DESCRIPTION
The uname() function stores information identifying the current system in the structure pointed to by the name parameter. The uname() function uses the utsname structure, which is defined in the sys/utsname.h file and contains the following members: char sys- name[_SYS_NMLN]; char nodename[_SYS_NMLN]; char release[_SYS_NMLN]; char version[_SYS_NMLN]; char machine[_SYS_NMLN]; The uname() function returns a null-terminated character string naming the current system in the sysname character array. The nodename array contains the name that the system is known by on a communications network. The release and version arrays further identify the sys- tem. The machine array identifies the CPU hardware being used. RETURN VALUES
Upon successful completion, a nonnegative value is returned. Otherwise, -1 is returned and errno is set to indicate the error. ERRORS
If the uname() function fails, errno may be set to the following value: [Tru64 UNIX] The name parameter points outside of the process address space. RELATED INFORMATION
Commands: uname(1) Standards: standards(5) delim off uname(2)
All times are GMT -4. The time now is 10:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy