Memory of box

I have certain questions.

1) How can i see the memory of the unix box.

2) How can i see the size of the database on the box

3)can anyone suggest an article or tutorial that explains the concept of
file systems and mount point in UNIX.

4)How can i see the dblink on the server

I do not have much experience on UNIX.I am currently working on servers that have solaris 7 on them.

any help will be much appreciated

  1. Running:
/usr/platform/`arch -k`/sbin/prtdiag -v

Will report much memory is installed on your system.

  1. I will leave a dba to answer that one (I am thinking how you define what the size of a database is, its space in memory, the size of all the data and index files?)

  2. The man pages for mount, mount_ufs, mount_nfs, etc. will help as will this faq.

  3. I will leave a dba to answer this one ?

Thanks . that was of great help . But i when i run that command the output is not found.
also i do not have prtdiag and platform as directories.

Can you please clarify more on that?

Thanks in advance.

 prtconf | grep Mem    : to find out memory
prtconf -pv | grep banner      : system model
psrinfo -pv                          :processor info

thanks

these command are not working on my version of solaris

my version of solaris is 5.6

Check your path. These commands do work on Solaris 2.6. Here is output from my 2.6 box.

$ uname -a
SunOS server1 5.6 Generic_105181-30 sun4u sparc SUNW,Ultra-80
$ /usr/sbin/prtconf | grep Mem
Memory size: 2048 Megabytes

$ psrinfo -v 
Status of processor 0 as of: 08/25/09 13:56:32
  Processor has been on-line since 04/28/09 22:49:55.
  The sparc processor operates at 450 MHz,
        and has a sparc floating point processor.
Status of processor 1 as of: 08/25/09 13:56:32
  Processor has been on-line since 04/28/09 22:49:56.
  The sparc processor operates at 450 MHz,
        and has a sparc floating point processor.
Status of processor 2 as of: 08/25/09 13:56:32
  Processor has been on-line since 04/28/09 22:49:56.
  The sparc processor operates at 450 MHz,
        and has a sparc floating point processor.
Status of processor 3 as of: 08/25/09 13:56:32
  Processor has been on-line since 04/28/09 22:49:56.
  The sparc processor operates at 450 MHz,
        and has a sparc floating point processor.

$ prtconf -pv | grep banner
    banner-name:  'Sun Enterprise 420R (4 X UltraSPARC-II 450MHz)'
        banner-name:  'Sun Enterprise 420R'
        oem-banner:  
        oem-banner?:  'false'