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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris commands that tell me what I have on my servers 3

Status
Not open for further replies.

salmon465

Technical User
Oct 21, 2003
11
US
I was wondering if someone could help me.
I am a novice Solaris user and I was looking for the Solaris commands that would provide me with the following.

Command that would tell me how much physical memory & disk I have on a server?

COmmand that would tell me what O/S and patches are installed on a server?

I just recieved (2) Loaner Servers from SUN and wanted to see what I have.

Thanks,
Salmon465
 
1a) 'prtconf | grep Memory'
1b) disk size can be worked out from 'format' or do you want to find out the disk usage in all slices?
'df -F ufs -k' will give you the usage in kilobytes of all locally mounted (ufs) slices.

2a) uname -a (uname -r gives revision, uname -s gives you 'SunOS' in solaris, uname -v gives you a very specific version number that makes sense to Sun :)
2b) showrev -p (it'll be a long list)
 
And
Code:
/usr/platform/`uname -i`/sbin/prtdiag
will show you other hardware info.

Greg.
 
If you want to see what packages are installed, run the command [tt]pkginfo[/tt].

Hope this helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top