命令
Operating Systems / Linux · 23 notes
- tophistorical
Top displays process resource usage dynamically. These notes start with the help menu and record interactive commands for inspecting CPU and other metrics.
- vmstathistorical
Vmstat reports process, memory, swap, and CPU statistics. These notes focus on fields such as buffer and cache.
- iostathistorical
Iostat's default output includes statistics since system startup. These notes examine CPU and device fields for inspecting I/O activity.
- ulimithistorical
Ulimit sets process resource limits within the current shell. These notes distinguish soft and hard limits and record related commands.
- tcpdumphistorical
Before capturing packets with tcpdump, available interfaces can be inspected. These notes record interface selection and capture commands.
- 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.
- sarhistorical
These notes record interval sampling with sar and interpret fields such as network-interface statistics.
- pidstathistorical
These notes record pidstat sampling commands and output fields for observing process resource usage over time.
- stracehistorical
Strace inspects system calls made by a process. These notes preserve tracing commands for analyzing interactions between programs and the kernel.
- chroothistorical
Chroot makes a chosen directory the root seen by a process. These notes record its usage for isolating the file-system view.
- dfhistorical
Command examples record df usage for inspecting file-system capacity, used space, and available space.
- dighistorical
DNS query examples explain dig output, including answers, authoritative servers, response time, and record types.
- freehistorical
These notes record free usage and output fields for inspecting system memory through totals, available memory, and related figures.
- ifconfighistorical
These notes use ifconfig output to identify network-interface names and information during basic network inspection.
- ifstathistorical
These notes record ifstat commands, output, and field meanings for observing network-interface traffic.
- lsofhistorical
These notes record lsof commands and output interpretation for examining resources through files opened by processes.
- nethogshistorical
Nethogs displays network traffic by process. These notes preserve usage examples for identifying bandwidth-consuming processes.
- netstathistorical
These notes record netstat commands for inspecting TCP connections and counting connections by state.
- nslookuphistorical
Nslookup output includes the DNS server address and query response. These notes distinguish server information and non-authoritative answers.
- pshistorical
These notes record common ps commands for inspecting processes and threads from the command line.
- pstreehistorical
Pstree displays process relationships as a tree. These notes use options such as -p to inspect process IDs and parent-child relationships.
- rsynchistorical
This note preserves rsync examples and references for local and remote file synchronization.
- traceroutehistorical
Traceroute displays each hop on the path to a destination. These notes interpret output fields for inspecting routes and latency.