Aquesta és una revisió antiga del document


LPIC2 2021 Sesión 4 (2021-02-11)

  • Presentaciones/2020/201/202 - Arranque del Sistema.pdf

SystemV

SystemD

  • levanta los servicios de manera paralela
  • systemd-cgls: procesos en arbol
  • systemd-cgtop
  • systemd-analyze
    • blame: tiempos de arranque de los servicios, para ver quien es el lento
    • plot > /var/www/html/plot.html
Units
  • service
  • socket
  • device
  • mount
  • automount
  • target (runlevels)
  • snapshot
  • cgroups: gestión en caliente de CPU,RAM,DISCO
  • service es unit por defecto (se puede omitir en los comandos)
  • systemctl <accion> <unidad>
  • start
  • stop
  • enable: activa en el arranque
  • enable –now
  • disable
  • reload
  • status

targets

  • los runlevels en systemV
  • cat /etc/inittab
  • runlevelX.target o <NOMBRE>.target
    • 0: halt?
    • 1: rescue.target
    • 2:
    • 3:
    • 4: multi-user.target
    • 5: graphical.target
    • 6: reboot.target
  • systemctl get-default
  • systemctl set-default <TARGET>.target
  • systemctl isolate <TARGET>.target → init o telinit en systemV
snapshot
mask
  • para e impide ejecución de un servicio (o unidad?)
  • systemctl mask nombre.service
  • systemctl unmask nombre.service
laboratorio
  • Material Practicas LPIC-2/LPIC-201/3-System Startup/SystemD/Laboratorio 1 Gestion de servicios con systemctl

GRUB

  • info/cursos/pue/lpic2-2021/s4.1613068834.txt.gz
  • Darrera modificació: 11/02/2021 10:40
  • per mate