Boot - Commands

command explanation more info efibootmgr -v manipluate teh UEFI Boot Manager man efibootmgr -v manipluate teh UEFI Boot Manager man

September 15, 2020 · 1 min · Me

Files1 - Commands

command explanation more info df information about disk free / usage man fdisk manipulate disk partition table man gdisk Interactive GUID partition table (GPT) manipulator man blkid command-line utility to locate/print block device attributes man mkfs build a Linux file system man lsblk list block devices man fsck check and repair a Linux file system man

September 15, 2020 · 1 min · Me

Files2 - Commands

Creating LVM – Initialize Physical Volumes (PV) to be managed by LVM $ pvcreate /dev/vdb1 – Create a Logical Volume Group (VG) and attach PVs $ vgcreate myVG /dev/vdb1 /dev/vdc1 … – Create Logical Volume on VG $ lvcreate -L 1G -n myLV myVG – Format and mount – Resize (extend/reduce) a logical volume $ lvextend –resizefs -L 800M /dev/myVG/myLV $ lvreduce –resizefs -L 100M /dev/myVG/myLV – Create snapshot $ lvcreate –size 50M –snapshot –name myLVSnpsht /dev/myVG/myLV...

September 15, 2020 · 1 min · Me

How To Cgroup

Get An Overview tree /sys/fs/cgroup/pids How To Create Cgroup V1 create a cgroup filesystem –> sudo mount -t tmpfs -o size=10M tmpfs /mnt/mytmpfs mount filesystem with restriction –> mount -t cgroup -o cpu,cpuacct none sys/fs/cgroup/cpu,cpuacct create file group with folder –> mkdir /sys/fs/cgroup/cpu/cg1 move a process into cgroup –> echo $$ > /sys/fs/cgroup/cpu/cg1/cgroup.procs Limit Access To Device V1 ls /dev/null mkdir /sys/fs/cgroup/devices/group0 cat /sys/fs/cgroup/devices/group0/devices.list echo ‘c 1:3 rmw’ > /sys/fs/cgroup/devices/group0/devices....

September 15, 2020 · 1 min · Me

Introduction

Computer Hardware Review - CPU command explanation more info uname -a lists distribution man less /proc/cpuinfo lists info for CPU configuration man lscpu CPU information man lshw Hardware information man top lists running process man perf detailled performance per process man strace shows system activity man

September 15, 2020 · 1 min · Me