"uname" ( a system call and also a user utility that can be run under a shell and used in shell scripts) and/or "/proc" - by actually "cat"ting information from there under shell, or by using the programming syscalls to query /proc
Sun Solaris also has "/proc" pseudo filesystem, which is conceptually the same as that in Linux, but it does not report information in ASCII, so the use of special utilities when working under shell or special syscalls is unavoidable
no subject
Date: 2005-07-17 09:03 pm (UTC)and/or "/proc" - by actually "cat"ting information from there under shell, or by using the programming syscalls to query /proc
Sun Solaris also has "/proc" pseudo filesystem, which is conceptually the same as that in Linux, but it does not report information in ASCII, so the use of special utilities when working under shell or special syscalls is unavoidable