[ Team LiB ] Previous Section Next Section

Displaying System-Specific Information

Use the commands in this section to find system-specific information such as the host ID number, hardware type, processor type, OS release level, system configuration, length of time the system has been up, and system date and time. The following sections also describe how to set the system date and time and change the time zone for a system.

Determining the Host ID Number (sysdef -h, hostid)

To find a system's host ID number, type sysdef -h and press Return. The host ID for the system is displayed.


mopoke% sysdef -h
*
* Hostid
*
  8304b666
mopoke%

graphics/new.gif

You can also display the host ID number with the hostid command.


mopoke% hostid
8304b666
mopoke%



Determining the Hardware Type (uname -m)

To find the hardware type of a system, type uname -m and press Return. The hardware type (architecture) for the system is displayed.


oak% uname -m
sun4u
oak%

graphics/new.gif

NOTE. The Solaris 9 uname manual page discourages use of the -m option. Instead, Sun recommends the -p option. See below for an example of the output of the -p option.


Determining the Processor Type (uname -p)

To find the processor type for a system, type uname -p and press Return. The processor type for the system is displayed.


mopoke% uname -p
sparc
mopoke%



Determining the OS Release (uname -r)

To find the OS release level for a system, type uname -r and press Return. The OS (kernel) release is displayed.


oak% uname -r
5.8
oak%



Displaying System Configuration Information (prtconf)

To display the configuration information for a system, type prtconf and press Return. The system configuration information is displayed.

graphics/new.gif

mopoke% prtconf
System Configuration:  Sun Microsystems sun4u
Memory size: 128 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, instance #0
            storage, instance #1
                disk, instance #2
            keyboard, instance #2
            mouse, instance #1
        pmu, instance #0
            i2c, instance #0
                temperature, instance #0
                card-reader (driver not attached)
                dimm (driver not attached)
            ppm, instance #1
            beep, instance #1
            fan-control, instance #1
        sound (driver not attached)
        ide, instance #0
            disk (driver not attached)
            cdrom (driver not attached)
            dad, instance #0
            sd, instance #0
        SUNW,m64B, instance #0
        pci (driver not attached)
    SUNW,UltraSPARC-IIe, instance #0
    os-io (driver not attached)
    pseudo, instance #0
mopoke%

An alternative way to display system configuration information and show the state of tunable parameters is to type sysdef and press Return. System configuration information is displayed. The complete output shown in the following example shows the level of detail you can access about a system's configuration.

graphics/new.gif

mopoke% sysdef
*
* Hostid
*
  8304b666
*
* sun4u Configuration
*
*
* Devices
*
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, instance #0
                storage, instance #1
                        disk, instance #2
                keyboard, instance #2
                mouse, instance #1
        pmu, instance #0
                i2c, instance #0
                        temperature, instance #0
                        card-reader (driver not attached)
                        dimm (driver not attached)
                ppm, instance #1
                beep, instance #1
                fan-control, instance #1
        sound (driver not attached)
        ide, instance #0
                disk (driver not attached)
                cdrom (driver not attached)
                dad, instance #0
                sd, instance #0
        SUNW,m64B, instance #0
        pci (driver not attached)
SUNW,UltraSPARC-IIe, instance #0
os-io (driver not attached)
pseudo, instance #0
        clone, instance #0
        ip, instance #0
        ip6, instance #0
        tcp, instance #0
        tcp6, instance #0
        udp, instance #0
        udp6, instance #0
        icmp, instance #0
        icmp6, instance #0
        sad, instance #0
        conskbd, instance #0
        wc, instance #0
        consms, instance #0
        iwscn, instance #0
        ptsl, instance #0
        rts, instance #0
        tl, instance #0
        keysock, instance #0
        spdsock, instance #0
        sysmsg, instance #0
        cn, instance #0
        mm, instance #0
        kstat, instance #0
        pm, instance #0
        atmmb, instance #0
        q93b, instance #0
        laner, instance #0
        skip_key, instance #0
        screen_skip, instance #0
        log, instance #0
        vol, instance #0
        sy, instance #0
        random, instance #0
        ptm, instance #0
        pts, instance #0
        devinfo, instance #0
        ksyms, instance #0
*
* Loadable Objects
*
* Loadable Object Path = /platform/SUNW,Sun-Blade-100/kernel
*
drv/sparcv9/grppm
drv/sparcv9/pmubus
drv/sparcv9/grfans
drv/sparcv9/grbeep
misc/sparcv9/platmod
*
* Loadable Object Path = /platform/sun4u/kernel
*
tod/todstarfire
tod/todmostek
tod/sparcv9/todmostek
tod/sparcv9/todsg
tod/sparcv9/todstarcat
tod/sparcv9/todstarfire
tod/sparcv9/todds1287
tod/sparcv9/todm5819
genunix
unix
cpu/SUNW,UltraSPARC-III
cpu/SUNW,UltraSPARC-III+
cpu/SUNW,UltraSPARC-II
cpu/SUNW,UltraSPARC-IIi
cpu/SUNW,UltraSPARC-IIe
cpu/SUNW,UltraSPARC
cpu/sparcv9/SUNW,UltraSPARC-II
cpu/sparcv9/SUNW,UltraSPARC-IIi
cpu/sparcv9/SUNW,UltraSPARC-III+
cpu/sparcv9/SUNW,UltraSPARC-IIe
cpu/sparcv9/SUNW,UltraSPARC-III
cpu/sparcv9/SUNW,UltraSPARC
dacf/consconfig_dacf
dacf/sparcv9/consconfig_dacf
drv/dma
drv/ebus
drv/fd
drv/ledma
drv/pci_pci
drv/pcipsy
drv/power
drv/rootnex
drv/sbbc
drv/sbus
drv/sbusmem
drv/simba
drv/stc
drv/su
drv/trapstat
drv/zs
drv/zsh
drv/sf
drv/i2c
drv/db21554
drv/m64
drv/gfxp
drv/afb
drv/ce
drv/cgsix
drv/tod
drv/bwtwo
drv/cgthree
drv/ffb
drv/gfb
drv/ifb
drv/igs
drv/cpc
        hard link:  sys/cpc
drv/i2cadc
drv/i2cgpio
drv/Neide
drv/atata
drv/ata
drv/disk_ata
drv/cmdk
drv/eide
drv/i8042
drv/kb_ps2
drv/kdmouse
drv/consbus
drv/echip
drv/gchip
drv/scman
drv/lom
drv/lomp
drv/sparcv9/ifb
drv/sparcv9/dma
drv/sparcv9/ebus
drv/sparcv9/fd
drv/sparcv9/gpio_87317
drv/sparcv9/isadma
drv/sparcv9/ledma
drv/sparcv9/lm75
drv/sparcv9/ltc1427
drv/sparcv9/max1617
drv/sparcv9/mc-us3
drv/sparcv9/pcf8574
drv/sparcv9/pcf8584
drv/sparcv9/pcf8591
drv/sparcv9/pci_pci
drv/sparcv9/pcipsy
drv/sparcv9/pcisch
drv/sparcv9/pmc
drv/sparcv9/power
drv/sparcv9/sbbc
drv/sparcv9/sbus
drv/sparcv9/sbusmem
drv/sparcv9/schppm
drv/sparcv9/seeprom
drv/sparcv9/simba
drv/sparcv9/smbus
drv/sparcv9/smbus_ara
drv/sparcv9/ssc050
drv/sparcv9/ssc100
drv/sparcv9/stc
drv/sparcv9/su
drv/sparcv9/tda8444
drv/sparcv9/trapstat
drv/sparcv9/upa64s
drv/sparcv9/i2c
drv/sparcv9/ce
drv/sparcv9/ffb
drv/sparcv9/i2cadc
drv/sparcv9/scmi2c
drv/sparcv9/db21554
drv/sparcv9/sf
drv/sparcv9/bbc_beep
drv/sparcv9/i2cgpio
drv/sparcv9/disk_ata
drv/sparcv9/tod
drv/sparcv9/fcode
drv/sparcv9/Neide
drv/sparcv9/atata
drv/sparcv9/igs
drv/sparcv9/i8042
drv/sparcv9/kb_ps2
drv/sparcv9/kdmouse
drv/sparcv9/gfb
drv/sparcv9/us
drv/sparcv9/m64
drv/sparcv9/rootnex
drv/sparcv9/zs
drv/sparcv9/gfxp
drv/sparcv9/zsh
drv/sparcv9/afb
drv/sparcv9/cgsix
drv/sparcv9/wrsmd
drv/sparcv9/cpc
        hard link:  sys/sparcv9/cpc
drv/sparcv9/consbus
drv/sparcv9/echip
drv/sparcv9/gchip
drv/sparcv9/scman
drv/sparcv9/uflash
drv/sparcv9/lom
drv/sparcv9/lomp
drv/sparcv9/lomv
misc/consconfig
misc/forthdebug
misc/md5
misc/obpsym
misc/pcmcia
misc/platmod
misc/vis
misc/dadk
misc/gda
misc/snlb
misc/strategy
misc/bootdev
misc/cpr
misc/sparcv9/forthdebug
misc/sparcv9/i2c_svc
misc/sparcv9/md5
misc/sparcv9/obpsym
misc/sparcv9/pcmcia
misc/sparcv9/platmod
misc/sparcv9/sbd
misc/sparcv9/vis
misc/sparcv9/fcpci
misc/sparcv9/gptwo_cpu
misc/sparcv9/consconfig
misc/sparcv9/fcodem
misc/sparcv9/gptwocfg
misc/sparcv9/pcicfg.e
misc/sparcv9/bootdev
misc/sparcv9/cpr
misc/kgss/sparcv9/gl_kmech_krb5
sparcv9/genunix
sparcv9/unix
strmod/kbsm_ps2
strmod/vuidps2
strmod/kb
misc/kgss/gl_kmech_krb5
strmod/sparcv9/kbsm_ps2
strmod/sparcv9/vuidps2
strmod/sparcv9/kb
*
* Loadable Object Path = /kernel
*
ipp/dlcosmk
ipp/ipgpc
ipp/dscpmk
ipp/flowacct
ipp/tokenmt
ipp/tswtclmt
ipp/sparcv9/dlcosmk
ipp/sparcv9/ipgpc
ipp/sparcv9/dscpmk
ipp/sparcv9/flowacct
ipp/sparcv9/tokenmt
ipp/sparcv9/tswtclmt
genunix
drv/md
drv/bpp
drv/clone
drv/cn
drv/conskbd
drv/consms
drv/dad
drv/devinfo
drv/esp
drv/icmp
        hard link:  strmod/icmp
drv/pcic
drv/icmp6
        hard link:  strmod/icmp6
drv/ip
        hard link:  strmod/ip
drv/pcs
drv/ip6
        hard link:  strmod/ip6
drv/pem
drv/ippctl
drv/ipsecesp
        hard link:  strmod/ipsecesp
drv/stp4020
drv/isp
drv/iwscn
drv/keysock
        hard link:  strmod/keysock
drv/le
drv/lebuffer
drv/llc1
drv/lofi
drv/log
drv/mm
drv/openeepr
drv/options
drv/poll
drv/pseudo
drv/ptc
drv/ptsl
drv/random
drv/rts
        hard link:  strmod/rts
drv/pcelx
drv/sad
        hard link:  strmod/sad
drv/pcmem
drv/sd
drv/sgen
drv/spdsock
drv/st
drv/sy
drv/sysmsg
drv/tcp
        hard link:  strmod/tcp
drv/pcram
drv/tcp6
        hard link:  strmod/tcp6
drv/pcser
drv/tl
drv/uata
drv/udp
        hard link:  strmod/udp
drv/ecpp
drv/udp6
        hard link:  strmod/udp6
drv/wc
drv/xbox
drv/glm
drv/soc
drv/ssd
drv/se
drv/pcata
drv/qlc
drv/ses
drv/fcp
drv/ge
drv/fas
drv/qfe
drv/ifp
drv/fp
drv/arp
        hard link:  strmod/arp
drv/ipsecah
        hard link:  strmod/ipsecah
drv/pln
drv/audioens
drv/dbri
drv/rtvc
drv/hubd
drv/hid
drv/ohci
drv/scsa2usb
drv/usb_ac
drv/usb_as
drv/usb_mid
drv/usbprn
drv/usoc
drv/hme
drv/scsi_vhci
drv/audiocs
drv/fcip
drv/socal
drv/bofi
drv/nca
drv/skip_key
drv/screen
drv/aar
drv/atmip
drv/atmmb
drv/ba
drv/lane
drv/laner
drv/q93b
drv/qcc
drv/pf
drv/nf
drv/smt
drv/HSIP
drv/HSI
drv/tsalarm
drv/sparcv9/hubd
drv/sparcv9/cn
drv/sparcv9/conskbd
drv/sparcv9/consms
drv/sparcv9/dad
drv/sparcv9/devinfo
drv/sparcv9/esp
drv/sparcv9/icmp
        hard link:  strmod/sparcv9/icmp
drv/sparcv9/hid
drv/sparcv9/ohci
drv/sparcv9/scsa2usb
drv/sparcv9/usb_ac
drv/sparcv9/usb_as
drv/sparcv9/usb_mid
drv/sparcv9/iwscn
drv/sparcv9/keysock
        hard link:  strmod/sparcv9/keysock
drv/sparcv9/usbprn
drv/sparcv9/lebuffer
drv/sparcv9/llc1
drv/sparcv9/lofi
drv/sparcv9/log
drv/sparcv9/mm
drv/sparcv9/openeepr
drv/sparcv9/options
drv/sparcv9/poll
drv/sparcv9/pseudo
drv/sparcv9/ptc
drv/sparcv9/ptsl
drv/sparcv9/random
drv/sparcv9/rts
        hard link:  strmod/sparcv9/rts
drv/sparcv9/pcs
drv/sparcv9/pem
drv/sparcv9/usoc
drv/sparcv9/sgen
drv/sparcv9/spdsock
drv/sparcv9/st
drv/sparcv9/sysmsg
drv/sparcv9/tcp
        hard link:  strmod/sparcv9/tcp
drv/sparcv9/eri
drv/sparcv9/fcip
drv/sparcv9/ttymux
drv/sparcv9/uata
drv/sparcv9/fcp
drv/sparcv9/dcam1394
drv/sparcv9/ge
drv/sparcv9/fas
drv/sparcv9/hme
drv/sparcv9/stp4020
drv/sparcv9/pcmem
drv/sparcv9/hci1394
drv/sparcv9/pcelx
drv/sparcv9/pcic
drv/sparcv9/pln
drv/sparcv9/ssd
drv/sparcv9/audiocs
drv/sparcv9/audioens
drv/sparcv9/soc
drv/sparcv9/pcram
drv/sparcv9/pcser
drv/sparcv9/ecpp
drv/sparcv9/glm
drv/sparcv9/se
drv/sparcv9/pcata
drv/sparcv9/ses
drv/sparcv9/ifp
drv/sparcv9/socal
drv/sparcv9/scsi_vhci
drv/sparcv9/md
drv/sparcv9/fp
drv/sparcv9/qlc
drv/sparcv9/audiots
drv/sparcv9/dbri
drv/sparcv9/arp
        hard link:  strmod/sparcv9/arp
drv/sparcv9/clone
drv/sparcv9/sy
drv/sparcv9/udp
        hard link:  strmod/sparcv9/udp
drv/sparcv9/rtvc
drv/sparcv9/qfe
drv/sparcv9/bpp
drv/sparcv9/icmp6
        hard link:  strmod/sparcv9/icmp6
drv/sparcv9/ip
        hard link:  strmod/sparcv9/ip
drv/sparcv9/ip6
        hard link:  strmod/sparcv9/ip6
drv/sparcv9/ippctl
drv/sparcv9/ipsecah
        hard link:  strmod/sparcv9/ipsecah
drv/sparcv9/ipsecesp
        hard link:  strmod/sparcv9/ipsecesp
drv/sparcv9/bofi
drv/sparcv9/isp
drv/sparcv9/le
drv/sparcv9/sad
        hard link:  strmod/sparcv9/sad
drv/sparcv9/sd
drv/sparcv9/tcp6
        hard link:  strmod/sparcv9/tcp6
drv/sparcv9/tl
drv/sparcv9/udp6
        hard link:  strmod/sparcv9/udp6
drv/sparcv9/wc
drv/sparcv9/nca
drv/sparcv9/skip_key
drv/sparcv9/screen
drv/sparcv9/aar
drv/sparcv9/atmip
drv/sparcv9/atmmb
drv/sparcv9/ba
drv/sparcv9/lane
drv/sparcv9/laner
drv/sparcv9/q93b
drv/sparcv9/qcc
drv/sparcv9/pf
drv/sparcv9/nf
drv/sparcv9/smt
drv/sparcv9/HSIP
drv/sparcv9/HSI
drv/sparcv9/tsalarm
exec/elfexec
exec/intpexec
exec/aoutexec
exec/sparcv9/intpexec
exec/sparcv9/aoutexec
exec/sparcv9/elfexec
fs/autofs
fs/fifofs
fs/hsfs
fs/lofs
fs/mntfs
fs/procfs
fs/sockfs
fs/specfs
fs/tmpfs
fs/ufs
fs/udfs
misc/kgss/gl_kmech_krb5
fs/cachefs
fs/nfs
        hard link:  sys/nfs
fs/sparcv9/fifofs
fs/sparcv9/hsfs
fs/sparcv9/lofs
fs/sparcv9/mntfs
fs/sparcv9/procfs
fs/sparcv9/sockfs
fs/sparcv9/specfs
fs/sparcv9/tmpfs
fs/sparcv9/ufs
fs/sparcv9/autofs
fs/sparcv9/udfs
fs/sparcv9/cachefs
fs/sparcv9/nfs
        hard link:  sys/sparcv9/nfs
misc/consconfig
misc/dada
misc/des
misc/fssnap_if
misc/gld
misc/hpcsvc
misc/ipc
misc/krtld
misc/md5
misc/pcicfg
misc/pcihp
misc/rpcsec
misc/scsi
misc/seg_drv
misc/seg_mapdev
misc/sha1
misc/strplumb
misc/swapgeneric
misc/tlimod
misc/ufs_log
misc/md_hotspares
misc/md_mirror
misc/audiosup
misc/rpcsec_gss
misc/klmops
misc/amsrc1
misc/nfs_dlboot
misc/md_notify
misc/md_raid
misc/md_sp
misc/md_stripe
misc/diaudio
misc/md_trans
misc/klmmod
misc/kgssapi
misc/mixer
misc/busra
misc/hidparser
misc/fctl
misc/kbtrans
misc/usba
misc/nfssrv
misc/rsmops
misc/vlan
misc/mpxio
misc/phx
misc/sparcv9/dada
misc/sparcv9/des
misc/sparcv9/fssnap_if
misc/sparcv9/gld
misc/sparcv9/hpcsvc
misc/sparcv9/ipc
misc/sparcv9/krtld
misc/sparcv9/md5
misc/sparcv9/pcicfg
misc/sparcv9/pcihp
misc/sparcv9/rpcsec
misc/sparcv9/scsi
misc/sparcv9/seg_drv
misc/sparcv9/seg_mapdev
misc/sparcv9/sha1
misc/sparcv9/strplumb
misc/sparcv9/tlimod
misc/sparcv9/ufs_log
misc/sparcv9/hidparser
misc/sparcv9/klmops
misc/sparcv9/nfs_dlboot
misc/sparcv9/nfssrv
misc/sparcv9/rpcsec_gss
misc/sparcv9/s1394
misc/sparcv9/audiosup
misc/sparcv9/diaudio
misc/sparcv9/mixer
misc/sparcv9/consconfig
misc/sparcv9/kgssapi
misc/sparcv9/mpxio
misc/sparcv9/phx
misc/sparcv9/fctl
misc/sparcv9/busra
misc/sparcv9/swapgeneric
misc/sparcv9/kbtrans
misc/sparcv9/amsrc1
misc/sparcv9/usba
misc/sparcv9/md_hotspares
misc/sparcv9/md_mirror
misc/sparcv9/md_notify
misc/sparcv9/md_raid
misc/sparcv9/md_sp
misc/sparcv9/md_stripe
misc/sparcv9/md_trans
misc/sparcv9/klmmod
misc/sparcv9/rsmops
misc/sparcv9/vlan
sched/TS_DPTBL
sched/TS
sched/sparcv9/TS_DPTBL
sched/sparcv9/TS
strmod/authmd5h
strmod/authsha1
strmod/bufmod
strmod/connld
strmod/dedump
strmod/encr3des
strmod/encrdes
strmod/ldterm
strmod/pckt
strmod/pfmod
strmod/pipemod
strmod/ptem
strmod/redirmod
strmod/rpcmod
        hard link:  sys/rpcmod
strmod/atun
strmod/ttcompat
strmod/tun
strmod/ms
strmod/timod
strmod/tirdwr
strmod/hwc
strmod/usbms
strmod/usb_ah
strmod/usbkbm
strmod/bd
strmod/efs
strmod/spf
strmod/sscop
strmod/sparcv9/authsha1
strmod/sparcv9/bufmod
strmod/sparcv9/connld
strmod/sparcv9/dedump
strmod/sparcv9/encr3des
strmod/sparcv9/encrdes
strmod/sparcv9/pckt
strmod/sparcv9/pfmod
strmod/sparcv9/pipemod
strmod/sparcv9/ptem
strmod/sparcv9/redirmod
strmod/sparcv9/rpcmod
        hard link:  sys/sparcv9/rpcmod
strmod/sparcv9/usb_ah
strmod/sparcv9/usbms
strmod/sparcv9/ttcompat
strmod/sparcv9/tun
strmod/sparcv9/usbkbm
strmod/sparcv9/hwc
strmod/sparcv9/atun
strmod/sparcv9/authmd5h
strmod/sparcv9/ldterm
strmod/sparcv9/ms
strmod/sparcv9/timod
strmod/sparcv9/tirdwr
misc/kgss/sparcv9/gl_kmech_krb5
strmod/sparcv9/bd
strmod/sparcv9/efs
strmod/sparcv9/spf
strmod/sparcv9/sscop
sys/doorfs
sys/inst_sync
sys/kaio
sys/msgsys
sys/pipe
sys/pset
sys/semsys
sys/shmsys
sys/c2audit
sys/sparcv9/inst_sync
sys/sparcv9/kaio
sys/sparcv9/msgsys
sys/sparcv9/pipe
sys/sparcv9/pset
sys/sparcv9/semsys
sys/sparcv9/shmsys
sys/sparcv9/c2audit
sys/sparcv9/doorfs
*
* Loadable Object Path = /usr/kernel
*
exec/sparcv9/javaexec
fs/sparcv9/fdfs
fs/sparcv9/namefs
fs/sparcv9/pcfs
sched/sparcv9/RT_DPTBL
sched/sparcv9/FX
sched/sparcv9/FX_DPTBL
sched/sparcv9/IA
sched/sparcv9/RT
sched/sparcv9/FSS
sys/sparcv9/sysacct
sys/sparcv9/acctctl
sys/sparcv9/exacctsys
misc/bsafe2_kern_lib
misc/skip_bdc_rc2_cbc
misc/skip_bdc_rc4
misc/skip_bdc_rc4_128
misc/skip_fast_des_cbc
misc/skip_des_ede_k3
misc/skip_safer_128sk_cbc
misc/screen_dns
misc/screen_fail
misc/screen_ftp
misc/screen_ip
misc/screen_nfsro
misc/screen_normal
misc/screen_ping
misc/screen_pmap
misc/screen_raudio
misc/screen_rsh
misc/screen_sqlnet
misc/screen_stateless
misc/screen_tcp
misc/screen_ts7
misc/screen_ts8
misc/screen_udp
drv/sparcv9/sppp
drv/sparcv9/sppptun
        hard link:  strmod/sparcv9/sppptun
drv/sparcv9/dump
drv/sparcv9/fssnap
drv/sparcv9/kstat
drv/sparcv9/ksyms
drv/sparcv9/lockstat
drv/sparcv9/logindmux
drv/sparcv9/ptm
drv/sparcv9/pts
drv/sparcv9/pm
drv/sparcv9/tnf
drv/sparcv9/vol
drv/sparcv9/winlock
drv/sparcv9/llc2
drv/sparcv9/rsm
drv/sparcv9/screen_ipsec
drv/sparcv9/screen_skip
strmod/sparcv9/telmod
strmod/sparcv9/u8lat2
strmod/sparcv9/spppcomp
strmod/sparcv9/u8lat1
strmod/sparcv9/u8koi8
strmod/sparcv9/rlmod
strmod/sparcv9/spppasyn
drv/dump
drv/fssnap
drv/kstat
drv/ksyms
drv/lockstat
drv/logindmux
drv/ptm
drv/pts
drv/winlock
drv/pm
drv/vol
drv/sppptun
        hard link:  strmod/sppptun
drv/rsm
drv/tnf
drv/llc2
drv/sppp
drv/screen_ipsec
drv/screen_skip
exec/javaexec
fs/fdfs
fs/namefs
fs/pcfs
sched/FX
sched/FX_DPTBL
sched/IA
sched/RT
sched/RT_DPTBL
sched/FSS
strmod/spppcomp
strmod/rlmod
strmod/telmod
strmod/u8koi8
strmod/u8lat1
strmod/u8lat2
strmod/spppasyn
sys/acctctl
sys/exacctsys
sys/sysacct
misc/sparcv9/skip_bdc_rc4
misc/sparcv9/skip_bdc_rc4_128
misc/sparcv9/skip_fast_des_cbc
misc/sparcv9/skip_des_ede_k3
misc/sparcv9/skip_safer_128sk_cbc
misc/sparcv9/screen_dns
misc/sparcv9/screen_fail
misc/sparcv9/screen_ftp
misc/sparcv9/screen_ip
misc/sparcv9/screen_nfsro
misc/sparcv9/screen_normal
misc/sparcv9/screen_ping
misc/sparcv9/screen_pmap
misc/sparcv9/screen_raudio
misc/sparcv9/screen_rsh
misc/sparcv9/screen_sqlnet
misc/sparcv9/screen_stateless
misc/sparcv9/screen_tcp
misc/sparcv9/screen_ts7
misc/sparcv9/screen_ts8
misc/sparcv9/screen_udp
*
* System Configuration
*
  swap files
swapfile             dev  swaplo blocks  free
/dev/dsk/c1t0d0s1   136,1      16 1049312 1049312
*
* Tunable Parameters
*
 2449408        maximum memory allowed in buffer cache (bufhwm)
    1866        maximum number of processes (v.v_proc)
      99        maximum global priority in sys class (MAXCLSYSPRI)
    1861        maximum processes per user id (v.v_maxup)
      30        auto update time limit in seconds (NAUTOUP)
      25        page stealing low water mark (GPGSLO)
       5        fsflush run rate (FSFLUSHR)
      25        minimum resident memory for avoiding deadlock (MINARMEM)
      25        minimum swapable memory for avoiding deadlock (MINASMEM)
*
* Utsname Tunables
*
     5.9 release (REL)
  mopoke node name (NODE)
   SunOS system name (SYS)
Generic_112737-02 version (VER)
*
* Process Resource Limit Tunables (Current:Maximum)
*
0x0000000000000100:0x0000000000010000  file descriptors
*
* Streams Tunables
*
     9  maximum number of pushes allowed (NSTRPUSH)
 65536  maximum stream message size (STRMSGSZ)
  1024  max size of ctl part of message (STRCTLSZ)
*
* IPC Messages module is not loaded
*
*
* IPC Semaphores module is not loaded
*
*
* IPC Shared Memory module is not loaded
*
*
* Time Sharing Scheduler Tunables
*
60      maximum time sharing user priority (TSMAXUPRI)
SYS     system class name (SYS_NAME)
mopoke%



Determining How Long a System Has Been Up (uptime)

To find out how long a system has been up, type uptime and press Return. The time, number of users, and load average are displayed for the local system.


castle% uptime
  1:16pm  up  4:57,  1 user,  load average: 0.12, 0.06, 0.04
castle%

To find out when a system was booted, type who -b and press Return. The month, day, and time of the last boot are displayed.


oak% who -b
 . system boot Jul 14 08:49
oak%



Determining the System Date and Time (date)

To display the system date and time, type date and press Return. The system date and time are displayed.


castle% date
Sat July  1 13:17:03 WST 2000
castle%



Setting the System Date and Time (date)

Use the following steps to reset the system date and time.

  1. Become superuser.

  2. Type date mmddhhmmyy and press Return, where mm is the month, dd is the day, hh is the hour, mm is the minute, and yy is the year. The system date and time are reset according to the month, day, hour, minute, and year that you specify.


# su
Password:
# date
Sat Jul 1 16:07:01 WST 2000
# date 07011552
Sat Jul 1 15:52:00 WST 2000
#



Changing the System Time Zone (/etc/TIMEZONE)

The time zone is set in the /etc/TIMEZONE file. The available U.S. time zone variables are shown below. Look in the /usr/share/lib/zoneinfo directory for a complete list of time zone variables.


Alaska
Aleutian
Arizona
Central
East-Indiana
Eastern
Hawaii
Michigan
Mountain
Pacific
Pacific-New
Samoa

Use the following steps to change the system time zone.

  1. Become superuser.

  2. Edit the /etc/TIMEZONE file, change the TZ= time-zone variable, and save the changes. The time zone is reset.

  3. Reboot the system.

The following example shows the /etc/TIMEZONE file for a system set to Australia West standard time. Note that /etc/TIMEZONE is now a symbolic link to /etc/default/init.


paperbark% more /etc/TIMEZONE
# @(#)init.dfl 1.5 99/05/26
#
# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not. To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, or any of the LC_* environment variables.
#
TZ=Australia/West
CMASK=022
LANG=C
paperbark%

The following example changes to U.S./Eastern.


oak% su
Password:
# vi /etc/TIMEZONE
TZ=US/Eastern;export TZ
:w!
# reboot
oak% date
Tue Jul 1 14:24:52 EST 2000
oak%

NOTE. You may need to make your text editor do a confirmed write of the file. For example, in vi use the command :w! to write the changes even if the permissions normally would not allow it.


    [ Team LiB ] Previous Section Next Section