Documentation Home
> System Administration Guide: Advanced Administration
System Administration Guide: Advanced Administration
Book Information
Index
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
About This Book
Chapter??1 Managing Terminals and Modems (Overview)
What's New in Managing Terminals and Modems?
SPARC: Coherent Console
SPARC: Changes to How $TERM Value for Console Is Set
ttymon Invocations on the System Console Managed by SMF
Terminals, Modems, Ports, and Services
Terminal Description
Modem Description
Ports Description
Services Description
Port Monitors
Tools for Managing Terminals and Modems
Serial Ports Tool
Service Access Facility
Chapter??2 Setting Up Terminals and Modems (Tasks)
Setting Terminals and Modems (Task Map)
Setting Up Terminals and Modems With Serial Ports Tool (Overview)
Setting Up Terminals
Setting Up Modems
How to Set Up a Terminal, a Modem, and Initialize a Port (Tasks)
How to Set Up a Terminal
How to Set Up a Modem
How to Initialize a Port
Troubleshooting Terminal and Modem Problems
Chapter??3 Managing Serial Ports With the Service Access Facility (Tasks)
Managing Serial Ports (Task Map)
Using the Service Access Facility
Overall SAF Administration (sacadm)
Service Access Controller (SAC Program)
SAC Initialization Process
Port Monitor Service Administration (pmadm)
ttymon Port Monitor
Port Initialization Process
Bidirectional Service
TTY Monitor and Network Listener Port Monitors
TTY Port Monitor (ttymon)
ttymon and the Console Port
ttymon-Specific Administrative Command (ttyadm)
Network Listener Service (listen)
Special listen-Specific Administrative Command (nlsadmin)
Administering ttymon Port Monitors
How to Set the ttymon Console Terminal Type
How to Set the Baud Rate Speed on the ttymon Console Terminal
How to Add a ttymon Port Monitor
How to View ttymon Port Monitor Status
How to Stop a ttymon Port Monitor
How to Start a ttymon Port Monitor
How to Disable a ttymon Port Monitor
How to Enable a ttymon Port Monitor
How to Remove a ttymon Port Monitor
Administering ttymon services (Task Map)
Administering ttymon Services
How to Add a Service
How to View the Status of a TTY Port Service
How to Enable a Port Monitor Service
How to Disable a Port Monitor Service
Service Access Facility Administration (Reference)
Files Associated With the SAF
/etc/saf/_sactab File
/etc/saf/pmtab/_pmtab File
Service States
Port Monitor States
Port States
Chapter??4 Managing System Resources (Overview)
What's New in Managing System Resources?
prtconf Option to Display Product Names
Managing System Resources (Road Map)
Chapter??5 Displaying and Changing System Information (Tasks)
Displaying System Information (Task Map)
Displaying System Information
How to Determine Whether a System Has 32???bit or 64???Bit Solaris Capabilities Enabled
How to Display Solaris Release Information
How to Display General System Information
How to Display a System's Host ID Number
How to Display a System's Product Name
How to Display a System's Installed Memory
How to Display the Date and Time
psrinfo Command Option to Identify Chip Multithreading Features
How to Display a System's Physical Processor Type
How to Display a System's Logical Processor Type
New localeadm Command
How to Display Locales Installed on a System
How to Determine if a Locale is Installed on a System
Changing System Information (Task Map)
Changing System Information
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
Chapter??6 Managing Disk Use (Tasks)
Managing Disk Use (Task Map)
Displaying Information About Files and Disk Space
How to Display Information About Files and Disk Space
Checking the Size of Files
How to Display the Size of Files
How to Find Large Files
How to Find Files That Exceed a Specified Size Limit
Checking the Size of Directories
How to Display the Size of Directories, Subdirectories, and Files
How to Display the User Ownership of Local UFS File Systems
Finding and Removing Old or Inactive Files
How to List the Newest Files
How to Find and Remove Old or Inactive Files
How to Clear Out Temporary Directories
How to Find and Delete core Files
How to Delete Crash Dump Files
Chapter??7 Managing Quotas (Tasks)
What Are Quotas?
Using Quotas
Setting Soft Limits and Hard Limits for Quotas
The Difference Between Disk Block and File Limits
Setting Up Quotas
Guidelines for Setting Up Quotas
Setting Up Quotas (Task Map)
How to Configure File Systems for Quotas
How to Set Up Quotas for a User
How to Set Up Quotas for Multiple Users
How to Check Quota Consistency
How to Turn On Quotas
Maintaining Quotas (Task Map)
Checking Quotas
How to Check for Exceeded Quotas
How to Check Quotas on a File System
Changing and Removing Quotas
How to Change the Soft Limit Default
How to Change Quotas for a User
How to Disable Quotas for a User
How to Turn Off Quotas
Chapter??8 Scheduling System Tasks (Tasks)
Creating and Editing crontab Files (Task Map)
Ways to Automatically Execute System Tasks
For Scheduling Repetitive Jobs: crontab
For Scheduling a Single Job: at
Scheduling a Repetitive System Task (cron)
Inside a crontab File
How the cron Daemon Handles Scheduling
Syntax of crontab File Entries
Creating and Editing crontab Files
How to Create or Edit a crontab File
How to Verify That a crontab File Exists
Displaying crontab Files
How to Display a crontab File
Removing crontab Files
How to Remove a crontab File
Controlling Access to the crontab Command
How to Deny crontab Command Access
How to Limit crontab Command Access to Specified Users
How to Verify Limited crontab Command Access
Using the at Command (Task Map)
Scheduling a Single System Task (at)
Description of the at Command
Controlling Access to the at Command
How to Create an at Job
How to Display the at Queue
How to Verify an at Job
How to Display at Jobs
How to Remove at Jobs
How to Deny Access to the at Command
How to Verify That at Command Access Is Denied
Chapter??9 Managing System Accounting (Tasks)
What's New in System Accounting
Solaris Process Accounting and Statistics Improvements
What is System Accounting?
How System Accounting Works
System Accounting Components
Connect Accounting
Process Accounting
Disk Accounting
Fee Calculations
How Daily Accounting Works
What Happens if the System Shuts Down
System Accounting (Task Map)
Setting Up System Accounting
How to Set Up System Accounting
Billing Users
How to Bill Users
Maintaining Accounting Information
Fixing Corrupted Files and wtmpx Errors
How to Fix a Corrupted wtmpx File
Fixing tacct Errors
How to Fix tacct Errors
Restarting the runacct Script
How to Restart the runacct Script
Stopping and Disabling System Accounting
How to Temporarily Stop System Accounting
How to Permanently Disable System Accounting
Chapter??10 System Accounting (Reference)
runacct Script
Daily Accounting Reports
Daily Report
Daily Usage Report
Daily Command Summary
Monthly Command Summary
Last Login Report
Examining the pacct File With acctcom
System Accounting Files
Files Produced by the runacct Script
Chapter??11 Managing System Performance (Overview)
What's New in Managing System Performance?
Enhanced pfiles Tool
CPU Performance Counters
Where to Find System Performance Tasks
System Performance and System Resources
Processes and System Performance
About Monitoring System Performance
Monitoring Tools
Chapter??12 Managing System Processes (Tasks)
Managing System Processes (Task Map)
Commands for Managing System Processes
Using the ps Command
Using the /proc File System and Commands
Managing Processes With Process Commands (/proc)
How to List Processes
How to Display Information About Processes
How to Control Processes
Terminating a Process (pkill, kill)
How to Terminate a Process (pkill)
How to Terminate a Process (kill)
Debugging a Process (pargs, preap)
Managing Process Class Information (Task Map)
Managing Process Class Information
Changing the Scheduling Priority of Processes (priocntl)
How to Display Basic Information About Process Classes (priocntl)
How to Display the Global Priority of a Process
How to Designate a Process Priority (priocntl)
How to Change Scheduling Parameters of a Timesharing Process (priocntl)
How to Change the Class of a Process (priocntl)
Changing the Priority of a Timesharing Process (nice)
How to Change the Priority of a Process (nice)
Troubleshooting Problems With System Processes
Chapter??13 Monitoring System Performance (Tasks)
Displaying System Performance Information (Task Map)
Displaying Virtual Memory Statistics (vmstat)
How to Display Virtual Memory Statistics (vmstat)
How to Display System Event Information (vmstat -s)
How to Display Swapping Statistics (vmstat -S)
How to Display Interrupts Per Device (vmstat -i)
Displaying Disk Utilization Information (iostat)
How to Display Disk Utilization Information (iostat)
How to Display Extended Disk Statistics (iostat -xtc)
Displaying Disk Space Statistics (df)
How to Display Disk Space Information (df -k)
Monitoring System Activities (Task Map)
Monitoring System Activities (sar)
How to Check File Access (sar -a)
How to Check Buffer Activity (sar -b)
How to Check System Call Statistics (sar -c)
How to Check Disk Activity (sar -d)
How to Check Page-Out and Memory (sar -g)
Checking Kernel Memory Allocation
How to Check Kernel Memory Allocation (sar -k)
How to Check Interprocess Communication (sar -m)
How to Check Page-In Activity (sar -p)
How to Check Queue Activity (sar -q)
How to Check Unused Memory (sar -r)
How to Check CPU Utilization (sar -u)
How to Check System Table Status (sar -v)
How to Check Swapping Activity (sar -w)
How to Check Terminal Activity (sar -y)
How to Check Overall System Performance (sar -A)
Collecting System Activity Data Automatically (sar)
Running the sadc Command When Booting
Running the sadc Command Periodically With the sa1 Script
Producing Reports With the sa2 Shell Script
Setting Up Automatic Data Collection (sar)
How to Set Up Automatic Data Collection
Chapter??14 Troubleshooting Software Problems (Overview)
What's New in Troubleshooting?
x86: Error Message Upon System Boot if Multiboot Module From the Previous GRUB Implementation Is Loaded
Common Agent Container Problems
x86: SMF Boot Archive Service Might Fail During System Reboot
Dynamic Tracing Facility
kmdb Replaces kadb as Standard Solaris Kernel Debugger
Where to Find Software Troubleshooting Tasks
Additional Resources for Troubleshooting System and Software Problems
Troubleshooting a System Crash
What to Do if the System Crashes
Gathering Troubleshooting Data
Troubleshooting a System Crash Checklist
Chapter??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
Chapter??16 Managing Core Files (Tasks)
Managing Core Files (Task Map)
Managing Core Files Overview
Configurable Core File Paths
Expanded Core File Names
Setting the Core File Name Pattern
Enabling setuid Programs to Produce Core Files
How to Display the Current Core Dump Configuration
How to Set a Core File Name Pattern
How to Enable a Per-Process Core File Path
How to Enable a Global Core File Path
Troubleshooting Core File Problems
Examining Core Files
Chapter??17 Managing System Crash Information (Tasks)
Managing System Crash Information (Task Map)
System Crashes (Overview)
ZFS Support for Swap Devices
x86: System Crashes in the GRUB Boot Environment
System Crash Dump Files
Saving Crash Dumps
The dumpadm Command
How the dumpadm Command Works
Dump Devices and Volume Managers
Managing System Crash Dump Information
How to Display the Current Crash Dump Configuration
How to Modify a Crash Dump Configuration
How to Examine a Crash Dump
How to Recover From a Full Crash Dump Directory (Optional)
How to Disable or Enable Saving Crash Dumps
Chapter??18 Troubleshooting Miscellaneous Software Problems (Tasks)
x86: What to Do if the Multiboot Module From Previous GRUB Implementation Is Loaded at Boot Time
What to Do if Rebooting Fails
What to Do if You Forgot Root Password
x86: What to Do if the SMF Boot Archive Service Fails During a System Reboot
What to Do if a System Hangs
What to Do if a File System Fills Up
File System Fills Up Because a Large File or Directory Was Created
A TMPFS File System is Full Because the System Ran Out of Memory
What to Do if File ACLs Are Lost After Copy or Restore
Troubleshooting Backup Problems
The root (/) File System Fills Up After You Back Up a File System
Make Sure the Backup and Restore Commands Match
Check to Make Sure You Have the Right Current Directory
Interactive Commands
Troubleshooting Common Agent Container Problems in the Solaris OS
Port Number Conflicts
How to Check Port Numbers
Compromised Security for Superuser Password
How to Generate Security Keys for the Solaris OS
Chapter??19 Troubleshooting File Access Problems (Tasks)
Solving Problems With Search Paths (Command not found)
How to Diagnose and Correct Search Path Problems
Solving File Access Problems
Changing File and Group Ownerships
Recognizing Problems With Network Access
Chapter??20 Resolving UFS File System Inconsistencies (Tasks)
New fsck Error Messages
fsck Error Messages
General fsck Error Messages
Initialization Phase fsck Messages
Phase 1: Check Blocks and Sizes Messages
Solaris 10: Phase 1B: Rescan for More DUPS Messages
Phase 1B: Rescan for More DUPS Messages
Phase 2: Check Path Names Messages
Phase 3: Check Connectivity Messages
Phase 4: Check Reference Counts Messages
Phase 5: Check Cylinder Groups Messages
Phase 5: Check Cylinder Groups Messages
fsck Summary Messages
Cleanup Phase Messages
Chapter??21 Troubleshooting Software Package Problems (Tasks)
Troubleshooting Software Package Symbolic Link Problems
Specific Software Package Installation Errors
General Software Package Installation Problems
© 2010, Oracle Corporation and/or its affiliates