0% found this document useful (0 votes)
225 views

Using Package Manager On Solaris

Using Package Manager on Solaris summarizes: 1) How to add a package using pkgadd and provides an example. 2) How to check for packages using pkginfo. 3) How to remove a package using pkgrm. Diagnostic Command - (Sun Solaris) summarizes: 1) The prtdiag command can be used to obtain detailed system diagnostics. 2) Example output is provided showing system configuration, CPUs, I/O devices, memory configuration, USB devices, and environmental/hardware revision information. prtconf summarizes: 1) The prtconf command can be used to obtain detailed system information on a Sun Solaris system. 2

Uploaded by

api-3701740
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
225 views

Using Package Manager On Solaris

Using Package Manager on Solaris summarizes: 1) How to add a package using pkgadd and provides an example. 2) How to check for packages using pkginfo. 3) How to remove a package using pkgrm. Diagnostic Command - (Sun Solaris) summarizes: 1) The prtdiag command can be used to obtain detailed system diagnostics. 2) Example output is provided showing system configuration, CPUs, I/O devices, memory configuration, USB devices, and environmental/hardware revision information. prtconf summarizes: 1) The prtconf command can be used to obtain detailed system information on a Sun Solaris system. 2

Uploaded by

api-3701740
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

Using Package Manager on Solaris

by Jeff Hunter, Sr. Database Administrator

Adding a Package

# pkgadd -d samba-2.0.5-sol7-sparc-local
Checking for Packages
# pkginfo | grep -i samba
application SMCsamba samba
Removing a Package
# pkgrm SMCsamba

Diagnostic Command - (Sun Solaris)


by Jeff Hunter, Sr. Database Administrator

prtdiag

Use the following command to obtain detailed diagnostics information


about your system configuration:

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

System Configuration: Sun Microsystems sun4u Sun Blade 150


(UltraSPARC-IIe 650MHz)
System clock frequency: 93 MHZ
Memory size: 1.75GB

==================================== CPUs
====================================
E$ CPU CPU Temperature
CPU Freq Size Impl. Mask Die Ambient
--- -------- ---------- ------ ---- -------- --------
0 650 MHz 512KB US-IIe 3.3 56 C 29 C

================================= IO Devices
=================================
Bus Freq
Brd Type MHz Slot Name
Model
--- ---- ---- ----------
-------------------------------- ----------------------
0 pci 33 7 isa/dma-isadma (dma)
0 pci 33 7 isa/serial-su16550 (serial)
0 pci 33 7 isa/serial-su16550 (serial)
0 pci 33 8 sound-pci10b9,5451.10b9.5451.1
(+
0 pci 33 12 network-pci108e,1101.1
(network) SUNW,pci-eri
0 pci 33 12 firewire-pci108e,1102.1001
(fire+
0 pci 33 13 ide-pci10b9,5229.c3 (ide)
0 pci 33 19 SUNW,m64B (display)
ATY,RageXL

============================ Memory Configuration


============================
Segment Table:
-----------------------------------------------------------
------------
Base Address Size Interleave Factor Contains
-----------------------------------------------------------
------------
0x0 256MB 1 Label DIMM0
0x40000000 512MB 1 Label DIMM1
0x80000000 512MB 1 Label DIMM2
0xc0000000 512MB 1 Label DIMM3

=============================== usb Devices


===============================

Name Port#
------------ -----
device 4

=============================== device#4 Devices


===============================

Name Port#
------------ -----
keyboard mouse
============================ Environmental Status
============================
Fan Speeds:
----------------------------
Fan Device Speed
----------------------------
system 100%

================================ HW Revisions
================================
ASIC Revisions:
---------------
ebus: Rev 1

System PROM revisions:


----------------------
OBP 4.6.5 2002/06/03 16:49
POST 2.0.1 2001/08/23 17:13

prtconf

Use the following command to obtain detailed system information about


your Sun Solaris installation:
# /usr/sbin/prtconf

System Configuration: Sun Microsystems sun4u


Memory size: 1792 Megabytes
System Peripherals (Software Nodes):

SUNW,Sun-Blade-100
packages (driver not attached)
SUNW,builtin-drivers (driver not attached)
deblocker (driver not attached)
disk-label (driver not attached)
terminal-emulator (driver not attached)
obp-tftp (driver not attached)
dropins (driver not attached)
kbd-translator (driver not attached)
ufs-file-system (driver not attached)
chosen (driver not attached)
openprom (driver not attached)
client-services (driver not attached)
options, instance #0
aliases (driver not attached)
memory (driver not attached)
virtual-memory (driver not attached)
pci, instance #0
ebus, instance #1
flashprom (driver not attached)
eeprom (driver not attached)
idprom (driver not attached)
isa, instance #0
dma, instance #0
floppy, instance #0
parallel (driver not attached)
power, instance #0
serial, instance #0
serial, instance #1
network, instance #0
firewire, instance #0
usb (driver not attached)
pmu, instance #0
i2c, instance #0
temperature, instance #0
card-reader (driver not attached)
dimm (driver not attached)
dimm (driver not attached)
dimm (driver not attached)
dimm (driver not attached)
ppm, instance #0
beep, instance #0
fan-control, instance #0
sound (driver not attached)
ide, instance #0
disk (driver not attached)
cdrom (driver not attached)
dad, instance #0
dad, instance #1
sd, instance #0
pci (driver not attached)
SUNW,m64B, instance #0
SUNW,UltraSPARC-IIe, instance #0
pseudo, instance #0

You might also like