NAME uname - get name and information about current kernel LIBRARY Standard C library ( libc ... SYNOPSIS #include <sys/utsname.h> int uname(struct utsname * buf ); DESCRIPTION una…NAME uname - get name and information about current kernel LIBRARY Standard C library ( libc ... SYNOPSIS #include <sys/utsname.h> int uname(struct utsname * buf ); DESCRIPTION una…NAME uname - get name and information about current kernel LIBRARY Standard C library ( libc ... SYNOPSIS #include <sys/utsname.h> int uname(struct utsname * buf ); DESCRIPTION una…FAILURE, "sethostname"); /* Retrieve and display hostname. */ if (uname(&uts) == -1) err(EXIT_FAILURE, "uname"); printf ... hostname in child's UTS namespace. */ if (uname(&uts) ==…FAILURE, "sethostname"); /* Retrieve and display hostname. */ if (uname(&uts) == -1) err(EXIT_FAILURE, "uname"); printf ... hostname in child's UTS namespace. */ if (uname(&uts) ==…FAILURE, "sethostname"); /* Retrieve and display hostname. */ if (uname(&uts) == -1) err(EXIT_FAILURE, "uname"); printf ... hostname in child's UTS namespace. */ if (uname(&uts) ==…umount (2) 1.0 umount2 (2) 2.2 uname (2) 1.0 unlink (2) 1.0 unlinkat ... defines __NR_oldolduname , __NR_olduname , and __NR_uname refer to the routines sys_oldunamegethostname () as a library function that calls uname (2) and copies up to len bytes ... ALSO hostname (1), getdomainname (2), setdomainname (2), uname (2), uts_namespacesgethostname () as a library function that calls uname (2) and copies up to len bytes ... ALSO hostname (1), getdomainname (2), setdomainname (2), uname (2), uts_namespacesdomainname field returned from a call to uname (2). STANDARDS None. HISTORY Since Linux ... bytes. SEE ALSO gethostname (2), sethostname (2), uname (2), uts_namespacesdomainname field returned from a call to uname (2). STANDARDS None. HISTORY Since Linux ... bytes. SEE ALSO gethostname (2), sethostname (2), uname (2), uts_namespaceschild: bizarro uts.nodename in parent: antero # uname -n # Verify hostname in the shell antero ... first program: # ./ns_exec /proc/3550/ns/uts /bin/bash # uname -n # Executed in s…signal handler. UNAME26 (since Linux 3.1) Have uname (2) report a 2.6.(40+x) version ... Linux. PER_LINUX32 (since Linux 2.2) uname (2) returns the namesystem call numbers on this architecture: $ uname -m x86_64 $ syscall_nr() { cat /usr/src/linux/arch/x86/syscalls/syscall_64.tbl