SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-04-28 14:20:31

macondo123
#! CrunchBanger
From: Panama
Registered: 2011-04-26
Posts: 115

Install ps_mem.py to check ram memory usage

macondo@foo:~$ wget [url]http://www.pixelbeat.org/scripts/ps_mem.py[/url]
--2011-04-28 09:10:50--  [url]http://www.pixelbeat.org/scripts/ps_mem.py[/url]
Resolving [url=http://www.pixelbeat.org]www.pixelbeat.org[/url]... 82.195.144.46
Connecting to [url=http://www.pixelbeat.org]www.pixelbeat.org[/url]|82.195.144.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13008 (13K) [text/plain]
Saving to: `ps_mem.py'

100%[===================================================================================>] 13,008      42.1K/s   in 0.3s    

2011-04-28 09:10:51 (42.1 KB/s) - `ps_mem.py' saved [13008/13008]

macondo@foo:~$ sudo mv ps_mem.py /usr/local/sbin/
macondo@foo:~$ sudo chmod 755 /usr/local/sbin/ps_mem.py
macondo@foo:~$ sudo ps_mem.py
 Private  +   Shared  =  RAM used       Program 

 76.0 KiB +  37.5 KiB = 113.5 KiB       startx
136.0 KiB +  21.0 KiB = 157.0 KiB       gpm
160.0 KiB +  40.0 KiB = 200.0 KiB       init
152.0 KiB +  58.5 KiB = 210.5 KiB       xinit
184.0 KiB + 112.5 KiB = 296.5 KiB       sh (3)
256.0 KiB +  55.5 KiB = 311.5 KiB       dbus-launch
224.0 KiB +  87.5 KiB = 311.5 KiB       cron
208.0 KiB + 109.5 KiB = 317.5 KiB       unclutter
336.0 KiB +  81.0 KiB = 417.0 KiB       sudo
472.0 KiB + 113.0 KiB = 585.0 KiB       bluetoothd
516.0 KiB +  75.0 KiB = 591.0 KiB       preload
568.0 KiB +  35.0 KiB = 603.0 KiB       dhclient
600.0 KiB + 127.5 KiB = 727.5 KiB       login
492.0 KiB + 317.0 KiB = 809.0 KiB       avahi-daemon (2)
532.0 KiB + 284.5 KiB = 816.5 KiB       wpa_supplicant [updated]
712.0 KiB + 246.0 KiB = 958.0 KiB       modem-manager
560.0 KiB + 448.0 KiB =   1.0 MiB       polkitd
680.0 KiB + 390.5 KiB =   1.0 MiB       gconfd-2
708.0 KiB + 363.0 KiB =   1.0 MiB       dbus-daemon (2)
  1.0 MiB +  66.5 KiB =   1.1 MiB       rsyslogd
668.0 KiB + 480.5 KiB =   1.1 MiB       ratpoison
568.0 KiB + 655.0 KiB =   1.2 MiB       udevd (3)
  1.0 MiB + 522.0 KiB =   1.5 MiB       console-kit-daemon
  1.4 MiB + 589.0 KiB =   2.0 MiB       NetworkManager
  1.5 MiB + 642.5 KiB =   2.1 MiB       conky
  1.9 MiB + 299.0 KiB =   2.2 MiB       xterm
  6.4 MiB + 825.0 KiB =   7.2 MiB       bash (2)
 6.9 MiB + 722.5 KiB =   7.6 MiB       Xorg
 64.8 MiB +   1.8 MiB =  66.7 MiB       firefox-bin
---------------------------------
                        103.0 MiB
=================================

 Private  +   Shared  =  RAM used       Program 

Desktop: Atom 1.6 || 1 MB RAM || 160 GB HD
Minimal Squeeze || icewm/fluxbox/ratpoison
KISS = Keep It Simple, Stupid

Offline

Be excellent to each other!

#2 2011-05-18 09:21:16

rich
#! Junkie
From: barcelona
Registered: 2009-01-26
Posts: 416
Website

Re: Install ps_mem.py to check ram memory usage

Nice little script that! I usually go for "top" or "pas aux", but ps_mem.py keeps it clean.

Thanks for sharing smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo