Skip Navigation Links | |
Exit Print View | |
Managing System Information, Processes, and Performance in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
1. Managing System Information (Tasks)
What's New in Displaying and Changing System Information
Enhancements to hostname and domainname Commands
Displaying System Information (Task Map)
Commands That Are Used to Display System Information
How to Display a System's Release Information
How to Display the Date and Time
How to Display a System's Host ID Number
Displaying a System's Architecture and Processor Type
How to Display a System's Product Name
How to Display a System's Installed Memory
How to Display Default and Customized Property Values for a Device
How to Display System Diagnostic Information
Identifying Information About Chip Multithreading Features
How to Display a System's Physical Processor Type
How to Display a System's Virtual Processor Type
Changing System Information (Task Map)
How to Manually Set a System's Date and Time
2. Managing System Processes (Tasks)
3. Monitoring System Performance (Tasks)
4. Scheduling System Tasks (Tasks)
5. Managing the System Console, Terminal Devices, and Power Services (Tasks)
This section describes commands that enable you to change general system information.
|
$ date mmddHHMM[[cc]yy]
Month, using two digits.
Day of the month, using two digits.
Hour, using two digits and a 24-hour clock.
Minutes, using two digits.
Century, using two digits.
Year, using two digits.
See the date(1) man page for more information.
Example 1-14 Manually Setting a System's Date and Time
The following example shows how to use the date command to manually set a system's date and time.
# date Monday, September 13. 2010 02:00:16 PM MDT # date 0921173404 Thu Sep 17:34:34 MST 2010
You can edit the message-of-the-day file, /etc/motd, to include announcements or inquiries to all users of a system when they log in. Use this feature sparingly, and edit this file regularly to remove obsolete messages.
$ pfedit /etc/motd
Edit the text to include the message that will be displayed during user login. Include spaces, tabs, and carriage returns.
$ cat /etc/motd Welcome to the UNIX Universe. Have a nice day.
# hostname mynodename