|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1. Managing Terminals and Modems (Overview) 2. Setting Up Terminals and Modems (Tasks) 3. Managing Serial Ports With the Service Access Facility (Tasks) 4. Managing System Resources (Overview) 5. Displaying and Changing System Information (Tasks) Displaying System Information (Task Map) How to Display a System's Physical Processor Type How to Display a System's Logical Processor Type Changing System Information (Task Map) How to Set a System's Date and Time Manually How to Set Up a Message-Of-The-Day How to Change a System's Host Name How to Add a Locale to a System How to Remove a Locale From a System 8. Scheduling System Tasks (Tasks) 9. Managing System Accounting (Tasks) 10. System Accounting (Reference) 11. Managing System Performance (Overview) 12. Managing System Processes (Tasks) 13. Monitoring System Performance (Tasks) 14. Troubleshooting Software Problems (Overview) 16. Managing Core Files (Tasks) 17. Managing System Crash Information (Tasks) 18. Troubleshooting Miscellaneous Software Problems (Tasks) 19. Troubleshooting File Access Problems (Tasks) 20. Resolving UFS File System Inconsistencies (Tasks) |
Displaying System Information (Task Map)
Displaying System InformationThe following table describes commands that enable you to display general system information. Table 5-1 Commands for Displaying System Information
How to Determine Whether a System Has 32–bit or 64–Bit Solaris Capabilities Enabled
The isainfo command output for an UltraSPARC system that is running previous releases of the Solaris OS using a 32-bit kernel is displayed as follows: $ isainfo -v 32-bit sparc applications This output means that this system can support only 32–bit applications. The current release of the Solaris OS only ships a 64–bit kernel on SPARC based systems. The isainfo command output for an UltraSPARC system that is running a 64–bit kernel is displayed as follows: $ isainfo -v 64-bit sparcv9 applications 32-bit sparc applications This output means that this system is capable of supporting both 32–bit and 64–bit applications. Use the isainfo -b command to display the number of bits supported by native applications on the running system. The output from a SPARC based, x86 based, or UltraSPARC system that is running the 32–bit Solaris Operating System is displayed as follows: $ isainfo -b 32 The isainfo command output from a 64–bit UltraSPARC system that is running the 64–bit Solaris Operating System is displayed as follows: $ isainfo -b 64 The command returns 64 only. Even though a 64–bit UltraSPARC system can run both types of applications, 64–bit applications are the best kind of applications to run on a 64–bit system. Example 5-2 x86: Determining Whether a System Has 32–Bit or 64–Bit Solaris Capabilities EnabledThe isainfo command output for an x86 based system that is running the 64-bit kernel is displayed as follows: $ isainfo amd64 i386 This output means that this system can support 64–bit applications. Use the isainfo -v command to determine if an x86 based system is capable of running a 32–bit kernel. $ isainfo -v 64-bit amd64 applications fpu tsc cx8 cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 32-bit i386 applications fpu tsc cx8 cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 This output means that this system can support both 64–bit and 32–bit applications. Use the isainfo -b command to display the number of bits supported by native applications on the running system. The output from an x86 based system that is running the 32–bit Solaris Operating System is displayed as follows: $ isainfo -b 32 The isainfo command output from an x86 based system that is running the 64–bit Solaris Operating System is displayed as follows: $ isainfo -b 64 You can also use the isalist command to determine whether an x86 based system is running in 32–bit or 64–bit mode. $ isalist amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 In the preceding example, amd64 indicates that the system has 64–bit Solaris capabilities enabled. How to Display Solaris Release Information
How to Display General System Information
The following example shows the showrev command output. The -a option displays all available system information. % showrev -a Hostname: suwat Hostid: 830915da Release: 5.11 Kernel architecture: sun4u Application architecture: sparc Hardware provider: Sun_Microsystems Domain: boulder.Central.Sun.COM Kernel version: SunOS 5.11 SunOS_Development OpenWindows version: Solaris X11 Version 6.6.3 12 October 2005 Patch: 116298-08 Obsoletes: Requires: Incompatibles: Packages: SUNWxsrt, ... Patch: 116302-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxrpcrt How to Display a System's Host ID Number
The following example shows sample output from the hostid command. $ hostid 80a5d34c How to Display a System's Product NameSolaris 10 1/06: The -b option to the prtconf command enables you to display a system's product name. For more information on this feature, see the prtconf(1M) man page.
This example shows sample output from the prtconf -b command. # prtconf -b name: SUNW,Ultra-5_10 model: SUNW,375-0066 banner-name: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz) This example shows sample output from the prtconf -vb command. # prtconf -vb name: SUNW,Ultra-5_10 model: SUNW,375-0066 banner-name: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz) idprom: 01800800.20a6c363.00000000.a6c363a9.00000000.00000000.405555aa.aa555500 openprom model: SUNW,3.15 openprom version: 'OBP 3.15.2 1998/11/10 10:35' How to Display a System's Installed Memory
The following example shows sample output from the prtconf command. The grep Memory command selects output from the prtconf command to display memory information only. # prtconf | grep Memory Memory size: 128 Megabytes How to Display the Date and Time
The following example shows sample output from the date command. $ date Wed Jan 21 17:32:59 MST 2004 $ psrinfo Command Option to Identify Chip Multithreading FeaturesSolaris 10: The psrinfo command has been modified to provide information about physical processors, in addition to information about virtual processors. This enhanced functionality has been added to identify chip multithreading (CMT) features. The new -p option reports the total number of physical processors that are in a system. Using the psrinfo -pv command will list all the physical processors that are in the system, as well as the virtual processors that are associated with each physical processor. The default output of the psrinfo command continues to display the virtual processor information for a system. For more information, see the psrinfo(1M) man page. For information about the procedures associated with this feature, see How to Display a System's Physical Processor Type. How to Display a System's Physical Processor Type
How to Display a System's Logical Processor Type
This example shows how to display information about a SPARC based system's processor type. $ psrinfo -v Status of virtual processor 0 as of: 04/16/2004 10:32:13 on-line since 03/22/2004 19:18:27. The sparcv9 processor operates at 650 MHz, and has a sparcv9 floating point processor.Example 5-9 x86: Displaying a System's Processor Type This example shows how to display information about an x86 based system's processor type. $ isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 New localeadm CommandSolaris 10: The new localeadm command allows you to change the locales on your system without reinstalling the OS or manually adding and removing packages. This command also allows you to query your system to determine which locales are installed. To run the localeadm command, you must have superuser privileges or assume an equivalent role through role-based access control (RBAC). For more information, see the localeadm(1M) man page. For more information in this guide, see Chapter 5, Displaying and Changing System Information (Tasks). How to Display Locales Installed on a System
How to Determine if a Locale is Installed on a System
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|