1. Linuxhistorical

    This page collects Linux notes on usage, processes, I/O, memory, and performance tuning as an entry point to operating-system practice.

  2. Threadhistorical

    A thread is an execution flow within a process, and a process can have several. These notes distinguish user-level and kernel-level thread implementations.

  3. Processhistorical

    A process is a running program, observable with ps and able to create children through fork. These notes examine address spaces and parent-child relationships.

  4. Memory Managementhistorical

    A buffer holds data not yet written to disk, while a cache holds data previously read from disk. These notes use that distinction to examine Linux memory usage.

  5. System Callshistorical

    System calls let programs access operating-system capabilities through a function-like interface. These notes compare their execution with ordinary function calls.

  6. I/O Modelshistorical

    Synchronous and asynchronous I/O concern how work proceeds and completion is reported; blocking and nonblocking concern waiting for results. These notes compare I/O models through system calls.

  7. select, poll, epollhistorical

    Select, poll, and epoll provide I/O multiplexing. These notes compare them starting with select's descriptor copying, scanning, and count limits.

  8. I/Ohistorical

    Files can be viewed as byte sequences, and Linux exposes many devices and kernel details through file interfaces. These notes examine I/O through that perspective.

  9. Zero-Copy Mechanismhistorical

    Traditional I/O moves data through disks, kernel buffers, user space, and the network. These notes use that path to examine how zero-copy reduces overhead.

  10. CPU Tuninghistorical

    CPU utilization measures non-idle time and can be broken into user, system, I/O-wait, and interrupt categories. These notes organize tuning metrics around those parts.

  11. tophistorical

    Top displays process resource usage dynamically. These notes start with the help menu and record interactive commands for inspecting CPU and other metrics.

  12. Memory Tuninghistorical

    Memory analysis distinguishes used and available space. These notes examine memory tuning through usage figures and related metrics.

  13. vmstathistorical

    Vmstat reports process, memory, swap, and CPU statistics. These notes focus on fields such as buffer and cache.

  14. Disk Tuninghistorical

    Disk tuning involves capacity, I/O, page cache, directory entries, and inode caches. These notes organize analysis metrics around those layers.

  15. Network Tuninghistorical

    Network tuning begins with packet encapsulation, addressing, routing, and transmission, followed by throughput and latency measurements to locate problems.

  16. iostathistorical

    Iostat's default output includes statistics since system startup. These notes examine CPU and device fields for inspecting I/O activity.

  17. Linux Performance Tuninghistorical

    Linux performance tuning can be approached through CPU, memory, disk, and networking. This page links the related topics.

  18. Flame Graphhistorical

    Flame graphs visualize sampled call stacks. These notes begin with perf collection and record how to generate and read the resulting graph.

  19. ulimithistorical

    Ulimit sets process resource limits within the current shell. These notes distinguish soft and hard limits and record related commands.

  20. tcpdumphistorical

    Before capturing packets with tcpdump, available interfaces can be inspected. These notes record interface selection and capture commands.

  21. Common Linux Commandshistorical

    Linux commands inspect and manipulate files directly. These notes begin with text viewers such as cat and more and record common behavior and options.

  22. sarhistorical

    These notes record interval sampling with sar and interpret fields such as network-interface statistics.

  23. pidstathistorical

    These notes record pidstat sampling commands and output fields for observing process resource usage over time.

  24. stracehistorical

    Strace inspects system calls made by a process. These notes preserve tracing commands for analyzing interactions between programs and the kernel.

  25. Linux Namespacehistorical

    Namespaces give processes isolated views of system resources. These notes record Linux version support and the roles of different namespace types.

  26. Linux cgrouphistorical

    Cgroups evolved from process containers to organize processes and control resources. These notes begin with that history and record Linux usage.

  27. chroothistorical

    Chroot makes a chosen directory the root seen by a process. These notes record its usage for isolating the file-system view.

  28. dfhistorical

    Command examples record df usage for inspecting file-system capacity, used space, and available space.

  29. dighistorical

    DNS query examples explain dig output, including answers, authoritative servers, response time, and record types.

  30. freehistorical

    These notes record free usage and output fields for inspecting system memory through totals, available memory, and related figures.

  31. ifconfighistorical

    These notes use ifconfig output to identify network-interface names and information during basic network inspection.

  32. ifstathistorical

    These notes record ifstat commands, output, and field meanings for observing network-interface traffic.

  33. lsofhistorical

    These notes record lsof commands and output interpretation for examining resources through files opened by processes.

  34. nethogshistorical

    Nethogs displays network traffic by process. These notes preserve usage examples for identifying bandwidth-consuming processes.

  35. netstathistorical

    These notes record netstat commands for inspecting TCP connections and counting connections by state.

  36. nslookuphistorical

    Nslookup output includes the DNS server address and query response. These notes distinguish server information and non-authoritative answers.

  37. pshistorical

    These notes record common ps commands for inspecting processes and threads from the command line.

  38. pstreehistorical

    Pstree displays process relationships as a tree. These notes use options such as -p to inspect process IDs and parent-child relationships.

  39. rsynchistorical

    This note preserves rsync examples and references for local and remote file synchronization.

  40. traceroutehistorical

    Traceroute displays each hop on the path to a destination. These notes interpret output fields for inspecting routes and latency.

  41. Linux AUFShistorical

    AUFS implements union mounting on Linux to combine multiple directory layers. These notes introduce it through the background of UnionFS.