Legenda (oznaczenia używane w postach) czyli lets clean this burdel

Oznaczenia używane w postach

Zwykły tekst Czcionka Georgia

apt-get install -Komenda



-ryzyko uszkodzenia systemu


-skrypt w bashu
-Ważna informacja

=====
wycinek z loga konsoli
====

nano /etc/resolv.conf plik do edycji


czwartek, 1 marca 2018

speedujemy kapelusz

https://harald.hoyer.xyz/2013/11/13/fedora-boot-optimization/
systemd-analyze plot > boot.svg
systemd-analyze
Startup finished in 1.726s (kernel) + 3.526s (initrd) + 15.500s (userspace) = 20.754s

 systemd-analyze blame
         15.098s dnf-makecache.service
          6.347s dkms.service
          3.903s udisks2.service
          3.692s systemd-udev-settle.service
          2.979s chronyd.service
          2.954s initrd-switch-root.service
          2.940s abrtd.service
          2.602s vboxdrv.service
          2.420s systemd-fsck@
          2.413s cups.service
          2.396s gssproxy.service
          2.396s switcheroo-control.service


Wyłączamy usługi najbardziej spowalniające boot.

systemctl disable  nazwa-uslugi.service

sudo dnf remove 'plymouth*'
sudo dracut -f
reboot

Listujemy usługi

systemctl list-unit-files | grep disabled  (listuje wyłączone usługi)
systemctl list-unit-files | grep enabled  (listuje włączone usługi)

To list all the systemd service which are in state=active and sub=running
systemctl list-units --type=service --state=running
To list all the systemd serice which are in state=active and sub either running or exited
systemctl list-units --type=service --state=active




https://www.cyberciti.biz/faq/check-running-services-in-rhel-redhat-fedora-centoslinux/

sudo dnf remove 'plymouth*'
sudo dracut -f

dmidecode

NAME
       dmidecode - DMI table decoder

SYNOPSIS
       dmidecode [OPTIONS]

DESCRIPTION
       dmidecode  is a tool for dumping a computer's DMI (some say SMBIOS) ta‐
       ble contents in a human-readable format. This table contains a descrip‐
       tion  of  the  system's  hardware  components,  as well as other useful
       pieces of information such as serial numbers and BIOS revision.  Thanks