Processes1 - Analysis of a Process

size /bin/ls –> lists size of objects files (text, data, bss, dec) objdump -d /bin/ls –> assembly code of process objdump -h /bin/ls –> only headers of assembly

September 15, 2020 · 1 min · Me

Processes2 - Commands

command explanation more info cgroups Linux control groups man systemd-cgls Recursively show control group contents man systemd-cgtop Show top control groups by their resource usage man /proc/cgroups Show top control groups by their resource usage man

September 15, 2020 · 1 min · Me

Scheduling - Commands

command explanation more info nice run a program with modified scheduling priority man

September 15, 2020 · 1 min · Me

Specials

Useful Commands sudo hexdump -C /boot/efi/EFI/ubuntu/shimx64.efi | egrep -C 2 grub –> listet auf, welche EFI-Datei gestartet wird sudo strings /boot/efi/EFI/ubuntu/grubx64.efi | egrep .cfg –> listet Grub-Config auf cat /boot/grub/grub.cfg –> genauer Inhalt von Grub-Config Different Services Unit Name File Appendix Decription Example Service unit .service A system service. cat /etc/systemd/system/sshd.service Target unit .target A group of systemd units. -> equivalent to RUNLEVEL man systemd....

September 15, 2020 · 1 min · Me