{"id":2042,"date":"2026-10-05T16:06:30","date_gmt":"2026-10-05T16:06:30","guid":{"rendered":"https:\/\/pro.osassistance.com\/?p=2042"},"modified":"2026-10-05T16:35:18","modified_gmt":"2026-10-05T16:35:18","slug":"linux-server-health-check","status":"publish","type":"post","link":"https:\/\/osassistance.com\/blog\/linux-server-health-check\/","title":{"rendered":"Linux Server Health Check: A Practical Checklist for Production Systems"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">OS Assistance \u00b7 20+ years of enterprise Linux experience<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prefer a senior engineer to inspect your fleet?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OS Assistance can review production health and prepare a prioritized 90-day remediation plan.<a href=\"https:\/\/osassistance.com\/request-a-quote\/\">Request a Health Check Review \u2192<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Long uptime can create a false sense of security. A Linux server may stay reachable while disk space shrinks, memory pressure builds, TCP listener drops increase, patches remain pending, or backups go untested. This quiet buildup is silent degradation: a system looks available even as its resilience erodes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A useful <strong>Linux server health check<\/strong> combines a point-in-time inspection with recent logs, monitoring trends, and recovery evidence. This checklist reflects more than 20 years of enterprise Linux systems administration and architecture experience. It uses mostly read-only commands to review the operating system, storage, memory, CPU, network, access controls, updates, certificates, and backups. It applies to common systemd-based distributions, including RHEL-compatible systems, Ubuntu, and Debian; some commands may need to be adapted for your distribution or cloud platform.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Before_a_Linux_server_health_check_inspect_first_change_later\"><\/span>Before a Linux server health check: inspect first, change later<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run checks only on systems you are authorized to administer. Record the server name, time, operating-system version, and command results. Avoid cleanup, package installation, service restarts, kernel tuning, and filesystem changes during the inspection. Redact hostnames, IP addresses, usernames, and other sensitive data before sharing a report.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the review leads to a change, use the organization&#8217;s change process and verify the recovery plan first. A VM snapshot can help with rollback, but it is not a substitute for an independent, tested backup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Linux_Server_Health_Check_Checklist\"><\/span>The Linux Server Health Check Checklist<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Review the following areas in order, and compare each finding with the server&#8217;s normal baseline rather than relying on one generic threshold.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Record_the_server_baseline\"><\/span>1. Record the server baseline<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start with the host identity, operating-system kernel, uptime, and time synchronization:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostnamectl\nuname -r\nuptime\ntimedatectl status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>hostnamectl<\/code> and <code>timedatectl<\/code> are available on most systemd-based Linux distributions. If a command is unavailable, use the equivalent tools for that operating system. Confirm the host is the intended production or non-production system before interpreting results.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Check_filesystem_space_inodes_and_storage_latency\"><\/span>2. Check filesystem space, inodes, and storage latency<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>df -hT\ndf -ih\niostat -xz 1 5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>df -hT<\/code> reports used space and filesystem types. <code>df -ih<\/code> reports inode use; a filesystem can run out of inodes even when it still has free bytes. <code>iostat<\/code> is supplied by the <code>sysstat<\/code> package on many distributions. In its repeated output, focus on interval samples after the first report, then compare latency and queue behavior with the application&#8217;s normal baseline.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Treat a percentage such as 80% full as a warning threshold only if it fits the server&#8217;s growth rate and recovery needs. A fast-growing log filesystem may need attention earlier; a stable data volume may have a different threshold. Also check for deleted files that are still held open by a process:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo lsof +L1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">High I\/O utilization by itself does not identify the cause. Review latency, queue depth, throughput, and application response time together. Cloud storage has provider- and volume-specific performance limits. For example, AWS gp2 and gp3 volumes behave differently: eligible gp2 volumes use burst credits, while gp3 performance is provisioned separately. See the <a href=\"https:\/\/docs.aws.amazon.com\/ebs\/latest\/userguide\/general-purpose.html\" rel=\"nofollow noopener\" target=\"_blank\">Amazon EBS General Purpose SSD documentation<\/a> and compare it with the relevant cloud monitoring metrics.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Review_memory_pressure_and_OOM_events\"><\/span>3. Review memory pressure and OOM events<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>free -h\nvmstat 1 5\nps -eo pid,user,rss,comm --sort=-rss | head -n 6\nsudo journalctl -k --since \"24 hours ago\" --no-pager | grep -iE 'out of memory|oom-killer|killed process'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In <code>free -h<\/code>, use the <strong>available<\/strong> value to understand how much memory can be allocated without relying on swap. In <code>vmstat<\/code>, repeated non-zero <code>si<\/code> or <code>so<\/code> values indicate swap-in or swap-out activity during those samples; compare them with response time and disk activity. The process list sorts by resident memory (RSS), shown in KiB.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An OOM message is evidence that the kernel killed a process under memory pressure. Look at the timestamp, affected service, and surrounding logs before deciding whether the cause was a leak, an undersized host, a workload spike, or a limit imposed by a container or service manager.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Compare_CPU_load_with_runnable_and_blocked_work\"><\/span>4. Compare CPU load with runnable and blocked work<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>nproc\nuptime\nvmstat 1 5\nps -eo stat,pid,user,comm | awk '$1 ~ \/^D\/'\nsystemctl --failed<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Load average is not a CPU percentage. Linux load includes runnable work and tasks in uninterruptible sleep, often waiting on I\/O. Compare it with the number of CPUs, <code>vmstat<\/code>&#8216;s CPU and I\/O-wait columns, and the host&#8217;s normal pattern. Processes in <code>D<\/code> state deserve investigation, especially when they persist; check storage, NFS, and other I\/O paths before changing anything.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>systemctl --failed<\/code> lists failed systemd units. Follow up on important services with their unit status and recent logs, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status nginx\nsudo journalctl -u nginx --since \"24 hours ago\" --no-pager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>nginx<\/code> with a critical service on the host. A failed unit can be expected or unrelated, so record its impact instead of treating every failure as a production incident.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation-1024x576.png\" alt=\"Linux server health check covering storage, memory, CPU, network, security, and backups\" class=\"wp-image-2047\" srcset=\"https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation-1024x576.png 1024w, https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation-300x169.png 300w, https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation-768x432.png 768w, https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation-1536x864.png 1536w, https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation.png 1672w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Inspect_network_sockets_listener_counters_and_DNS\"><\/span>5. Inspect network sockets, listener counters, and DNS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>ss -s\nss -ltn\nnstat -az | grep -E 'TcpExtListenOverflows|TcpExtListenDrops'\ntime getent ahosts example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>ss<\/code> summarizes sockets and listening TCP ports. <code>nstat<\/code> is available on many systems with <code>iproute2<\/code>; its listener counters are cumulative, so a non-zero value alone does not prove a current outage. Take two readings over a known interval and check whether the counters increase while users experience connection failures. Correlate that evidence with the application server&#8217;s accept queue and logs before considering backlog changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The DNS example measures the configured resolver path for <code>example.com<\/code>. Substitute a hostname used by the application. A slow or failed lookup should be compared across repeated tests and checked against the configured resolver and application logs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_Review_SSH_access_privilege_and_security_updates\"><\/span>6. Review SSH access, privilege, and security updates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check the effective SSH daemon defaults and validate sudoers syntax:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo sshd -T | grep -Ei 'permitrootlogin|passwordauthentication|pubkeyauthentication'\nsudo visudo -c<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Review SSH <code>Match<\/code> blocks and included configuration files as well; the effective settings can vary by user, source address, or connection context. Organizations commonly use named administrator accounts, key-based access, and audited <code>sudo<\/code> rather than routine direct root login. Apply the access policy required by your environment and preserve a tested recovery path before tightening authentication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check pending updates with the package tools used by the operating system:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># RHEL, Rocky Linux, or AlmaLinux\nsudo dnf updateinfo list --security\n\n# Debian or Ubuntu: this lists all upgradable packages, not only security updates\napt list --upgradable<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Package metadata can be stale, and the Debian\/Ubuntu command does not identify security updates by itself. Use the distribution&#8217;s security advisories and approved update workflow to determine exposure. Do not install updates or reboot a production server as part of a read-only health check.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7_Verify_backups_and_recovery_readiness\"><\/span>7. Verify backups and recovery readiness<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check the backup product&#8217;s job history and the scheduler that runs it. On systems using systemd timers, this command can help find scheduled jobs:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl list-timers --all<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm the latest backup completed successfully, that the expected off-host or cloud copy exists, and that retention is working. Then review the most recent restore test: what was restored, when it was tested, how long recovery took, and whether application owners verified the result.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A successful backup job is not proof that an application can be recovered. Test representative files, databases, and configuration using a documented restore procedure. Keep recovery credentials and instructions available to the people who may need them during an outage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"8_Check_the_certificate_served_to_users\"><\/span>8. Check the certificate served to users<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For a public HTTPS endpoint, inspect the certificate dates with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl s_client -connect example.com:443 -servername example.com &lt;\/dev\/null 2&gt;\/dev\/null \\\n  | openssl x509 -noout -dates<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>example.com<\/code> with the actual hostname. This checks the certificate presented by that endpoint; it does not verify the renewal job or prove that the Linux host serves TLS directly. If a CDN, reverse proxy, or load balancer terminates TLS, check the certificate and renewal process there as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Turn_Linux_server_health_check_findings_into_an_actionable_report\"><\/span>Turn Linux server health check findings into an actionable report<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For each finding, record the evidence and impact, then assign an owner and a review date. A useful report includes:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Finding<\/th><th class=\"has-text-align-left\" data-align=\"left\">Evidence to record<\/th><th class=\"has-text-align-left\" data-align=\"left\">Next step<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">Disk growth threatens service availability<\/td><td class=\"has-text-align-left\" data-align=\"left\">Mount, current use, growth trend, and expected time to capacity<\/td><td class=\"has-text-align-left\" data-align=\"left\">Identify the source and plan cleanup or expansion through change control<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Memory pressure or OOM kill<\/td><td class=\"has-text-align-left\" data-align=\"left\">Affected process, event time, swap activity, and workload context<\/td><td class=\"has-text-align-left\" data-align=\"left\">Determine whether to tune, correct a leak, or add capacity<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Listener drops during user impact<\/td><td class=\"has-text-align-left\" data-align=\"left\">Counter change over time, service logs, and connection symptoms<\/td><td class=\"has-text-align-left\" data-align=\"left\">Review application accept behavior and network path before tuning queues<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Backup or restore gap<\/td><td class=\"has-text-align-left\" data-align=\"left\">Last successful job, off-site copy, retention, and restore-test date<\/td><td class=\"has-text-align-left\" data-align=\"left\">Schedule and document a restore test<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Security update exposure<\/td><td class=\"has-text-align-left\" data-align=\"left\">Affected package, vendor advisory, exposure, and maintenance window<\/td><td class=\"has-text-align-left\" data-align=\"left\">Prioritize and schedule an approved update<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Prioritize findings by service impact, likelihood, and time available to respond. Separate urgent risks from planned maintenance and longer-term improvements. The report should help an application owner decide what to fix, who will do it, and when to verify the result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_often_should_you_run_a_Linux_server_health_check\"><\/span>How often should you run a Linux server health check?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use monitoring and alerting continuously for important production systems. Run a structured health review during onboarding, after significant changes, and on a regular schedule that matches the workload, risk, and recovery requirements. A health check complements monitoring: it brings system state, security posture, backup evidence, and operational context together for review.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Get_help_with_a_Linux_server_review\"><\/span>Get help with a Linux server review<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you need an independent review or ongoing support, <a href=\"https:\/\/osassistance.com\/request-a-quote\/\">request a Linux health check or quote<\/a> or <a href=\"https:\/\/osassistance.com\/contact\/\">contact OS Assistance<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OS Assistance \u00b7 20+ years of enterprise Linux experience Prefer a senior engineer to inspect your fleet? OS Assistance can review production health and prepare a prioritized 90-day remediation plan.Request a Health Check Review \u2192 Long uptime can create a false sense of security. A Linux server may stay reachable while disk space shrinks, memory&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2050,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[188],"tags":[],"class_list":["post-2042","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-operations"],"taxonomy_info":{"category":[{"value":188,"label":"Linux Operations"}]},"featured_image_src_large":["https:\/\/osassistance.com\/blog\/wp-content\/uploads\/2026\/10\/OCA_blog-operation-2-1024x768.png",1024,768,true],"author_info":{"display_name":"admin","author_link":"https:\/\/osassistance.com\/blog\/author\/wp_intcisweb\/"},"comment_info":2,"category_info":[{"term_id":188,"name":"Linux Operations","slug":"linux-operations","term_group":0,"term_taxonomy_id":188,"taxonomy":"category","description":"","parent":0,"count":4,"filter":"raw","cat_ID":188,"category_count":4,"category_description":"","cat_name":"Linux Operations","category_nicename":"linux-operations","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts\/2042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/comments?post=2042"}],"version-history":[{"count":6,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts\/2042\/revisions"}],"predecessor-version":[{"id":2055,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts\/2042\/revisions\/2055"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/media\/2050"}],"wp:attachment":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/media?parent=2042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/categories?post=2042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/tags?post=2042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}