Solaris Basics


How to see RAM size ?

bash-3.00$ /usr/sbin/prtconf | head -3 |grep Mem
Memory size: 6144 Megabytes

Here 6G is the total memory.

How to see Hard Disk Size ?

#  iostat -E | grep Size
Size: 146.81GB <146810536448 bytes>
Size: 146.81GB <146810536448 bytes>
Size: 0.00GB <0 bytes>
Size: 146.81GB <146810536448 bytes>
Size: 146.81GB <146810536448 bytes>

Here are 4*146.81 size hard Disk.

What is top (unix) like command in Solaris ?

# prstat
  PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  2870 root     3880K 3600K cpu28   59    0   0:00:00 0.0% prstat/1
   362 daemon   2808K 2168K sleep   60  -20   0:00:00 0.0% nfs4cbd/2
   180 root     6728K 5936K sleep   59    0   0:00:49 0.0% picld/11
   154 root       12M 8624K sleep   59    0   0:00:24 0.0% nscd/34
   275 root     1768K 1024K sleep   59    0   0:00:00 0.0% efdaemon/1
   269 root     3352K 1968K sleep   59    0   0:00:00 0.0% cron/1
   133 root     6840K 3800K sleep   59    0   0:00:00 0.0% syseventd/15
   387 root     2992K 2240K sleep   59    0   0:00:00 0.0% ttymon/1
   162 daemon   5432K 4176K sleep   59    0   0:00:06 0.0% kcfd/6
   206 root     4008K 2968K sleep   59    0   0:00:09 0.0% devfsadm/7
Total: 46 processes, 212 lwps, load averages: 0.02, 0.02, 0.02

No comments:

Post a Comment