Re: detecting kernel version via API or system call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Top posting fixed. ]

On 10:57 30 Jun 2004, Michelangelo Calatino <michelangelo.calatino@xxxxxxxxxxxx> wrote:
| From: "Ed Greshko" <Ed.Greshko@xxxxxxxxxxx>
| > On Wed, 2004-06-30 at 16:42, Michelangelo Calatino wrote:
| > > but, perhaps there is shorter way ?
| > reading /proc/sys/kernel/osrelease will give you the same info.  
| I guess this is available also on other distributions,  [SUSE,DEBIAN]
| is it ?

On Linux, yes.
On UNIX in general see "man 3 sysconf" for a general interface for
this kind of information.
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Sometimes I think that the only reason I stay in the physics biz is the hope
that someday I can give the "Thermonuclear Protection" a little thermonuclear
testing.        - Phillip J. Birmingham <birmingh@xxxxxxxxxxxxxx>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux