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

Abstract Art Prints on Canvas

admin headlines

GlusterFS 3.2.x Tutorial: Distributed Storage on 4 nodes (CentOS 6.3)

Uninstall the overlay-scrollbar in Pear Linux 6 and Ubuntu 12.10

Tutorial: Build an OpenSUSE 12.2 x86_64 Server

GlusterFS 3.2 Tutorial: 4 Node Distributed Replicated Storage on Ubuntu 11.10

Tutorial: Build a Debian 6 server with BIND, Dovecot, Nginx

Tutorial: Xen on CentOS 6.2

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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