Mailinglist Archive: opensuse-es (786 mails)

< Previous Next >
Re: [suse-linux-s] Respecto a mi lentitud
  • From: Rafael Grimán <rafa@xxxxxxxxxxxxx>
  • Date: Sun, 25 May 2003 20:05:40 +0200
  • Message-id: <3ED105F4.80605@xxxxxxxxxxxxx>
Hola :)

Daniel Frias wrote:
[...]

Recibí alguna que otra sugerencia y, entre otras, se me comentó que mediante el comando "ps ax" vería qué recursoso estoy usando. Lo hice y os envio el


Con

ps axu

obtienes más información: %CPU, %RAM, ...



[...]

papa@linux:~> ps ax
PID TTY STAT TIME COMMAND
[...]

Las lineas que vienen a continuación te cargan RAID, LVM y reiserfs. Si n lo utilizas, puedes desactivarlo en YaST.

9 ? SW muchos de0:00 [mdrecoveryd]
12 ? SW 0:00 [kreiserfsd]
73 ? SW< 0:00 [lvm-mpd]

Si no necesitas dhcp, lo puedes desactivar
345 ? S 0:00 /sbin/dhcpcd -H -D -N -Y -t 999999 -h linux eth0
[...]

Si no usas portmap (para NFS y NIS) ni ssh (conexiones encriptadas a tu equipo), los puedes desactivar
528 ? S 0:00 /sbin/portmap
580 ? SW 0:00 /usr/sbin/sshd

Servidor de impresión, si no lo usas, lo puedes desactivar
620 ? S 0:00 /usr/sbin/cupsd
[...]

Si no usas at, puedes desactivar atd:
837 ? SW 0:00 /usr/sbin/atd
[...]


946 tty1 SW 0:00 /sbin/mingetty --noclear tty1
947 tty2 SW 0:00 /sbin/mingetty tty2
948 tty3 SW 0:00 /sbin/mingetty tty3
949 tty4 SW 0:00 /sbin/mingetty tty4
950 tty5 SW 0:00 /sbin/mingetty tty5
951 tty6 SW 0:00 /sbin/mingetty tty6

Tienes 6 terminales arrancadas, con 3 tienes de sobra, modifica el fichero:

/etc/inittab

de forma que pase de

# getty-programs for the normal runlevels
# <id>:<runlevels>:<action>:<process>
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
1:2345:respawn:/sbin/mingetty --noclear tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

a

# getty-programs for the normal runlevels
# <id>:<runlevels>:<action>:<process>
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
1:2345:respawn:/sbin/mingetty --noclear tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6

y ahora teclea:

init q && init u

o bien rearranca. No notarás un aumento de rendimiento increible, sólo habrás liberado algo de RAM.

--
rgriman@xxxxxxx http://www.suse.de/es
http://www.suse.com

rafael.griman@xxxxxxxxxxxxx http://www.hispalinux.es

rafa@xxxxxxxxxxxxx
registered Linux user 286102 http://counter.li.org/

"If brute force doesn't work, you aren't using enough."


< Previous Next >
Follow Ups
References