RHEL5 BASE AND ADVANCED PLATFORM CHECK
Scott Ruckh
sruckh at gemneye.org
Fri Oct 3 22:07:09 UTC 2008
This is what you said lingu
> Hi all,
>
> In earlier version of RHEL one could simply dump out
> /etc/redhat-release to determine if an install was WS, ES or AS. For
> example:
>
> cat /etc/redhat-release
> Red Hat Enterprise Linux ES release 3 (Taroon Update 4)
>
> cat /etc/redhat-release
> Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
>
>>From what I can find the distinction between AP and base Server has
> been lost for release 5 with both showing:
>
> cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 5 (Tikanga)
>
Besides cat /etc/issue, cat /proc/version, and what you have already done, one
command that is rarely mentioned is 'lsb_release -a'. It is not available
with every distro, and even in this specific case it did not give any better
results on a CentOS 5.2 server.
Unfortunately, that exhausts all of the methods I have ever used in the past,
and apparently I don't have a good answer for you.
More information about the redhat-list
mailing list