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

Abstract Art on stretched canvas

admin headlines

Tutorial: Serve CGI Scripts with Nginx on Fedora 18

Rate Limiting with nginx

OpenSUSE 12.2 Samba Server with tdbsam

Headless VirtualBox 4.2 on OpenSUSE 12.2

Tutorial: Install Apache2, PHP5, MySQL on OpenSUSE 12.2

Tutorial: Apache2 with mod_fcgid, PHP5 on Ubuntu 11.10

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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