SunOsUnix info

From SybaseWiki
Jump to: navigation, search

Here are some commands and other useful information to get around on SunOs (Solaris) systems.

System Information

With the following commands and files you can get some idea about the system.

  • Retrieve the current version of SunOs
uname -a

Sample output

SunOS snlpsaaj 5.8 Generic_117350-38 sun4u sparc SUNW,Sun-Fire-15000
  • View the system parameters

System parameters like settings for shared memory can be found here:


Snapshot of the content

set shmsys:shminfo_shmmax=51539607551
set shmsys:shminfo_shmseg=6
  • View hardware configuration

Use this command to see the number of CPU's, I/O cards and memory.

/usr/platform/`uname -i`/sbin/prtdiag -v

The output is quite long, no sample provided here.

  • System log file

Process Information

Use the following commands to see the behaviour of the processes.

  • Process list
ps -ef
  • Process list but continuously updated


  • History
  • Memory activity

Is there any paging/swapping going on?

vmstat 3
  • Cpu activity
mpstat 3