โ† All LCA Flashcard Decks

Process Management & System Services Flashcards

7 cards from real LCA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Process Management & System Services flashcards as text
  1. Which command displays all running processes in a hierarchical tree format showing parent-child relationships?

    Answer: pstree

    pstree displays processes in a tree structure that clearly shows parent-child relationships between processes.

  2. What signal number is used to forcefully terminate a process, bypassing any cleanup handlers?

    Answer: 9 (SIGKILL)

    SIGKILL (signal 9) immediately terminates a process at the kernel level without allowing the process to perform any cleanup.

  3. Which systemctl command enables a service to start automatically at system boot?

    Answer: systemctl enable

    systemctl enable creates the necessary symlinks so the service is started during the appropriate boot target automatically.

  4. What is the effect of running a process with a higher nice value such as 'nice +19'?

    Answer: The process receives lower CPU scheduling priority

    Higher nice values (up to +19) indicate lower scheduling priority, meaning the process yields CPU time to other processes.

  5. Which file is the system-wide crontab that includes a username field for specifying which user runs each job?

    Answer: /etc/crontab

    /etc/crontab is the system-wide crontab file with an extra username field, distinguishing it from per-user crontabs.

  6. Which command shows the current runtime status, recent log entries, and PID of a systemd-managed service?

    Answer: systemctl status

    systemctl status displays the service state, active PID, recent journal entries, and other runtime details in a concise summary.

  7. Which command sends a signal to all processes matching a given name without requiring the PID?

    Answer: pkill

    pkill sends signals to processes based on their name or other attributes, eliminating the need to look up PIDs first.

Process Management & System Services Flashcards โ€” LCA Study Cards with Answers