What Version of Weblogic Is It?

January 28, 2012

Ever wonder what version of weblogic is on your server? Here is how to find out.

————-

First, set the environment variables in $DOMAIN_HOME

Read the rest of this entry »


Commands To Show The Linux Version. Let the count the ways!

December 3, 2011

Commands To Show The Linux Version. Let the count the ways.

One thing about Unix and Linux, there are often many ways to do exactly the same thing. And many flags within in each command.  Here’s a quick list I came up with regarding the Linux version. One thing to remember is, there is a difference between the Linux kernel, and the Redhat version.

kernel:

uname -a
Linux black 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

uname -r
2.6.18-194.el5xen

rpm -qa | grep kernel

kernel-headers-2.6.18-194.el5
kernel-xen-devel-2.6.18-194.el5
kernel-xen-2.6.18-194.el5
kernel-debug-2.6.18-194.el5
kernel-2.6.18-194.el5

———–

Redhat Version or Release:

lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Release: 5.5
Codename: Carthage

osinfo
OperatingSystem Information
Host: black.testrac.com
Name: Enterprise Linux Enterprise Linux Server
( 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 EDT 2010 )
Version: 2.6.18-194.el5xen
UserLicense: Unlimited user license
Number of Users: 3 users
Number of Processes: 231 processes
OSCapability: 64 bit
LastBootTime: Nov 29, 2011 18:15:53 (-0600)
LocalDateTime: Nov 29, 2011 19:39:01 (-0600)
SystemUpTime: 4987 seconds = 1 hr, 23 mins, 7 secs

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

cat /etc/enterprise-release
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)

cat /etc/issue
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel \r on an \m

cat /proc/version
Linux version 2.6.18-194.el5xen (mockbuild@ca-build10.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Mon Mar 29 22:22:00 EDT 2010

———–

What have I missed? How many more ways are there?