JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Advanced Administration
search filter icon
search icon

Document Information

Preface

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)

6.  Managing Disk Use (Tasks)

7.  Managing UFS Quotas (Tasks)

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)

15.  Managing System Messages

Viewing System Messages

How to View System Messages

System Log Rotation

Customizing System Message Logging

How to Customize System Message Logging

Enabling Remote Console Messaging

Using Auxiliary Console Messaging During Run Level Transitions

Using the consadm Command During an Interactive Login Session

How to Enable an Auxiliary (Remote) Console

How to Display a List of Auxiliary Consoles

How to Enable an Auxiliary (Remote) Console Across System Reboots

How to Disable an Auxiliary (Remote) Console

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)

21.  Troubleshooting Software Package Problems (Tasks)

Index

Enabling Remote Console Messaging

The following new console features improve your ability to troubleshoot remote systems:

Using Auxiliary Console Messaging During Run Level Transitions

Keep the following in mind when using auxiliary console messaging during run level transitions:

Using the consadm Command During an Interactive Login Session

If you want to run an interactive login session by logging in to a system using a terminal that is connected to a serial port, and then using the consadm command to see the console messages from the terminal, note the following behavior:

How to Enable an Auxiliary (Remote) Console

The consadm daemon does not start monitoring the port until after you add the auxiliary console with the consadm command. As a security feature, console messages are only redirected until carrier drops, or the auxiliary console device is unselected. This means carrier must be established on the port before you can successfully use the consadm command.

For more information on enabling an auxiliary console, see the consadm(1m) man page.

  1. Log in to the system as superuser.
  2. Enable the auxiliary console.
    # consadm -a devicename
  3. Verify that the current connection is the auxiliary console.
    # consadm

Example 15-3 Enabling an Auxiliary (Remote) Console

# consadm -a /dev/term/a
# consadm
 /dev/term/a

How to Display a List of Auxiliary Consoles

  1. Log in to the system as superuser.
  2. Select one of the following steps:
    1. Display the list of auxiliary consoles.
      # consadm
      /dev/term/a
    2. Display the list of persistent auxiliary consoles.
      # consadm -p
      /dev/term/b

How to Enable an Auxiliary (Remote) Console Across System Reboots

  1. Log in to the system as superuser.
  2. Enable the auxiliary console across system reboots.
    # consadm -a -p devicename     

    This adds the device to the list of persistent auxiliary consoles.

  3. Verify that the device has been added to the list of persistent auxiliary consoles.
    # consadm

Example 15-4 Enabling an Auxiliary (Remote) Console Across System Reboots

# consadm -a -p /dev/term/a 
# consadm
/dev/term/a

How to Disable an Auxiliary (Remote) Console

  1. Log in to the system as superuser.
  2. Select one of the following steps:
    1. Disable the auxiliary console.
      # consadm -d devicename

      or

    2. Disable the auxiliary console and remove it from the list of persistent auxiliary consoles.
      # consadm -p -d devicename
  3. Verify that the auxiliary console has been disabled.
    # consadm

Example 15-5 Disabling an Auxiliary (Remote) Console

# consadm -d /dev/term/a
# consadm