detecting kernel version via API or system call
Cameron Simpson
cs at zip.com.au
Wed Jun 30 09:31:47 UTC 2004
[ Top posting fixed. ]
On 10:57 30 Jun 2004, Michelangelo Calatino <michelangelo.calatino at adstorino.it> wrote:
| From: "Ed Greshko" <Ed.Greshko at greshko.com>
| > 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 at zip.com.au> 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 at fnalv.fnal.gov>
More information about the redhat-list
mailing list