Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Uname utility in *nix retrieves wonderful meta information about the machine. Where is this information stored?

share|improve this question
up vote 2 down vote accepted

The uname command is actually a front end for a system call that does the same thing. The kernel pretty much knows what it is. You can also see this information on, for example /proc/sysinfo.

share|improve this answer

Part of the utsname information is also accessible via

/proc/sys/kernel/{ostype, hostname, osrelease, version, domainname}

see uname man page

share|improve this answer

The kernel, mostly, where at least the hostname is usually read from /etc/hostname or a similar file during bootup.

share|improve this answer

The uname command retrieved informations are stored in etc/hostname that hostname file contains your machine name.

share|improve this answer
1  
No. It contains only the hostname, no kernel related information. – Michael Nov 24 '12 at 10:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .