Previous | Table of Contents | Next |
THIS CHAPTER DESCRIBES COMMANDS THAT ARE SPECIFIC TO INDIVIDUAL systems. It also shows how to configure additional swap space and how to create a local mail alias.
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, how long 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.
To find a system's host ID number, type sysdef -h and press Return. The host ID for the system is displayed. This command replaces the SunOS 4.x hostid command:
oak% sysdef -h * * Hostid * 554Ø95cc oak%
To find the hardware type of a system, type uname -m and press Return. The hardware type (architecture) for the system is displayed. The SunOS 4.x arch command, which provided similar information, is not available in SunOS 5.x:
oak% uname -m sun4m oak%
To find the processor type for a system, type uname -p and press Return. The processor type for the system is displayed. This command replaces the SunOS 4.x mach command:
oak% uname -p sparc oak%
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.6 oak%
To display the configuration information for a system, type prtconf and press Return. The system configuration information is displayed:
castle% prtconf System Configuration: Sun Microsystems sun4m Memory size: 64 Megabytes System Peripherals (Software Nodes): SUNW,SPARCstation-10 packages (driver not attached) disk-label (driver not attached) deblocker (driver not attached) obp-tftp (driver not attached) options, instance #0 aliases (driver not attached) openprom (driver not attached) iommu, instance #0 sbus, instance #0 espdma, instance #0 esp, instance #0 sd (driver not attached) st (driver not attached) sd, instance #0 (driver not attached) sd, instance #1 (driver not attached) sd, instance #2 (driver not attached) sd, instance #3 sd, instance #4 (driver not attached) sd, instance #5 (driver not attached) sd, instance #6 (driver not attached) ledma, instance #0 le, instance #0 SUNW,bpp (driver not attached) SUNW,DBRIe (driver not attached) mmcodec (driver not attached) cgsix, instance #0 obio, instance #0 zs, instance #0 zs, instance #1 eeprom (driver not attached) counter (driver not attached) interrupt (driver not attached) SUNW,fdtwo, instance #0 auxio (driver not attached) power (driver not attached) memory (driver not attached) virtual-memory (driver not attached) eccmemctl (driver not attached) TI,TMS390Z55 (driver not attached) pseudo, instance #0 (More information not shown in this example) castle%
Previous | Table of Contents | Next |