Avaya R3.0 Operating System Monitoring, Gathering system information, Monitoring system processes

Page 23
Chapter 4: Operating System Monitoring

Chapter 4: Operating System Monitoring

Chapter contents

This section describes how to monitor the various operating system functions. This includes:

Gathering system information

Monitoring system processes

Additional resources

Gathering system information

Before configuring your operating system, you gather essential system information using simple Linux commands and programs. For example, you should know

how to find the amount of free memory,

the amount of available hard drive space,

how your hard drive is partitioned, and

what processes are running.

Monitoring system processes

The ps ax command displays a list of current system processes. To display the process owner along with the processes, use the command ps aux. This list is a static list; in other words, it is a snapshot of what is running when you invoked the command. If you want a constantly updated list of running processes, use top as described below.

The ps output can be long. To prevent it from scrolling off the screen, you can pipe it through less:

ps aux less

You can use the ps command in combination with the grep command to see if a process is running. For example, to determine if Emacs is running, use the following command:

ps ax grep emacs

Issue 6 August 2005 23

Image 23
Contents 19-300174 Issue 6 August Secure Services Gateway SSGMaintenance Guide in support of the Secure Access and Control Offer SAC R3.0Email totalware@gwsmail.com 2005 Avaya Inc. All Rights ReservedChapter 3 Server Initialization and Shutdown Chapter 1 Maintenance OverviewChapter 2 Hardware Upgrade and Maintenance Chapter 5 Operating System Recovery4 Secure Services Gateway SSG Maintenance Guide Chapter 6 SSG Configuration Backup and RestoreIndex ContentsOverview Related resources Linux operating system manuals Chapter 1 Maintenance OverviewChapter contents OverviewDocument Title ContentRelated resources Table 1 Related Resources2 of Table 1 Related Resources continued3. Under the column Support Resources, go to Documentation Linux operating system manualsIn this chapter Chapter 2 Hardware Upgrade and MaintenanceInstallation guidelines Installation guidelines Removing the cover of the x305 IBM serverHandling static sensitive devices System reliability guidelinesGeneral safety guidelines Replacing the hard drive in an x306 IBM server Replacing the hard driveReplacing the hard drive in an x305 IBM server 4 Replace the hard drive. x305 see Replacing the hard drive in an Tasks to replace the hard driveTask DescriptionRemoving the cover of the x305 IBM server 3. Installing the new hard drive in the x305 IBM serverRead General safety guidelines and Handling static sensitive devices Replacing the hard drive in an x305 IBM serverFigure 1 Captive screws on cover Figure 2 Removing and replacing the drive cage Removing the hard drive from the x305 IBM serverReplacing the cover of the x305 IBM server Installing the new hard drive in the x305 IBM serverRemoving the hard drive from the x306 IBM server 2. Installing the new hard drive in the x306 IBM serverFigure 3 Removing and installing the hard drive Replacing the hard drive in an x306 IBM serverReplacing the x305 IBM server’s RSA Installing the new hard drive in the x306 IBM server20 Secure Services Gateway SSG Maintenance Guide Replacing the server’s dual NICServer initialization System shutdown Chapter 3 Server Initialization and ShutdownServer initialization System shutdown Gathering system information Monitoring system processes Chapter 4 Operating System MonitoringGathering system information Monitoring system processesMemory usage Table 3 Interactive Commands Command DescriptionSpace used by files in a directory File systemsVirtual memory Additional resources Hardware/software problems Booting into single-user mode Chapter 5 Operating System RecoveryHardware/software problems Root passwordlinux rescue Booting into rescue modefdisk -l one sh-2.05b#chroot /mnt/sysimage mount -t ext3 /dev/hda5 /fooBooting into single-user mode Booting into emergency mode 32 Secure Services Gateway SSG Maintenance Guide Backing up the SSG configuration Restoring the SSG configuration Chapter 6 SSG Configuration Backup and RestoreBacking up the SSG configuration 34 Secure Services Gateway SSG Maintenance Guide Figure 4 Edit Backup Scheduler Configuration PageSSG Configuration Backup and Restore 6. Click Save Changes c. tar zfx ~/SSG-Product Id-Date-Time.tgz Restoring the SSG configurationpgrestore -v -p 6543 -d avssgdb -a -Ft --no-owner dbdumpfilename.tar a. mkdir tempdir b. cd tempdirIndex Index38 Secure Services Gateway SSG Maintenance Guide