You are not logged in.
how to see a particular program(mplayer) memory usage?
Offline
You can use top, or see the diff between two free (before and after starting the program), or you can use the gnome kde system monitor. Take care with the kde one, that shows shared memory too by default.
Seeing the exact memory use is very complicated (thare's a lot of efforts to accomplish that).
Last edited by Kknd (2008-01-05 16:43:14)
Offline
Hi,
you can use
ps v -C opera
(Replace Opera with mplayer) as well.
It will give you an output similar to the following:
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
8172 ? Sl 0:07 0 12856 179519 61320 6.0 /usr/lib/opera/9.50-20071213.2/opera -style plastik
The RSS column will show you a value close to the memory consumption, in my case about 60MB.
Last edited by wuischke (2008-01-05 17:49:27)
Offline
thanx wuischke
Offline
I like htop
pacman -S htop
and then run htop
see F2 for options
Offline
When I try ...ps v -C mplayer in a terminal, I cannot enter the ..... -C...
Why?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Mh...it's offtopic, but what console keymap are you using? Does it work with copy and paste? (I assume you wrote this post on the same computer where you have the problem.)
Offline
Found a way to workaround it...using caps lock works....
Thanks for reply.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline