Sponsored Content
Full Discussion: Uname
Operating Systems Linux Uname Post 302152770 by fpmurphy on Friday 21st of December 2007 06:35:41 AM
Old 12-21-2007
uname -m returns the machine architecture i.e. i386 for Intel/AMD platforms.
uname -p returns the processor architecture i.e. i686 for Intel/AMD platforms.
uname -i (if implemented) returns the actual hardware platform i.e model number or suchlike.

See uname - Wikipedia, the free encyclopedia for more information.
 

9 More Discussions You Might Find Interesting

1. AIX

uname -S

hi , i have made a mistake :( on the production enviourment by change tha host name . after that i returned back the old name. but i think this will not afeect the system until reboot the machine. laso i tried to telnet the syetem by the host name not by the IP address and it works fine. ... (2 Replies)
Discussion started by: habuzahra
2 Replies

2. AIX

uname -S newhostname

hi freinds recently i have change hostname node as using uname -s ******* but next time i saw the name using uname -n the name did t changed is that i have to reboot the system (4 Replies)
Discussion started by: senmak
4 Replies

3. Solaris

uname help

hi all, Operating System Name : Unix Sun Solaris Operating system release level : 5.10 Operating system version : Generic_137111-06 i know the release level that is kernel version Generic_137111-06 what is number... (6 Replies)
Discussion started by: coxmanchester
6 Replies

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

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

6. Fedora

uname too vague?

Hi all, I am ssh'ed into a cluster and want to install a package. However, I don't know which type to chose (CentOS, Fedora, OpenSuSE are some of the options). I ran called uname with various arguments but none are specific... $ uname -n resolute.research... $ uname -i x86_64 $ uname... (6 Replies)
Discussion started by: neurorad
6 Replies

7. UNIX for Dummies Questions & Answers

uname -a output

Can anyone please let me know the meaning of output of uname -a ? I am totally new to unix or linux and just thinking to start learning. When I run uname -a the output I get is - "Linux blx28ap01 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux" I want to... (7 Replies)
Discussion started by: csrohit
7 Replies

8. Solaris

uname -a

bssmsrv223:/ 53 ] uname -a SunOS bssmsrv223 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V245 bssmsrv223:/ 54 ] what does 118833-36 denotes in Generic_118833-36 (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

9. Linux

Difference between UNAME and WHO

Hi, What is the exact output tells me when i issued UNAME and WHO ? Regards, Nantha.Y (2 Replies)
Discussion started by: Nandy
2 Replies
UNAME(3)						   BSD Library Functions Manual 						  UNAME(3)

NAME
uname -- get system identification LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/utsname.h> int uname(struct utsname *name); DESCRIPTION
The uname() function stores nul-terminated strings of information identifying the current system into the structure referenced by name. The utsname structure is defined in the <sys/utsname.h> header file, and contains the following members: sysname Name of the operating system implementation. nodename Network name of this machine. release Release level of the operating system. version Version level of the operating system. machine Machine hardware platform. RETURN VALUES
The uname() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS
The uname() function may fail and set errno for any of the errors specified for the library functions sysctl(3). SEE ALSO
uname(1), sysctl(3) STANDARDS
The uname() function conforms to IEEE Std 1003.1-1988 (``POSIX.1''). HISTORY
The uname() function first appeared in 4.4BSD. BSD
January 4, 1994 BSD
All times are GMT -4. The time now is 10:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy