Re: SuSE Versions

2008-01-31 Thread Stahr, Lea
On Red Hat, the file is /etc/redhat-release.

Lea Stahr
Linux,  zLinux, and zVM Administrator
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Edmund R. MacKenty
Sent: Thursday, January 31, 2008 12:13 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: SuSE Versions

On Thursday 31 January 2008 13:09, Walters, Gene P wrote:
We are running several versions of SuSE on our IFL.  I am trying to
make
a list of what we are running.  I went into each Instance and did a cat
/proc/version, but that shows me the kernel level.  How can I either
find the SuSE version, or equate that kernel level to a specific SuSE
version?  Management wants this list and they don't understand kernel
versions..lol

Do a cat /etc/*release command.  Most Linux systems have a file
matching
that pattern that describes the distro.  My SLES 9 box has this:

SUSE LINUX Enterprise Server 9 (s390x)
VERSION = 9

Also, how can I tell if it is 32-bit or 64-bit.

The uname -m command will output s390 on a 31-bit system, or s390x
on a
64-bit system.
- MacK.
-
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SuSE Versions

2008-01-31 Thread Walters, Gene P
Great, thanks

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Edmund R. MacKenty
Sent: Thursday, January 31, 2008 1:13 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: SuSE Versions

On Thursday 31 January 2008 13:09, Walters, Gene P wrote:
We are running several versions of SuSE on our IFL.  I am trying to
make
a list of what we are running.  I went into each Instance and did a cat
/proc/version, but that shows me the kernel level.  How can I either
find the SuSE version, or equate that kernel level to a specific SuSE
version?  Management wants this list and they don't understand kernel
versions..lol

Do a cat /etc/*release command.  Most Linux systems have a file
matching
that pattern that describes the distro.  My SLES 9 box has this:

SUSE LINUX Enterprise Server 9 (s390x)
VERSION = 9

Also, how can I tell if it is 32-bit or 64-bit.

The uname -m command will output s390 on a 31-bit system, or s390x
on a
64-bit system.
- MacK.
-
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


SuSE Versions

2008-01-31 Thread Walters, Gene P
We are running several versions of SuSE on our IFL.  I am trying to make
a list of what we are running.  I went into each Instance and did a cat
/proc/version, but that shows me the kernel level.  How can I either
find the SuSE version, or equate that kernel level to a specific SuSE
version?  Management wants this list and they don't understand kernel
versions..lol

Also, how can I tell if it is 32-bit or 64-bit.

Thanks

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SuSE Versions

2008-01-31 Thread Edmund R. MacKenty
On Thursday 31 January 2008 13:09, Walters, Gene P wrote:
We are running several versions of SuSE on our IFL.  I am trying to make
a list of what we are running.  I went into each Instance and did a cat
/proc/version, but that shows me the kernel level.  How can I either
find the SuSE version, or equate that kernel level to a specific SuSE
version?  Management wants this list and they don't understand kernel
versions..lol

Do a cat /etc/*release command.  Most Linux systems have a file matching
that pattern that describes the distro.  My SLES 9 box has this:

SUSE LINUX Enterprise Server 9 (s390x)
VERSION = 9

Also, how can I tell if it is 32-bit or 64-bit.

The uname -m command will output s390 on a 31-bit system, or s390x on a
64-bit system.
- MacK.
-
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SuSE Versions

2008-01-31 Thread Marcy Cortes
 
If you haven't discovered this one yet, the sitar package will make a
nice little HTML page of every thing about your servers.  Mgmt might be
happy with that.  You can quickly build an inventory web page.



Marcy Cortes 
 
This message may contain confidential and/or privileged information. If
you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Walters, Gene P
Sent: Thursday, January 31, 2008 10:09 AM
To: LINUX-390@VM.MARIST.EDU
Subject: [LINUX-390] SuSE Versions

We are running several versions of SuSE on our IFL.  I am trying to make
a list of what we are running.  I went into each Instance and did a cat
/proc/version, but that shows me the kernel level.  How can I either
find the SuSE version, or equate that kernel level to a specific SuSE
version?  Management wants this list and they don't understand kernel
versions..lol

Also, how can I tell if it is 32-bit or 64-bit.

Thanks

--
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SuSE Versions

2008-01-31 Thread John Summerfield

Walters, Gene P wrote:

We are running several versions of SuSE on our IFL.  I am trying to make
a list of what we are running.  I went into each Instance and did a cat
/proc/version, but that shows me the kernel level.  How can I either
find the SuSE version, or equate that kernel level to a specific SuSE
version?  Management wants this list and they don't understand kernel
versions..lol


Running? or installed?

Note that I expect these commands to run, unaltered, on SLE.

For the latter:
09:30 [EMAIL PROTECTED] ~]$ rpm -qf /etc/*release
sl-release-5.0-4
09:31 [EMAIL PROTECTED] ~]$
This is Scientific Linux folks.

For kernel details, incantations of uname, maybe:

09:33 [EMAIL PROTECTED] ~]$ uname -m
i686
09:33 [EMAIL PROTECTED] ~]$

Okay, so this is not your Zed.

For a software inventory:
09:33 [EMAIL PROTECTED] ~]$ rpm -qa | head
comps-extras-11.1-1.1
atk-1.12.2-1.fc6
mktemp-1.5-23.2.2
bzip2-libs-1.0.3-3
tcp_wrappers-7.6-40.2.1
beecrypt-4.1.2-10.1.1
libIDL-0.8.7-1.fc6
liboil-0.3.8-2.1
cyrus-sasl-plain-2.1.22-4
checkpolicy-1.33.1-2.el5
09:34 [EMAIL PROTECTED] ~]$

There are more arguments, read the rpm docs for the whole scoop. Is this
interesting?
09:36 [EMAIL PROTECTED] ~]$ rpm -qa --qf
'trtd%{name}/tdtd%{arch}/td/tr\n' | head
trtdcomps-extras/tdtdnoarch/td/tr
trtdatk/tdtdi386/td/tr
trtdmktemp/tdtdi386/td/tr
trtdbzip2-libs/tdtdi386/td/tr
trtdtcp_wrappers/tdtdi386/td/tr
trtdbeecrypt/tdtdi386/td/tr
trtdlibIDL/tdtdi386/td/tr
trtdliboil/tdtdi386/td/tr
trtdcyrus-sasl-plain/tdtdi386/td/tr
trtdcheckpolicy/tdtdi386/td/tr
09:37 [EMAIL PROTECTED] ~]$

Want to know what fields you can get?
09:37 [EMAIL PROTECTED] ~]$ rpm -querytags | head
HEADERIMAGE
HEADERSIGNATURES
HEADERIMMUTABLE
HEADERREGIONS
HEADERI18NTABLE
SIGSIZE
SIGPGP
SIGMD5
PKGID
SIGGPG

Case doesn't matter.

Note, if it didn't come in an rpm this doesn't list it.




Also, how can I tell if it is 32-bit or 64-bit.

Thanks

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390