Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Find Linux program memory use with pmap

Up
vote
Down

You can find the memory used by a program (process) by looking into /proc directory or using standard command such as ps or top. However, you must calculate all memory usage by hand i.e. add Shared Memory + mapped file + total virtual memory size of the process + Resident Set Size + non-swapped physical memory used by process.

So how do you find the memory used by a process or program under Linux?
 read more | score:8163 | -nixcraft, November 24, 2007
More Sysadmin articles...

Buy Digital Art on Acrylic

admin headlines

Setup a chroot environment on Ubuntu with debootstrap

Tutorial: Installing Apache2, PHP5, MySQL on Ubuntu 13.04

Glances CLI curses based monitoring tool for GNU/Linux

Using ngx_pagespeed with nginx On Debian 7

Tutorial: Install Nginx, PHP5, PHP-FPM, and MySQL on CentOS 6.4

Unix: Show Network Interface Card Statistics

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin