10 More Discussions You Might Find Interesting
1. Linux
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
2. Solaris
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
3. UNIX for Dummies Questions & Answers
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
4. Fedora
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
5. UNIX for Advanced & Expert Users
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. UNIX for Dummies Questions & Answers
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
7. Solaris
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
8. AIX
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
9. Linux
what is the difference between
uname -m and uname -i
what it actually means (2 Replies)
Discussion started by: Dileepsp
2 Replies
10. AIX
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
uname(2) System Calls uname(2)
NAME
uname - get name of current operating system
SYNOPSIS
#include <sys/utsname.h>
int uname(struct utsname *name);
DESCRIPTION
The uname() function stores information identifying the current operating system in the structure pointed to by name.
The uname() function uses the utsname structure, defined in <sys/utsname.h>, whose members include:
char sysname[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 operating system in the character array sysname. Simi-
larly, the nodename member contains the name by which the system is known on a communications network. The release and version members
further identify the operating system. The machine member contains a standard name that identifies the hardware on which the operating sys-
tem is running.
RETURN VALUES
Upon successful completion, a non-negative value is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The uname() function will fail if:
EFAULT The name argument points to an illegal address.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
uname(1), sysinfo(2), sysconf(3C), attributes(5), standards(5)
SunOS 5.10 21 Jul 1999 uname(2)