Which version of Solaris?
To learn which Solaris OS you're running, type this command:
To learn which Solaris OS you're running, type this command:
$ cat /etc/release
Solaris 8 2/02
s28s_u7wos_08a SPARC
Copyright 2002 Sun Microsystems,
Inc. All Rights Reserved.
Assembled 18
December 2001
|
So, this way there’s no doubt:
this is a Solaris 8.
The uname command can give the
same information, but with a different format:
$ uname -a
SunOS hostanme 5.8 Generic_117350-41
sun4u sparc SUNW,Ultra-60
|
To “translate” this, you need
to know that SunOS is the kernel and that Solaris is the whole operating
system.
In the examples above, you can
see that Solaris 8 is built on top of SunOS 5.8 kernel.
Which OS architecture type: 32-bit or 64-bit?
To find out if you have a 32-bit or 64-bit OS, use this command:
To find out if you have a 32-bit or 64-bit OS, use this command:
$ isainfo -kv
64-bit sparcv9
kernel modules
|
Which hardware?
The prtdiag command will give almost all the hardware information you
need for a quick overview:
$ prtdiag -v
System
Configuration: Sun Microsystems sun4u Sun Enterprise 220R (UltraSPARC-II 450MHz)
System
clock frequency: 113 MHz
Memory size: 2048 Megabytes
=========================
CPUs
=========================
Run Ecache
CPU CPU
Brd CPU
Module MHz MB
Impl. Mask
--- ---
------- ----- ------
------ ----
0
0 0 450
4.0 US-II 10.0
=========================
IO Cards =========================
Bus
Freq
Brd Type
MHz Slot Name Model
--- ----
---- ---------- ---------------------------- --------------------
0
PCI 33 On-Board
network-SUNW,hme
0
PCI 33 On-Board
scsi-glm/disk (block)
Symbios,53C875
0
PCI 33 On-Board
scsi-glm/disk (block)
Symbios,53C875
No
failures found in System
===========================
=========================
HW Revisions =========================
ASIC
Revisions:
---------------
PCI: pci
Rev 4
PCI: pci
Rev 4
Cheerio:
ebus Rev 1
System
PROM revisions:
----------------------
OBP 3.23.1 1999/07/16 12:08 POST 2.0.2 1998/10/19 10:46
|
For RAM info, check the
contents of meminfo file:
$ cat /proc/meminfo
MemTotal: 3866476 kB
MemFree: 394056 kB
Buffers: 222236 kB
Cached: 1146980 kB
SwapCached: 202056 kB
Active: 2897996 kB
Inactive: 334572 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 3866476 kB
LowFree: 394056 kB
SwapTotal: 2064376 kB
SwapFree: 1747252 kB
Dirty: 80 kB
Writeback: 0 kB
AnonPages: 1848948 kB
Mapped: 22968 kB
Slab: 211028 kB
PageTables: 10652 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3997612 kB
Committed_AS: 2449840 kB
VmallocTotal:
34359738367 kB
VmallocUsed: 2164 kB
VmallocChunk:
34359735687 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
|
For filesystems info, use the df command:
$ df -k
Filesystem kbytes
used avail capacity Mounted on
/dev/md/dsk/d10 3096423 2663020 371475
88% /
/proc 0 0
0 0% /proc
mnttab 0 0
0 0% /etc/mnttab
fd 0 0
0 0% /dev/fd
/dev/md/dsk/d30 5040814 3294088 1696318 67%
/var
swap 1273528 32 1273496 1%
/var/run
swap 1298976 25480 1273496 2%
/tmp
/dev/md/dsk/d40 8065025 7240047 744328
91% /opt
/dev/md/dsk/d50 16735338 14392111 2175874 87%
/export
|
If you’re still not satisfied
with the information provide, you can also use additional commands. For
example:
The top command:
$ top
load
averages: 1.52, 1.25,
1.23
11:57:32
94
processes: 92 sleeping, 1 running, 1
on cpu
CPU
states: 0.0% idle, 99.4% user, 0.6% kernel, 0.0% iowait, 0.0% swap
Memory: 2048M real,
819M free, 2271M swap
in use, 1245M swap free
PID USERNAME LWP PRI NICE SIZE
RES STATE TIME CPU COMMAND
10611 wlvision 208 0
10 622M 169M run
3136.7 76.15% java
27502 root 17
58 0 29M
11M sleep 28:18 0.80% opcmona
27458 root 13
59 0 13M 6752K sleep 22:17
0.77% ovbbccb
27461 root 11
59 0 45M
10M sleep 22:02 0.48% coda
28966 wlintra
58 28 10
209M 68M sleep 39.5H
0.21% java
16985 webservd 1
48 0 1864K 1160K cpu 0:00
0.19% top
3774 root 24
52 0 98M 18M sleep
102.5H 0.13% java
9112 wlintra
112 29 10
435M 149M sleep 38.9H
0.13% java
29804 root 12
50 0 8600K 6040K sleep 127:03
0.07% nscd
7004 wlvision 22
28 10 61M
10M sleep 183:56 0.05% rmid
15748 webservd 1
58 0 6776K 2320K sleep 0:00
0.05% sshd
7003 wlvision 15
28 10 61M 8216K sleep 126:31
0.05% rmiregistry
27462 root 13
59 0 22M 8552K sleep 4:42
0.03% opcmsga
12877 wluser 55
28 10 192M
56M sleep 856:25 0.00% java
10366 wlvision 69
28 10 306M
117M sleep 622:01 0.00% java
|
No comments:
Post a Comment