-
Chapter 1 Introduction
-
Automation Is a Must
-
How Perl Can Help You
-
This Book Will Show You How
-
What You Need
-
Some Notes About the Perl Versions Used for This Book
-
Some Notes About Using Vista with the Code in This Book
-
Locating and Installing Modules
-
It’s Not Easy Being Omnipotent
-
References for More Information
-
-
Chapter 2 Filesystems
-
Perl to the Rescue
-
Filesystem Differences
-
Walking or Traversing the Filesystem by Hand
-
Walking the Filesystem Using the File::Find Module
-
Walking the Filesystem Using the File::Find::Rule Module
-
Manipulating Disk Quotas
-
Editing NTFS Quotas Under Windows
-
Querying Filesystem Usage
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 3 User Accounts
-
Unix User Identities
-
Windows-Based Operating System User Identities
-
Building an Account System to Manage Users
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 4 User Activity
-
Process Management
-
File and Network Operations
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 5 TCP/IP Name and Configuration Services
-
Host Files
-
NIS, NIS+, and WINS
-
Domain Name Service (DNS)
-
DHCP
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 6 Working with Configuration Files
-
Configuration File Formats
-
All-in-One Modules
-
Advanced Configuration Storage Mechanisms
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 7 SQL Database Administration
-
Interacting with a SQL Server from Perl
-
Using the DBI Framework
-
Using ODBC from Within DBI
-
Server Documentation
-
Database Logins
-
Monitoring Space Usage on a Database Server
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 8 Email
-
Sending Mail
-
Common Mistakes in Sending Email
-
Fetching Mail
-
Processing Mail
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 9 Directory Services
-
What’s a Directory?
-
Finger: A Simple Directory Service
-
The WHOIS Directory Service
-
LDAP: A Sophisticated Directory Service
-
Active Directory Service Interfaces
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 10 Log Files
-
Reading Text Logs
-
Reading Binary Log Files
-
Structure of Log File Data
-
Dealing with Log File Information
-
Writing Your Own Log Files
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 11 Security
-
Noticing Unexpected or Unauthorized Changes
-
Noticing Suspicious Activities
-
Danger on the Wire, or “Perl Saves the Day”
-
Preventing Suspicious Activities
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 12 SNMP
-
Using SNMP from Perl
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 13 Network Mapping and Monitoring
-
Network Mapping
-
Presenting the Information
-
Monitoring Frameworks
-
What’s Left?
-
Module Information for This Chapter
-
References for More Information
-
-
Chapter 14 Experiential Learning
-
Playing with Timelines
-
Playing with Geocoding
-
Playing with an MP3 Collection
-
One Final Exploration
-
Remember to Play
-
Module Information for This Chapter
-
Source Material for This Chapter
-
-
Appendix The Eight-Minute XML Tutorial
-
XML Is a Markup Language
-
XML Is Picky
-
Two Key XML Terms
-
Leftovers
-
References for More Information
-
-
Appendix The 10-Minute XPath Tutorial
-
XPath Basic Concepts
-
References for More Information
-
-
Appendix The 10-Minute LDAP Tutorial
-
LDAP Data Organization
-
-
Appendix The 15-Minute SQL Tutorial
-
Creating/Deleting Databases and Tables
-
Inserting Data into a Table
-
Querying Information
-
Changing Table Information
-
Relating Tables to Each Other
-
SQL Stragglers
-
-
Appendix The Five-Minute RCS Tutorial
-
References for More Information
-
-
Appendix The Two-Minute VBScript-to-Perl Tutorial
-
Translation Tactics
-
References for More Information
-
-
Appendix The 20-Minute SNMP Tutorial
-
SNMP in Practice
-
-
Colophon
- Title:
- Automating System Administration with Perl, Second Edition
- By:
- David N. Blank-Edelman
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2009
- Ebook Release:
- May 2009
- Pages:
- 672
- Print ISBN:
- 978-0-596-00639-6
- | ISBN 10:
- 0-596-00639-X
- Ebook ISBN:
- 978-0-596-80251-6
- | ISBN 10:
- 0-596-80251-X
The animal on the cover of Automating System Administration with Perl, Second Edition, is a sea otter. North American sea otters make their homes along the Pacific coast, near the kelp beds containing the shellfish that make up the majority of their diet. Sea otters can be found in great numbers in Alaska and on beaches as far south as California.
Sea otters are agile, intelligent mammals and are known to make ingenious use of tools. Floating on their backs, they hold a shellfish such as a mussel or abalone on their bellies and use a rock to break the shell.
Intensely social, sea otters gather to float in groups called rafts. They are excellent swimmers, propelling themselves swiftly through the water with their flipper-like, webbed back paws. Their thick fur provides them with efficient insulation in the water. At times, their existence has been threatened as they have been mercilessly hunted to near extinction for their fur.
The cover image is an original illustration created by Lorrie LeJeune. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.
