 |
 |
 |
 |
 |
 |
Solutions for tracing UNIX applications
If you are developing a UNIX application, then you can trace and debug the
running application and extract the information you need from it. But what if you
want to know what is going on inside a UNIX application and you don't have access to the source code? This tutorial looks at some systems that enable you to trace the execution of applications and work out what they are doing without having to make any modifications to the source code, and even without having to stop and restart the application.
|
 |
Tutorial |
 |
31 Mar 2009 |
|
| |
System Administration Toolkit: Build intelligent, unattended scripts
Look at how to create scripts that are able to record their output, trap and
identify errors, and recover from errors and problems so that they either run
correctly or fail with a suitable error message and report. Building scripts and
running them automatically is a task that every good administrator has to handle,
but how do you handle the error output and make intelligent decisions about how the
script should handle these errors? This article addresses these issues.
|
 |
Articles |
 |
03 Jul 2007 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 3: Integrating the Java business application with DB2 Version 9
It is possible to develop applications that employ both Java(TM) and PHP
technology on AIX(R). You can use the Java programming language for the core logic
(or redeploy an existing Java-based application), while gaining the benefits of PHP
as a Web-based interface platform. In this article, the third of the series, find
out how to connect the core application created in the second installment to a
DB2(R) database for the storage of the survey questions and responses.
|
 |
Articles |
 |
19 Jun 2007 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 2: Building the Java business application
It is possible to develop applications that employ both Java(TM) and PHP
technology. You can use Java for the core logic (or redeploy an existing Java-based
application), while gaining the benefits of PHP as a Web-based interface platform.
In this tutorial, the second part of a six-part series, create a simple Java
business application and then deploy it as a servlet on the Apache Tomcat
application server on a System p(TM) system with the IBM AIX(R) Version 5.3 operating
system.
|
 |
Tutorials |
 |
05 Jun 2007 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 1: Setting up the Java environment
Develop a Java(TM) application on AIX(R) and learn how to extend it by using
a PHP interface to look at the underlying Java code. It is possible to develop
applications that employ both Java and PHP technology on AIX. You can use Java code
for the core logic (or redeploy an existing Java-based application), while gaining
the benefits of PHP as a Web-based interface platform. This article, the first in a
series, examines the basics of the Java programming language and PHP integration
methods on AIX, provides a quick overview of a sample application that uses this
structure, and then looks at the core elements required before you start developing
the application itself by installing the Java programming language and Apache
Tomcat.
|
 |
Articles |
 |
20 Jun 2007 |
|
| |
System Administration Toolkit: Set up remote access in UNIX through OpenSSH
Use OpenSSH to provide a secure environment for running a remote terminal. The basics of OpenSSH and terminal usage are quite simple but, in this article, examine additional elements that allow automatic login to remote hosts, methods for running remote applications, and how to securely copy files between hosts.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
System Administration Toolkit: Get the most out of zsh
Examine key parts of the Z shell (zsh) and how to use it's features to ease your UNIX(R) system administration tasks. zsh is a popular alternative to the original Bourne and Korn shells. It provides an impressive range of additional functionality, including improvements for completing different commands, files, and paths automatically, and for binding keys to functions and operations.
|
 |
Articles |
 |
19 Dec 2006 |
|
| |
System Administration Toolkit: Get the most out of bash
Ease your system administration tasks by taking advantage of key parts of the Bourne-again shell (bash) and its features. Bash is a popular alternative to the original Bourne and Korn shells. It provides an impressive range of additional functionality that includes improvements to the scripting environment, extensive aliasing techniques, and improved methods for automatically completing different commands, files, and paths.
|
 |
Articles |
 |
12 Dec 2006 |
|
| |
System Administration Toolkit: Swap space management and tricks
Configure your swap space (including adding space in an emergency) to get the most out of your system. In this article, you'll learn how to monitor your system to determine an effective swap space figure as well as examine methods for using swap space for more than just secondary random access memory (RAM).
|
 |
Articles |
 |
31 Oct 2006 |
|
| |
Use alternative methods to manage and monitor your UNIX servers
Make your systems and environment easier to use and administer by using tools, such as a Weblog, wiki, and Subversion, to record and track information and changes to your IT infrastructure. During the course of your UNIX(R) administration, you need to store and retain many different types of information and data. There are many ways of doing this, but one of the more radical solutions is to use a variety of free tools for the storage and retention of configuration data, configuration and administration change, and administration events.
|
 |
Tutorials |
 |
12 Sep 2006 |
|
| |
System Administration Toolkit: Standardizing your UNIX command-line tools
Examine methods for standardizing your interface to simplify movements between different UNIX(R) systems. If you manage multiple UNIX systems, particularly in a heterogeneous environment, then the hardest task can be switching between the different environments and performing the different tasks while having to consider all of the differences between the systems. This article does not cover specific differences, but you'll look at ways that can provide compatible layers, or wrappers, to support a consistent environment.
|
 |
Articles |
 |
22 Aug 2006 |
|
| |
System Administration Toolkit: Backing up key information
Most UNIX(R) administrators have processes in place to back up the data and information on their UNIX machines, but what about the configuration files and other elements that provide the configuration data your machines need to operate? This article provides detailed information on techniques for achieving an effective and efficient backup system for these key files.
|
 |
Articles |
 |
15 Aug 2006 |
|
| |
System Administration Toolkit: Migrating and moving UNIX directory trees
Occasionally, you need to copy around an entire UNIX(R) directory tree, either between areas on the same system or between different systems. There are many different methods of achieving this, but not all preserve the right amount of information or are compatible across different systems. This article discusses the various options available for UNIX and how best to make them work.
|
 |
Articles |
 |
25 Jul 2006 |
|
| |
System Administration Toolkit: Migrating and moving UNIX filesystems
Learn how to transfer an entire file system on a live system, including how to create, copy, and re-enable the new file system. If you have a UNIX(R) disk or system failure or simply fill up your file system, then you need to create a new partition and file system and copy over the contents. You might even need to mount the new partition in place to preserve the location of vital files and components. To add further complications, you need to do this on a live system, where you'd need to preserve file permissions, ownership, and possibly named pipes and other components. Effectively transferring these components and retaining all of this information is a vital part of the migration process.
|
 |
Articles |
 |
03 Jul 2006 |
|
| |
System Administration Toolkit: Monitoring a slow system
When your UNIX(R) system runs slow, it is vital that you discover what the problem is as quickly as possible so you can get your system back into the normal operating mode. There are many causes for a slow system, but actually identifying the problem can be exceedingly difficult. In this article, study examples of how to identify and diagnose the cause of your slow running UNIX system to get your machine running properly again.
|
 |
Articles |
 |
07 Jun 2006 |
|
| |
Write text parsers with yacc and lex
Examine the processes behind building a parser using the lex/flex and yacc/bison tools, first to build a simple calculator and then delve into how you can adopt the same principles for text parsing. Parsing text -- that is, understanding and extracting the key parts of the text -- is an important part of many applications. Within UNIX(R), many elements of the operating system rely on parsing text, from the shell you use to interact with the system, through to common tools and commands like awk or Perl, right through to the C compiler you use to build software and applications.
|
 |
Tutorials |
 |
31 May 2006 |
|
| |
Write software for multiple UNIX platforms
If you write software for more than one UNIX(R) platform, you are aware of the difficulty of getting your software to compile on two platforms. This tutorial covers tools and tricks that can make the process of supporting different UNIX platforms significantly easier at the code level. The reason is not the lack of tools or a binary compatibility issue, but rather the problems with the header files and functions that set up a standard UNIX environment.
|
 |
Tutorials |
 |
21 Feb 2006 |
|
| |
Make UNIX and Linux work together
Examine how to use the Network Information Service (NIS) to share core databases between Linux(R) and UNIX(R), and how to use the Network File System (NFS) to share file systems, both with direct links and through the automounter. Although UNIX and Linux are similar, there are some differences between the two that can complicate the process of integrating the two systems. Both, for example, share the same authentication system, but most systems are also standalone. Sharing this authentication information enables you to provide a single sign-on (SSO) functionality to any of the servers in your network.
|
 |
Articles |
 |
18 Apr 2006 |
|
| |
System Administration Toolkit: Process administration tricks
Discover how to get the information you want on UNIX(R) processes. Knowing what is running on your UNIX system is one of the most basic requirements of any system administrator. The standard process list is useful, but often the information that it provides is not in the right format or doesn't contain exactly the processes or information you need. In this article, you'll examine how to extend that process further to improve the readability of the information, or provide summaries and information that are not easily obtainable elsewhere. You'll also look at methods for standardizing how to obtain process information across different UNIX platforms.
|
 |
Articles |
 |
21 Feb 2006 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 4: Building the Java business application
Part 4 of this six-part series shows you how to deploy a Java(TM) business
application and database as a Java Web service running on a pSeries(R) system with
the IBM AIX(R) 5.3 operating system.
|
 |
Tutorials |
 |
24 Jul 2007 |
|
| |
System Administration Toolkit: Monitoring disk space and usage
Look at methods for determining disk usage across multiple UNIX(R) systems and how to create a simple warning system to alert you of potential problems. Keeping an eye on your file systems and ensuring they don't fill up is a trivial, but vital, process in the day-to-day management of your UNIX systems. In this article, you'll look at methods for keeping an eye on disk space, discovering which files, users, or applications are using up the most space, and how to make use of quotas and other solutions to find the information you need.
|
 |
Articles |
 |
13 Jun 2006 |
|
| |
Retool your Linux skills for commercial UNIX
Examine how to best migrate your Linux(R) skills to take advantage of AIX(R) and Solaris. Linux is all the rage, but what if you have experience in Linux and need to apply it to a commercial UNIX(R) environment? UNIX and Linux are similar, and many of the same principles exist; there is a shell, root is still all powerful, and many of the tools and applications are the same. But how do you cope with understanding the nuances and differences?
|
 |
Tutorials |
 |
30 Mar 2006 |
|
| |
UNIX network analysis
You can find out a lot about your network by using a variety of different
tools. If you want to understand the layout of your network, where packets are going, and what people are doing, then you need to use a variety of different tools that can help you to build up a picture of your network and what is going on. This tutorial examines techniques for
monitoring the traffic and content of your UNIX network and how to read and
diagnose problems on your network.
|
 |
Tutorial |
 |
05 May 2009 |
|
| |
Systems Administration Toolkit: Using SNMP data
The Simple Network Management Protocol (SNMP) is built in to many devices, but
often the tools and software that can read and parse this information are too large and
complicated when you only want to check a quick statistic or track a particular device
or issue. This article looks at some simplified methods for getting SNMP information
from your devices and how to integrate this information into the rest of your network's data map.
|
 |
Articles |
 |
15 Apr 2008 |
|
| |
Systems Administration Toolkit: Understanding DNS
The Domain Name System (DNS) is the service that converts hostnames and domain
details into the IP addresses required for application to communicate. Under UNIX, the
primary DNS service is based on BIND, and DNS itself is a key part of most UNIX
installations. This article looks at the basics of DNS setup, how servers and requests are distributed and exchanged, and how to set up and keep a DNS environment running smoothly.
|
 |
Articles |
 |
04 Mar 2008 |
|
| |
Systems Administration Toolkit: Log file basics
A typical UNIX or Linux machine creates many log files during the course of its
operation. Some of these contain useful information; others can be used to help you
with capacity and resource planning. This article looks at the fundamental information recorded within the different log files, their location, and how that information can be used to your benefit to work out what is going on within your system.
|
 |
Articles |
 |
26 Feb 2008 |
|
| |
Systems Administration Toolkit: Spam and virus filtering for e-mail
Look beyond tools like SpamAssassin and Amavis to see how you can extend
them and provide additional filtering facilities to lower the amount of spam hitting
the e-mail boxes of your users. Most companies use spam and virus filtering services
on their UNIX(R) platforms, but there are some methods that you can use that help
improve your filtering scores and might even eliminate spam reaching inboxes.
|
 |
Articles |
 |
22 Jan 2008 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 6: Building the Java business application
Set up a PHP Web interface for the Java(TM) business application using a
database created in earlier in this series. The PHP Web interface collects
information from users and sends the session data to the Java business application
for processing and for a response.
|
 |
Tutorials |
 |
15 Jan 2008 |
|
| |
Systems Administration Toolkit: Monitoring mail usage
Examine methods for reporting on e-mail usage and getting detailed
statistics on mailbox use. E-mail logs can provide a wealth of information about
your users and their e-mail habits, including how often and frequently they use
their e-mail. Depending on your UNIX(R) systems, you might even be able to glean
more detailed information, such as identifying which users are using their folders
effectively and who could benefit from further training and advice.
|
 |
Articles |
 |
18 Dec 2007 |
|
| |
Systems Administration Toolkit: Network scanning
Discover how to scan your network for services and how to regularly monitor
your services to keep uptimes to a maximum. A key way of ensuring the security of
your network is to know what is on your network and what services individual
machines are at risk of exposure. Unauthorized services, such as Web servers or file
sharing solutions, not only degrade performance, but others can use these services
as routes into your network. In this article, learn how to use these same techniques
to ensure that genuine services remain available.
|
 |
Articles |
 |
04 Dec 2007 |
|
| |
Systems Administration Toolkit: Monitor user usage
Explore new ways to record UNIX(R) logins and other system activities in a
number of different logs, and take advantage of this information to monitor user usage. This can
be helpful from a number of perspectives, either to use for chargeback reporting or
just to get an idea of how busy and active individual users are on the system to
help when planning and allocating resources.
|
 |
Articles |
 |
23 Oct 2007 |
|
| |
Systems Administration Toolkit: Testing system validity
Examine methods of storing and later checking the validity of your
configuration files. Despite all the security systems you have in place, it is still
possible that somebody has accessed your system and changed your configuration or
security settings.
|
 |
Articles |
 |
11 Sep 2007 |
|
| |
Develop with Java and PHP technology on AIX Version 5.3, Part 5: Installing and integrating the PHP Java Bridge
It is possible to develop applications that employ both Java(TM) and PHP
technology on AIX(R). Part 5 of this six-part series teaches you how to install, set
up, and integrate the PHP Java Bridge into the Tomcat application server, making you
all set for developing a PHP Web interface.
|
 |
Articles |
 |
21 Aug 2007 |
|
| |
System Administration Toolkit: Distributed administration using SSH
Use Secure Shell (SSH) to run commands on remote UNIX(R) systems and, with
some simple scripts, put together a system that enables you to manage many systems
simultaneously from one machine without having to log in directly to the machines
themselves. Also examine the basics of a distributed management system and some
scripts and solutions using the technique.
|
 |
Articles |
 |
14 Aug 2007 |
|
| |