[eside-ghost] Exprimiendo memoria!!!

JammyZ jammyz en gmail.com
Mie Ago 16 15:07:00 CEST 2006


Aupa, tengo un programa en Java con altos requerimientos de memoria y una
maquina con 512 MB de Ram ( y memoria de video compartida).
Estoy usando Ubuntu Dapper y tras arrancar paso a consola y mato las X con
/etc/init.d/gdm stop
Se me queda la maquina tal que asi:

Tasks:  51 total,   1 running,  50 sleeping,   0 stopped,   0 zombie
Cpu(s):  7.0% us,  4.5% sy,  0.0% ni, 68.9% id, 19.3% wa,  0.1% hi,  0.3% si
Mem:    514080k total,   137520k used,   376560k free,     5216k buffers
Swap:   979956k total,        0k used,   979956k free,    98280k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      16   0  1568  532  460 S  0.0  0.1   0:01.13 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.56 events/0
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    7 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.04 kblockd/0
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   11 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid-work-0
  150 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  151 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  153 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  152 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
  741 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 kseriod
 1823 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
 1848 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khpsbpkt
 1872 root      15   0     0    0    0 S  0.0  0.0   0:00.00 knodemgrd_0

Y ps ax devuelve todo esto:

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:01 init [2]
    2 ?        S      0:00 [migration/0]
    3 ?        SN     0:00 [ksoftirqd/0]
    4 ?        S      0:00 [watchdog/0]
    5 ?        S<     0:00 [events/0]
    6 ?        S<     0:00 [khelper]
    7 ?        S<     0:00 [kthread]
    9 ?        S<     0:00 [kblockd/0]
   10 ?        S<     0:00 [kacpid]
   11 ?        S<     0:00 [kacpid-work-0]
  150 ?        S      0:00 [pdflush]
  151 ?        S      0:00 [pdflush]
  153 ?        S<     0:00 [aio/0]
  152 ?        S      0:00 [kswapd0]
  741 ?        S<     0:00 [kseriod]
 1823 ?        S<     0:00 [khubd]
 1848 ?        S      0:00 [khpsbpkt]
 1872 ?        S      0:00 [knodemgrd_0]
 1957 ?        S      0:00 [kjournald]
 2192 ?        S<s    0:00 /sbin/udevd --daemon
 3079 ?        S      0:00 [shpchpd_event]
 3199 ?        S      0:00 [pccardd]
 3200 ?        S      0:00 [pccardd]
 3321 ?        S<     0:00 [wrapper_wq]
 3992 ?        Ss     0:00 /usr/sbin/acpid -c /etc/acpi/events -s
/var/run/acpid.socket
 4009 ?        Ss     0:00 /sbin/syslogd -u syslog
 4035 ?        Ss     0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
 4037 ?        Ss     0:00 /sbin/klogd -P /var/run/klogd/kmsg
 4056 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 4071 ?        Ss     0:01 /usr/sbin/hald
 4072 ?        S      0:00 hald-runner
 4077 ?        S      0:00 /usr/lib/hal/hald-addon-acpi
 4134 ?        S      0:00 /usr/lib/hal/hald-addon-keyboard
 4446 ?        Ss     0:00 /usr/sbin/cupsd
 4487 ?        Ssl    0:00 /usr/sbin/hpiod
 4490 ?        S      0:00 python /usr/sbin/hpssd
 4561 ?        Ss     0:00 /usr/sbin/netdaemon
 4588 ?        Ss     0:00 /usr/sbin/nmbd -D
 4590 ?        Ss     0:00 /usr/sbin/smbd -D
 4615 ?        S      0:00 /usr/sbin/smbd -D
 4616 ?        Ss     0:00 /usr/sbin/sshd
 4689 ?        Ss     0:00 hcid: processing events
 4693 ?        Ss     0:00 /usr/sbin/sdpd
 4711 ?        S<     0:00 [krfcommd]
 4724 ?        Ss     0:00 /sbin/mdadm -F -i /var/run/mdadm.pid -m root -f
-s
 4760 ?        Ss     0:00 /usr/sbin/atd
 4773 ?        Ss     0:00 /usr/sbin/cron
 4874 tty1     Ss     0:00 /bin/login --
 4890 tty1     S      0:00 -bash
 4910 ?        S<s    0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf
/var/lib/dhcp3/dhclient.eth0.leases eth0
 4923 tty1     R+     0:00 ps ax

Que procesos puedo matar para intentar rascar el maximo de memoria al
sistema???? Recordad que lo unico que necesito es lanzar un programa java en
modo consola, no necesito entorno grafico para nada.
Sugerencias?
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://listas.deusto.es/mailman/private/eside-ghost/attachments/20060816/c7265b84/attachment.htm


Más información sobre la lista de distribución eside-ghost