Kbase 15492: How to find system information on Sun - sysinfo and dmesg
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to find system information on Sun - sysinfo and dmesg
This notebook entry describes two Sun commands that can be used to
get system information such as o.s. version, system configuration,
total disk space and memory on the system, etc.
1) dmesg
The output of dmesg looks like the following:
sun4$ dmesg
SunOS Release 4.1.3_U1 (TS-SUN4M.4.1.3_U1) #1: Fri Jun 24 16:17:57 EDT
1994
Copyright (c) 1983-1993, Sun Microsystems, Inc.
cpu = SUNW,SPARCclassic
mod0 = TI,TMS390S10 (mid = 0)
mem = 16072K (0xfb2000)
avail mem = 12042240
entering uniprocessor mode
Ethernet address = 8:0:20:20:f1:d0
espdma0 at SBus slot 4 0x8400000
esp0 at SBus slot 4 0x8800000 pri 4 (onboard)
sd0 at esp0 target 3 lun 0
sd0: <SUN0535 cyl 1866 alt 2 hd 7 sec 80>
audio0 at SBus slot 4 0x1300000 pri 13 (sbus level 7)
SUNW,bpp0 at SBus slot 4 0xc800000 pri 3 (sbus level 2)
ledma0 at SBus slot 4 0x8400010
le0 at SBus slot 4 0x8c00000 pri 6 (onboard)
cgthree0 at SBus slot 3 0x0 pri 9 (sbus level 5)
zs0 at SBus slot 4 0x1100000 pri 12 (onboard)
zs1 at SBus slot 4 0x1000000 pri 12 (onboard)
SUNW,fdtwo0 at SBus slot 4 0x1400000 pri 11 (onboard)
root on sd0a fstype 4.2
swap on sd0b fstype spec size 70000K
dump on sd0b fstype spec size 69988K
le0: Twisted Pair Ethernet
2) sysinfo
The sysinfo command is available on SunOS and may not be available
on Solaris. The output of sysinfo looks like the following:
sun4$ sysinfo
GENERAL INFORMATION
Host Name : sun4
Host Aliases :
Host Address(es) : 123.4.567.89
Host ID : 12345a8e
Serial Number : 12345678
Manufacturer : Sun (Sun Microsystems Incorporated)
System Model : 4/25 (SPARCstation ELC)
Main Memory : 16 MB
Virtual Memory : 51 MB
ROM Version : 2.9
CPU Type :
Number of CPUs :
App Architecture : sun4
Kernel Architecture : sun4c
OS Name : SunOS
OS Version : 4.1.3_U1
Kernel Version : SunOS Release 4.1.3_U1 (TS-SUN4C.4.1.3_U1) #1: T
hu May 19 14:22:24 EDT 1994
DEVICE INFORMATION
SUNW,Sun 4/25 is a "33 MHz SUNW,Sun 4/25" 33 MHz SUNW,Sun 4/25
openprom is a "Open Boot PROM" pseudo device
zs0 is a "Zilog 8530" serial communications chip
zs1 is a "Zilog 8530" serial communications chip
audio0 is a "AM79C30A DSC" telephone quality audio
sbus0 is a "SBus" system bus
dma0 is a "DMA Driver"
esp0 is a "Generic SCSI interface" disk controller
sd3 is a "BSCG2233" 223 MB disk drive
le0 is a "AMD Lance Am7990" 10Mb/sec Ethernet network interfac
bwtwo0 is a "Black & White memory (bwtwo)" frame buffer
kbd is a "Sun Type-5 Unix" Keyboard
Progress Software Technical Support Note # 15492