[olug] Detect active kernel version

Brian Roberson roberson at bstc.net
Sat Oct 20 00:46:16 UTC 2001


exactly my point ;-) ... checkout /proc/stat or /proc/meminfo or
/proc/modules or /proc/ioports or /proc/interrupts....   looks very
interesting... DOESNT IT!


--Brian



----- Original Message -----
From: "Jeff Hinrichs" <jlh at home.com>
To: <olug at bstc.net>
Sent: Friday, October 19, 2001 6:21 PM
Subject: Re: [olug] Detect active kernel version


> Evidently I was temporarily blind.  I was looking at the output from
> /proc/version and didn't see that it does indeed have the kernel version.
> Sorry, me bad.
> I for one, didn't know what the /proc was, now that I'm poking around in
> it.....there is a lot of useful info here.
>
> thanks,
> Jeff
> ----- Original Message -----
> From: "Brian Roberson" <roberson at bstc.net>
> To: <olug at bstc.net>
> Sent: Friday, October 19, 2001 4:45 PM
> Subject: Re: [olug] Detect active kernel version
>
>
> > /proc/version always has the kernel version but is a linux-ism, uname is
a
> > unix-ism that you should always depend on. I just thought I would throw
> out
> > /proc/version as I am sure most people on the list do not even know what
> the
> > /proc filesystem even is.....
> >
> >
> >
> > ----- Original Message -----
> > From: "Jeff Hinrichs" <jlh at home.com>
> > To: <olug at bstc.net>
> > Sent: Friday, October 19, 2001 4:32 PM
> > Subject: Re: [olug] Detect active kernel version
> >
> >
> > > root at pilot /sbin]# cat /proc/version
> > > Linux version 2.4.9-6 (bhcompile at stripples.devel.redhat.com) (gcc
> version
> > > 2.96 20000731 (Red Hat Linux 7.1 2.96-85)) #1 Thu Oct 18 09:22:43 EDT
> 2001
> > >
> > > [root at pilot /sbin]# uname -r
> > > 2.4.9-6
> > >
> > > On redhat /prov/version returns the RH version but not the kernel.
> Which
> > is
> > > helpful to know, but I was after the kernel and chad's tip of uname -r
> > gets
> > > me what i was after.
> > >
> > > thanks,
> > > jeff
> > > ----- Original Message -----
> > > From: "Brian Roberson" <roberson at bstc.net>
> > > To: <olug at bstc.net>
> > > Sent: Friday, October 19, 2001 4:19 PM
> > > Subject: Re: [olug] Detect active kernel version
> > >
> > >
> > > > cat /proc/version
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Jeff Hinrichs" <jlh at home.com>
> > > > To: <olug at bstc.net>
> > > > Sent: Friday, October 19, 2001 10:52 AM
> > > > Subject: [olug] Detect active kernel version
> > > >
> > > >
> > > > > How can I tell what kernel version is currently active from a
remote
> > > > > session?
> > > > >
> > > > > thanks,
> > > > > jeff
> > > > >
> > > > >
> > > > > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > > > >
> > > > > For help contact olug-help at bstc.net - run by ezmlm
> > > > > to unsubscribe, send mail to olug-unsubscribe at bstc.net
> > > > > or `mail olug-unsubscribe at bstc.net < /dev/null`
> > > > > (c)2001 OLUG http://www.olug.org
> > > > >
> > > > > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > > > >
> > > > >
> > > >
> > > >
> > > > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > > >
> > > > For help contact olug-help at bstc.net - run by ezmlm
> > > > to unsubscribe, send mail to olug-unsubscribe at bstc.net
> > > > or `mail olug-unsubscribe at bstc.net < /dev/null`
> > > > (c)2001 OLUG http://www.olug.org
> > > >
> > > > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > > >
> > >
> > >
> > > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > >
> > > For help contact olug-help at bstc.net - run by ezmlm
> > > to unsubscribe, send mail to olug-unsubscribe at bstc.net
> > > or `mail olug-unsubscribe at bstc.net < /dev/null`
> > > (c)2001 OLUG http://www.olug.org
> > >
> > > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> > >
> > >
> >
> >
> > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> >
> > For help contact olug-help at bstc.net - run by ezmlm
> > to unsubscribe, send mail to olug-unsubscribe at bstc.net
> > or `mail olug-unsubscribe at bstc.net < /dev/null`
> > (c)2001 OLUG http://www.olug.org
> >
> > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> >
>
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
>
> For help contact olug-help at bstc.net - run by ezmlm
> to unsubscribe, send mail to olug-unsubscribe at bstc.net
> or `mail olug-unsubscribe at bstc.net < /dev/null`
> (c)2001 OLUG http://www.olug.org
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
>
>


-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_




More information about the OLUG mailing list