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

Buy Art Online with Satisfaction Guaranteed

admin headlines

Installing FreeIPA with Replication

Tutorial: Build an Ubuntu 13.04 Server (Apache2, BIND, Dovecot)

Installing SugarCRM Community Edition On Fedora 17

LVM and full disk encryption configuration in Ubuntu Ubiquity

Chrooting Apache2 on Debian 6

Virtual Hosting with PureFTPd and MySQL

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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