Linux

Report Memory Map of a Process in Linux

The pmap command can be used to obtain a memory map report for a process or list of processes. In my opinion, it is a great tool to explore memory leaks and any other memory related issues. If you simply invoke pmap with no options, it will list the usage with general available options, as shown …

Report Memory Map of a Process in Linux Read More »

Analyzing Database Server I/O Bottlenecks using IOSTAT

iostat (input/output statistics) an utility that reports Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat command generates reports that can be used to …

Analyzing Database Server I/O Bottlenecks using IOSTAT Read More »

Identifying CPU and Memory Intensive processes on a database server using PS

ps (process statistics) is an utility that reports a snapshot of the current processes. By default, ps selects all processes with the same effective user ID (euid=EUID) as the current user and associated with the same terminal as the invoker. It displays the process ID (pid=PID), the terminal associated with the process (tname=TTY), the cumulated …

Identifying CPU and Memory Intensive processes on a database server using PS Read More »

Analyzing Database Server CPU/Processor Bottlenecks using MPSTAT

mpstat (multiple processor statistics) is an utility that report processors related statistics. Below is the sample default output generated by mpstat with no options: The report generated by the mpstat command has the following format: CPU: Processor number, starts with 0. The keyword all indicates that statistics are calculated as averages among all processors. %user: …

Analyzing Database Server CPU/Processor Bottlenecks using MPSTAT Read More »

Prepare your Linux Server to install Oracle database using oracle-validated RPM

Preparing a Linux server to install oracle has been made easy with the help of oracle-validated rpm package. Install of oracle-validated automates the download and install of all required RPMs including dependencies, setup of Linux kernel parameters, creation of oracle user (Linux user) and dba, oinstall groups I have been thinking of trying out oracle-validated …

Prepare your Linux Server to install Oracle database using oracle-validated RPM Read More »

Analyzing Database Server Bottlenecks using VMSTAT

vmstat (virtual memory statistics) reports information about processes, memory, paging, block IO, traps, and cpu activity. Below is the sample default output generated by vmstat with no options: Column description of default output. Procs r: The number of processes waiting for run time. b: The number of processes in uninterruptible sleep. Memory swpd: the amount …

Analyzing Database Server Bottlenecks using VMSTAT Read More »

Managing Software Packages (aka RPMs) with Yum

Introduction Yum (Yellow dog Updater, Modified) automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. Packages also include a digital signature to identify their source. Software management utilities like yum and rpm verify these signatures using GPG public key. Yum and RPM …

Managing Software Packages (aka RPMs) with Yum Read More »

Building Firestarter Firewall and Clam AntiVirus Packages

Please refer to my post Build your own Red Hat Packages to set up the build environment Firestarter Firewall If you can not find the binary RPM for your distribution, please download the source rpm from http://www.fs-security.com/download.php You can check whether the required rpms installed on your machine or not, by issuing; Install the required …

Building Firestarter Firewall and Clam AntiVirus Packages Read More »