What is a system call? How can you see which ones a process makes?
IntermediateConceptBoot Process & Kernel
Answer
A system call is the controlled entry point from user space into the kernel. glibc wraps most of them (printf eventually calls write).
strace -f -e trace=openat,connect curl -s https://example.com -o /dev/null
strace -c -p 1234 # syscall count summary for a running PID
strace uses ptrace and slows the target noticeably, so use it carefully in production.
More on Boot Process & Kernel
Walk through the Linux boot process from power-on to login prompt.BeginnerWhat is the difference between BIOS and UEFI booting?IntermediateWhat does GRUB2 do and where is its configuration?BeginnerWhat is the initramfs and why is it needed?AdvancedHow do you view and change kernel command-line parameters?IntermediateWhat is systemd and why did it replace SysV init?Beginner