Packages
1.) Install the gcc package
pkgadd -d gcc-3.4.6-sol10-sparc-local
2.) Check to see if gcc is installed on system
pkginfo SMCgcc /or/ pkginfo | grep gcc
3.) Remove the gcc package
pkgrm SMCgcc
4.) Check the installation of the gcc (SMCgcc) package
pkgchk SMCgcc
5.) Show revisions of packages on system
showrev -p
6.) Get expected file info and source package for a file
pkgchk -l -p /usr/sfw/bin/gcc
7.) Verify all packages (and les) on the system
pkgchk
8.)Display information about a package
pkgchk -l SMCgcc
9.) Display version information about an installed package
pkginfo -x SMCgcc
10.) List all patches on the system
showrev -p /or/ patchadd -p
11.) List patches applied to the SUNWckr package
pkgparam SUNWckr PATCHLIST
smpatch and updatemanager can be used to manage system patches.
Showing posts with label Solaris QuickSheet. Show all posts
Showing posts with label Solaris QuickSheet. Show all posts
Friday, February 13, 2009
Solaris QuickSheet - OBP
OBP
Compatibility note: This document is based upon Sparc Solaris 10
All the following commands are to be run from the OBP and not the OS. They are only valid on Sparc hardware that uses the openboot rmware. The eeprom command can be used from the OS to view or set openboot rmware variables.
1.) Show the value of the auto-boot? variable
printenv auto-boot?
2.) Set the system to not auto boot
setenv auto-boot? false
3.)Restore the system default for auto bootset-default auto-boot?
4.)Show the default boot device
printenv boot-device
5.)List the actual device path for the disk device alias
devalias disk
6.)List all openboot variables, current, and default values
printenv
7.)Show devices seen by openboot
show-devs
8.)Show help on all OBP commands
help
9.)Boot the system into single user mode from the CD ROM
boot cdrom -s
10.)Boot the system into single user mode using the default device
boot -s
11.)Reset the system
reset-all
Subscribe to:
Posts (Atom)