Diagnostic Checks Reference
Summary
This note is a quick reminder of common diagnostic checks that support troubleshooting across systems and services.
Example first-pass sequence
When the issue is still unclear, a short sequence like this usually gives a better starting point than guessing:
# scope and context
whoami
hostnamectl
date
# service state
systemctl status SERVICE_NAME
# recent evidence
journalctl -u SERVICE_NAME -n 50 --no-pager
# network assumptions
ip addr
ip route
nslookup example.internal
curl -I http://HOST_OR_SERVICEFor Windows or Microsoft-heavy paths, keep the same structure:
Get-Date
whoami
Get-Service -Name Spooler
Get-WinEvent -LogName System -MaxEvents 20
Test-NetConnection -ComputerName HOSTNAME -Port 443When to use this note
- when you need a fast first-pass checklist before changing anything
- when you want to narrow scope before diving into a domain-specific guide
- when you know the problem category only loosely and need a structured starting point
Scope checks
| Check | Purpose |
|---|---|
| affected user or host count | decide whether issue is isolated or broad |
| compare working vs failing case | narrow scope fast |
| recent change awareness | check whether something changed before the symptom |
System and service checks
| Check | Purpose |
|---|---|
| service status | confirm whether service is running |
| recent logs | add evidence and timing |
| config state | check whether expected settings are present |
Minimum evidence set
Before changing anything, try to collect at least:
- what is failing
- who or what is affected
- when it started
- one service-state check
- one log or event check
- one path or connectivity check if network is involved
Network and path checks
| Check | Purpose |
|---|---|
| IP and route state | confirm basic path assumptions |
| DNS resolution | separate name issues from connectivity |
| port or app reachability | distinguish service issue from path issue |
Notes
- this note is intentionally broad and lightweight
- the point is to support structured thinking, not replace domain-specific commands
- detailed commands still belong in Linux, Networking, Security, or Microsoft sections where appropriate
- a good first-pass diagnostic note should still include a few repeatable commands, not only abstract reminders
Common mistakes
- skipping scope checks and going straight to fixes
- assuming one successful test proves the full path is healthy
- collecting too little evidence before changing configuration