iEntry 10th Anniversary LinuxHaxor WH MH

uname – get name and information about current kernel


This is a system call, and the operating system presumably knows its name, release and version. It also knows what hardware it runs on. So, four of the fields of the struct are meaningful. On the other hand, the field nodename is meaningless: it gives the name of the present machine in some undefined network, but typically machines are in more than one network and have several names. Moreover, the kernel has no way of knowing about such things, so it has to be told what to answer here. The same holds for the additional domainname field.

http://linux.die.net/man/2/uname

2007-08-02-011707_1280x800_scrot

 

Cheers
pavs


Comments are closed.