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
'<tr><td>%{name}</td><td>%{arch}</td></tr>\n' | head
<tr><td>comps-extras</td><td>noarch</td></tr>
<tr><td>atk</td><td>i386</td></tr>
<tr><td>mktemp</td><td>i386</td></tr>
<tr><td>bzip2-libs</td><td>i386</td></tr>
<tr><td>tcp_wrappers</td><td>i386</td></tr>
<tr><td>beecrypt</td><td>i386</td></tr>
<tr><td>libIDL</td><td>i386</td></tr>
<tr><td>liboil</td><td>i386</td></tr>
<tr><td>cyrus-sasl-plain</td><td>i386</td></tr>
<tr><td>checkpolicy</td><td>i386</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

Reply via email to