Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to chk version and memory? 3

Status
Not open for further replies.

RajD

Technical User
Aug 23, 2001
53
0
0
US
Hi friends,

I am totally new to solaris, so some basic queries.

1) How do I check the current version of solaris on my machine?

2) How do I check the available physical memory on my m/c?

Thanks

RajD
 
Try using uname -a
There are other specific parameters for memory and all.
Do a man uname and chechk your options.
 
You can check memory using prtconf|head -4.

Greg.
 
Hi NetBeast

When I checked
# uname -a

I got

"SunOS sunProd8 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-4 "

and when I did
# uname -X

I got
System = SunOS
Node = sunProd8
Release = 5.6
KernelID = Generic_105181-17
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

So which of these specify my solaris version? I am confussed.

RajD
 
Release: 5.6 is your version ...

Solaris 2.6 is the answer

SunOS 4 came before 'Solaris', but was a lot like Solaris, so when 'Solaris' cam out it was version 2 ... (don't ask me)

but really it is SunOS 5 ... so SunOS 5.6 is Solaris 2.6

when you get to SunOS 5.7 and SunOS 5.8 it gets harder :)

as for available memory ... Solaris uses all physical memory available to it ...

'swap -s' shows how much available memory is available, but you can't tell how much of this is virtual and how much is physical.
 
For the memory Checking you can use prtconf | grep Memory (M) Capital.
 
To check your memory type the command:

# prtconf | grep Mem

and to check your version:

# echo &quot;Solaris 'uname -r' &quot;

or

# uname -r
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top