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:8141 | -nixcraft, November 24, 2007
More Sysadmin articles...

Abstract Art on Acrylic Panels

Selected articles

MiniLesson: An introduction to Linux in ten commands

Tutorial: Introduction to Linux files

Closed Source Linux Distribution Launched

Why Programmers are not Software Engineers

Download: Linux 3D Client for Starship Traders

The life cycle of a programmer

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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