Where to start First steps track · 15 stages
Linux Labs

Inside the system: resources, kernel, processes

Quiz: what a process is doing

Question 1 of 10
Leave the quiz

Tracing with strace, the ENOENT and EACCES errors, attaching to a process and /proc/<PID>/fd, lsof and locks, the kernel buffer and log, an ext4 error, a segfault and e2fsck. The questions follow the lessons “strace and /proc: what a process is doing” and “dmesg and the kernel log”.

10 questions · threshold 70%

Read the output

The tail of a trace of a program that silently exited with status 1. Why did it exit?

$ strace nightsync 2>&1 | tail -n 4
openat(AT_FDCWD, "/etc/nightsync/sync.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0x70f90e018000, 16384)           = 0
exit_group(1)                           = ?
+++ exited with 1 +++
A–C or ↵ Sign in to answer
Loading…