Aralin 1Pagsusuri sa memorya: free -m, /proc/meminfo, slabtop, smem—pagbibigay-kahulugan sa ginamit laban sa magagamit na memorya at pag-uugali ng swapDito ay aaralin mo ang pag-uugali ng memorya gamit ang free, /proc/meminfo, slabtop, at smem. Ipapaliwanag ang Linux caching, buffers, at reclaim, kung paano bigyang-kahulugan ang paggamit ng swap, at kung paano matukoy ang mga memory leak, fragmentation, at hindi tamang limitasyon.
Reading free -m and understanding cached memoryKey fields in /proc/meminfo for diagnosisUsing slabtop to inspect kernel slab usageUsing smem to attribute memory per processRecognizing swap thrashing and OOM risksAralin 2Paggamit ng network at bottlenecks: iftop, nload, ss, netstat, ip -s link, tc, tcpdump—pagkilala sa network saturation at problematikong koneksyonTinatakpan ng seksyong ito ang pagdidiagnosa ng paggamit ng network at bottlenecks gamit ang iftop, nload, ss, ip, tc, at tcpdump. Matututo kang matukoy ang saturation, maingay na kapitbahay, estado ng koneksyon, at mga isyu sa antas ng packet na nagdudulot ng mabagal na aplikasyon.
Monitoring live bandwidth with iftop and nloadInspecting sockets and states with ssUsing ip -s link to view interface errorsBasics of tc for shaping and rate limitingTargeted packet capture with tcpdumpAralin 3Storage latency at mas malalim na I/O: blktrace, bpftrace (basic scripts), fio para sa mga pagsubok—kung paano sukatin at bigyang-kahulugan ang latency at throughputTinatakpan ng seksyong ito ang storage latency at mas malalim na pagsusuri ng I/O gamit ang blktrace, basic bpftrace scripts, at fio benchmarks. Matututo kang sukatin ang latency at throughput, bigyang-kahulugan ang queue depth, at paglilinaw ng mga limitasyon ng device mula sa mga isyu sa workload.
Understanding latency, IOPS, and throughputUsing blktrace to inspect block I/O patternsIntroductory bpftrace scripts for disk latencyDesigning fio workloads that mimic productionReading fio reports and spotting bottlenecksAralin 4Pagsisiyasat sa proseso: ps, top/htop filters, pgrep, pidstat, nice/renice—kung paano hanapin ang mga prosesong mabigat sa CPU at memoryaMatututo kang magsiyasat ng mga proseso gamit ang ps, top o htop filters, pgrep, pidstat, at nice o renice. Ipinapakita ng seksyon kung paano matukoy ang mga CPU at memory heavy tasks, subaybayan ang I/O bawat proseso, at i-adjust ang mga prayoridad upang mabawasan ang contention.
Listing and filtering processes with psUsing pgrep and pkill safely and preciselyUsing pidstat for per process CPU and I/OFiltering top and htop by user or resourceAdjusting priorities with nice and reniceAralin 5Pangkalahatang overview ng yaman sa sistema: top, htop, vmstat, mpstat, dstat—ano ang ipinapakita ng bawat isa at inaasahang mga pattern ng outputDito ay matututo kang magbasa ng mga snapshot ng yaman sa buong sistema gamit ang mga tool tulad ng top, htop, vmstat, mpstat, at dstat. Nakatuon ang seksyon sa pag-unawa sa CPU, memorya, at load metrics, at pagkilala sa normal laban sa pathological na mga pattern ng paggamit.
Key CPU, load, and memory fields in topUsing htop for interactive process analysisvmstat for run queue, swap, and I/O insightmpstat for per-CPU utilization and steal timedstat for combined multi-resource timelinesAralin 6Disk I/O at pagsusuri sa filesystem: iostat, iotop, sar -d, lsblk, df -h, du -sh, tune2fs, xfs_info—pagdetect ng I/O bottlenecks at mababang espasyoNakatuon ang seksyong ito sa disk I/O at kalusugan ng filesystem gamit ang iostat, iotop, sar -d, lsblk, df, du, tune2fs, at xfs_info. Matututo kang matukoy ang saturation, queue buildup, filesystem errors, at mababang espasyo na nagpapahina sa pagganap.
Using iostat to spot busy and slow devicesUsing iotop to find I/O heavy processessar -d for historical disk utilization trendsChecking layout and types with lsblk and dfFinding space hogs with du and inode checksAralin 7System logs at journaling: journalctl (systemd), /var/log/messages, /var/log/syslog, auth logs—ano ang hanapin at bakitIpapaliwanag ng seksyong ito kung paano gumamit ng systemd journalctl at classic log files tulad ng /var/log/messages, /var/log/syslog, at authentication logs. Matututo kang ano ang mga pattern na hanapin, kung paano i-filter ang ingay, at kung paano sumusuporta ang mga log sa root cause analysis.
journalctl basics and useful filtering optionsReading /var/log/messages and /var/log/syslogFinding errors, warnings, and rate-limited eventsAnalyzing authentication and sudo related logsCorrelating log timestamps with incidentsAralin 8Time-based at historical monitoring: sar, sysstat, collectl—pag-collect at pagbasa ng historical metrics upang iugnay ang mga pangyayariMatututo kang mag-collect at bigyang-kahulugan ang historical metrics gamit ang sar, sysstat, at collectl. Ipapaliwanag ng seksyon kung paano mag-schedule ng data collection, magbasa ng time series reports, at iugnay ang mga anomaly sa pagganap sa mga pagbabago sa configuration o deployments.
Enabling and configuring sysstat collectionUsing sar for CPU, memory, and I/O historyReading sar network and load average trendsUsing collectl for multi-resource timelinesCorrelating metrics with change windowsAralin 9Kernel at scheduler insights: dmesg, sysctl -a, /proc/sys/vm parameters—ano ang ipinapakita ng mga mensahe ng kernel at tunablesDito ay galugarin mo ang kernel at scheduler insights gamit ang dmesg, sysctl, at /proc/sys/vm parameters. Ipapaliwanag ng seksyon kung paano nagpapakita ang mga mensahe ng kernel, tunables, at pag-uugali ng scheduler ng mga isyu sa hardware, hindi tamang configuration, at tuning options.
Reading dmesg for hardware and driver issuesListing and querying sysctl tunable valuesKey /proc/sys/vm parameters for memoryScheduler related kernel parameters overviewSafely persisting kernel tuning changesAralin 10Lapit sa pagtukoy ng root cause: step-by-step decision tree upang i-klasipika ang mga isyu bilang CPU, RAM, disk I/O, o networkIpapakita ng seksyong ito ang praktikal na decision tree para sa root cause analysis. Matututo kang i-klasipika ang mga insidente bilang CPU, memorya, disk I/O, o network bound, aling mga tool na tatakbo sa bawat sanga, at kung paano iteratively palinisin ang mga hypothesis gamit ang nakolektang ebidensya.
Initial triage and problem statementClassifying CPU versus I/O bound symptomsDistinguishing memory pressure from leaksIdentifying network versus local bottlenecksIterative hypothesis testing with metrics