« Converting from .mov filesHOWTO: Create an ISO image from a CD or DVD »

HOWTO: Find the memory usage of a process

11/03/09

Permalink 09:28:50 am, by richard Email , 130 words   English (GB)
Categories: Ubuntu Linux, OS and Systems Administration

HOWTO: Find the memory usage of a process

Well this was something i needed to do the other day and as I would not need to do it again for some time, and would therefore forget what i did. i simply wrote it down for later use :)

Take a look as the man page for the command ps. Well thats about it really. Ok, a little more info would be nice.

What is needed is to change the format of the output to give the required information. I my case I wanted to see only the PID, user name, the command name and the memory usage. This will give the following:

ps -o pid,euser,comm,rss

Take a look at the section STANDARD FORMAT SPECIFIERS there are a hole bunch of them to choose from.

No feedback yet

Here are a collection of Mini-HOWTOs some of which are too short even for that grand title. I keep them around as it is easier to remember where to look these up that to remember the content of the mini-HOWTO

Search

Contents

powered by free blog software