Avaya R3.0 manual Memory usage, Interactive Commands Command Description

Page 24
Table 3: Interactive Commands

Operating System Monitoring

The top command displays currently running processes and important information about the process, including their memory and CPU usage. The list is both real-time and interactive.

To exit top, press the q key.

Useful interactive commands that you can use with top include the following:

Table 3: Interactive Commands

Command Description

[Space]

Immediately refresh the display

[h]Display a help screen

[k]Kill a process. You will be prompted for the process ID and the signal to send to it.

[n]Change the number of processes displayed. You will be prompted to enter the number.

[u]Sort by user

[M]Sort by memory usage

[P]Sort by CPU usage

Memory usage

The free command displays the total amount of physical memory and swap space for the system as well as the amount of memory that is used, free, shared, in kernel buffers, and cached.

 

total

used

free

shared

buffers

cached

Mem:

256812

240668

16144

105176

50520

81848

-/+ buffers/cache:

108300

148512

 

 

 

Swap:

265032

780264252

 

 

 

 

The

command free -mshows the same information in megabytes, which are easier to read.

 

 

total

used

free

shared

buffers

cached

Mem:

250

235

15

102

49

79

-/+

buffers/cache:

105

145

 

 

 

Swap:

258

0

258

 

 

 

24 Secure Services Gateway (SSG) Maintenance Guide

Image 24
Contents Secure Services Gateway SSG Maintenance Guidein support of the Secure Access and Control Offer SAC R3.0 19-300174 Issue 6 August2005 Avaya Inc. All Rights Reserved Email totalware@gwsmail.comChapter 1 Maintenance Overview Chapter 2 Hardware Upgrade and MaintenanceChapter 5 Operating System Recovery Chapter 3 Server Initialization and ShutdownChapter 6 SSG Configuration Backup and Restore IndexContents 4 Secure Services Gateway SSG Maintenance GuideChapter 1 Maintenance Overview Chapter contentsOverview Overview Related resources Linux operating system manualsContent Related resourcesTable 1 Related Resources Document TitleTable 1 Related Resources continued 2 ofLinux operating system manuals 3. Under the column Support Resources, go to DocumentationChapter 2 Hardware Upgrade and Maintenance Installation guidelinesInstallation guidelines Removing the cover of the x305 IBM server In this chapterSystem reliability guidelines Handling static sensitive devicesGeneral safety guidelines Replacing the hard drive Replacing the hard drive in an x305 IBM serverReplacing the hard drive in an x306 IBM server Tasks to replace the hard drive TaskDescription 4 Replace the hard drive. x305 see Replacing the hard drive in an3. Installing the new hard drive in the x305 IBM server Read General safety guidelines and Handling static sensitive devicesReplacing the hard drive in an x305 IBM server Removing the cover of the x305 IBM serverFigure 1 Captive screws on cover Removing the hard drive from the x305 IBM server Figure 2 Removing and replacing the drive cageInstalling the new hard drive in the x305 IBM server Replacing the cover of the x305 IBM server2. Installing the new hard drive in the x306 IBM server Figure 3 Removing and installing the hard driveReplacing the hard drive in an x306 IBM server Removing the hard drive from the x306 IBM serverInstalling the new hard drive in the x306 IBM server Replacing the x305 IBM server’s RSAReplacing the server’s dual NIC 20 Secure Services Gateway SSG Maintenance GuideChapter 3 Server Initialization and Shutdown Server initializationServer initialization System shutdown System shutdown Chapter 4 Operating System Monitoring Gathering system informationMonitoring system processes Gathering system information Monitoring system processesTable 3 Interactive Commands Command Description Memory usageFile systems Virtual memorySpace used by files in a directory Additional resources Chapter 5 Operating System Recovery Hardware/software problemsRoot password Hardware/software problems Booting into single-user modeBooting into rescue mode linux rescuesh-2.05b# chroot /mnt/sysimagemount -t ext3 /dev/hda5 /foo fdisk -l oneBooting into single-user mode Booting into emergency mode 32 Secure Services Gateway SSG Maintenance Guide Chapter 6 SSG Configuration Backup and Restore Backing up the SSG configurationBacking up the SSG configuration Restoring the SSG configuration Figure 4 Edit Backup Scheduler Configuration Page SSG Configuration Backup and Restore34 Secure Services Gateway SSG Maintenance Guide 6. Click Save Changes Restoring the SSG configuration pgrestore -v -p 6543 -d avssgdb -a -Ft --no-owner dbdumpfilename.tara. mkdir tempdir b. cd tempdir c. tar zfx ~/SSG-Product Id-Date-Time.tgzIndex Index38 Secure Services Gateway SSG Maintenance Guide