pidof systemd
2733
If this return a number then your system supports systemd. Most Linux distributions in 2017 support systemd.
Since systemd starts the process then all processes will be children of systemd
| sudo apt-get remove \ | |
| aisleriot \ | |
| brltty \ | |
| duplicity \ | |
| empathy \ | |
| empathy-common \ | |
| example-content \ | |
| gnome-accessibility-themes \ | |
| gnome-contacts \ | |
| gnome-mahjongg \ |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <fcntl.h> | |
| #include <linux/i2c-dev.h> | |
| // Terrible portability hack between arm-linux-gnueabihf-gcc on Mac OS X and native gcc on raspbian. | |
| #ifndef I2C_M_RD | |
| #include <linux/i2c.h> | |
| #endif |
| // This will works on Embedded GPU that implements .gem_prime_mmap like Rockchip ones. | |
| // This will fail on most DRM drivers for GPU with dedicated memory as they tend to NOT implement .gem_prime_mmap. | |
| #include <stdio.h> | |
| #include <libdrm/drm.h> | |
| #include <stdint.h> | |
| #include <sys/mman.h> | |
| #include <string.h> |
| #!/usr/bin/env python | |
| import argparse | |
| import sys | |
| import os | |
| import pefile | |
| build_dir='Build/OvmfX64/DEBUG_GCC5/X64' | |
| def parse_flags()->argparse.Namespace: |