How to Use the IBM AIX Check Script (aix-check)

aix-check-v1.8.0.sh is ITCheckAI's read-only health check collector for IBM AIX and VIOS, supporting AIX 5.3 / 6.1 / 7.1 / 7.2 / 7.3 and VIOS on standalone IBM Power servers or LPARs. It executes built-in query commands sequentially and writes each simulated prompt, redacted command output, return code, item status, and elapsed time into a single plain-text .log file (by default /tmp/healthcheck/<hostname>_<time>.log), appending a lightweight JSON check manifest (schema itcheck.aix.check/1) with no archiving or multi-file splitting. Runtime depends mainly on the number of disks and adapters and the size of the error log; by default, no new commands are started once the 30-minute run deadline (-T 1800) is reached.

Script Overview

The downloaded file is named aix-check-v1.8.0.sh, with internal version 1.8.0, schema itcheck.aix.check/1, and interpreter /usr/bin/ksh. Download link: Download AIX Check Script. Scripts for other platforms are available on the OS Check Toolkit page.

Design principles implemented in the script:

  • Strictly read-only: Only query and display forms of commands are used, with no raw disk reads. entstat runs only on EtherChannel / IEEE 802.3ad link aggregation adapters without -d and never with -r (ordinary LPAR Virtual I/O Ethernet adapters use read-only ODM lsattr -El only); lsmpio never uses -z (which resets statistics) or -q; internal SAS RAID checks use only the two display forms; and lsvg / lslv run with -L so they do not wait on volume group locks held by mirrorvg, syncvg, or C-SPOC.
  • Plain-text and auditable: Delivered as a single ksh text script so every command can be audited line by line before execution.
  • Built-in commands only: Relies primarily on standard AIX / VIOS utilities; optional component commands for SDDPCM (pcmpath), PowerPath (powermt), HDLM (dlnkmgr), PowerHA, and GPFS run only when those components are detected on the host.
  • Per-command timeout and circuit breaker: Each command has a 120-second timeout by default; if exceeded, the watchdog terminates the command's entire process tree (TERM followed by KILL). Three consecutive timeouts in one section skip the remaining commands in that section, and 8 timeouts in total or reaching the -T deadline skips the rest of the run. Individual command failures never abort the check.
  • Disk space protection: Requires at least 300 MB of free space in the output filesystem before starting, and re-checks free space at the start of every section and immediately after errpt -a, stopping further collection if free space drops below 150 MB.
  • Network filesystem avoidance: df queries only local jfs / jfs2 mounts to avoid hanging on unresponsive NFS shares, and -o rejects paths located on nfs, cifs, smbfs, or autofs filesystems.
  • Lightweight metadata and non-root tagging: Preserves original host timezone timestamps (START_RAW, TIMEZONE, DATE_RAW, FINISHED_AT_RAW without fabricating timezone suffixes), records execution identity (RUN_AS, is_root, privilege_mode) and per-item status trailers (#@ rc=N sec=N status=... redacted=0|1), and appends an embedded itcheck.aix.check/1 JSON manifest; non-root runs remain supported with restricted commands classified as permission_denied.
  • 20-class credential redaction and additional safeguards: Never reads /etc/security/passwd, shadow, SNMP configs, or private keys; process listings use comm basenames only (no raw args), crontab -l emits schedule plus executable basename only ([args omitted]), and all logged outputs pass through a streaming POSIX awk redactor. Also enforces umask 077, set -f, fixed cwd /, whitelist checks on device/VG/mount names, renice -n 10, and </dev/null.

What Is Collected

The log is organized into numbered sections with headers such as # 01. System & Device Overview. Before running sections, the script probes for VIOS (/usr/ios/cli/ioscli), PowerHA (clmgr or clshowsrv), GPFS (/usr/lpp/mmfs/bin/mmgetstate), and multipath drivers, executing component-specific commands only when present.

SectionCollected InformationPrimary Commands / Files
Log HeaderSchema, hostname, start time and raw timezone, execution identity and privilege mode, OS technology level, machine model and system ID, VIOS level, detected components, redaction declaration, active optionsoslevel -s, /usr/ios/cli/ioscli ioslevel, uname -uM, date '+%Z %z', id
00. VIOS Mappings (VIOS only)VIOS level, vSCSI / NPIV / virtual Ethernet mappings, NPIV ports, viosbr backup inventory, read-only vioshc status probe (marked command_missing if unavailable)/usr/ios/cli/ioscli lsmap -all, lsmap -npiv -all, lsmap -all -net, lsnports, viosbr -view -list, vioshc (read-only status)
01. System & Device OverviewMachine type/serial, OS level, LPAR configuration, sys0 attributes, FLRTVC fileset and interim-fix inventory (ifix), all devices, devices in Defined stateuname -uM, oslevel -s, lparstat -i, lsattr -El sys0, lslpp -Lqc, emgr -lv3 (falls back to emgr -l only if -lv3 is unsupported), lsdev, lsdev -C -S d
02. Error ReportError log summary, detailed error entries for the last 100 days by default, top 20 combinations by IDENTIFIER / type / class / resource, errdemon settings, console logerrpt, errpt -a -s <start_time>, /usr/lib/errdemon -l, alog -o -t console
03. Disks & BootlistDisk and PV inventory, disk attributes (full per-disk attributes for up to 10 disks; summary table plus representative samples when over 10 disks), normal bootlist, boot device, hd5 placementlsdev -Cc disk, lspv, lsattr -El hdiskN, bootlist -m normal -o, getconf BOOT_DEVICE, lslv -L -m hd5
04. Adapters, Multipath & FCAdapter list, MPIO paths and non-Enabled paths, multipath driver status, FC protocol and port attributes, statistics on FC ports with a live link, vSCSI attributes, internal SAS RAID statuslsdev -Cc adapter, lspath, lsmpio, lsmpio -are, pcmpath query adapter, pcmpath query device, powermt display, powermt display dev=all, dlnkmgr view -sys / -path / -lu, lsattr -El fscsiN, fcstat fcsN, lsattr -El fcsN, lsattr -El vscsiN, sissasraidmgr -L -j1 -l sissasN, sissasraidmgr -M -l sissasN -o0
05. LVM & FilesystemsPV and VG lists, properties / LVs / PVs of each active VG, mount table, local jfs / jfs2 space usage, filesystems marked AutoMount that are currently unmountedlsvg, lsvg -L -o, lsvg -L <vg>, lsvg -L -l <vg>, lsvg -L -p <vg>, mount, df -g, lsfs -c
06. NetworkInterface counters and routing table, inet0 attributes, IP configuration, /etc/hosts, read-only ODM attributes of EtherChannel / 802.3ad / SEA and ordinary Virtual I/O Ethernet adapters (mtu_bypass, min_buf_* / max_buf_*, capped at 32), EtherChannel statisticsnetstat -in, netstat -rn, lsattr -El inet0, ifconfig -a, cat /etc/hosts, lsattr -El entN, entstat entN (EtherChannel only)
07. Resources & TuningShort CPU / memory / I/O sampling (3 samples at 1-second intervals), VMM counters, memory usage, paging space, vmo / no (IBM PIQS network baseline) / ioo / schedo tuning parameters, ulimit -a and redacted resource stanzas from /etc/security/limitsvmstat 1 3, vmstat -v, svmon -G, lsps -s, lsps -a, iostat 1 3, lparstat 1 3, vmo -a, no -a, ioo -a, schedo -a, ulimit -a, /etc/security/limits (resource limits only)
08. Uptime, Processes & CronUptime and load average, process count, top 10 processes by CPU and memory and full process table (comm basenames only, args omitted), redacted crontab summary, SRC subsystem status, NTP statusuptime, ps -eo user,pid,ppid,pcpu,pmem,vsz,tty,time,comm, crontab -l (schedule & basename only), lssrc -a, lssrc -ls xntpd
09. System DumpEstimated dump size, dump device configuration, most recent dump record, dump space verificationsysdumpdev -e, sysdumpdev -l, sysdumpdev -L, /usr/lib/ras/dumpcheck -p
10. PowerHA ClusterCluster subsystems, PowerHA packages, cluster manager state, topology and resource groups; CAA status when caavg_private exists; GPFS node state and mounts when GPFS is installedlssrc -g cluster, lslpp -l 'cluster.*', lssrc -ls clstrmgrES | grep -i state, clshowsrv -v, clmgr query cluster, cltopinfo, clRGinfo, lscluster -c / -m / -i / -d, /usr/lpp/mmfs/bin/mmgetstate -a, /usr/lpp/mmfs/bin/mmlsmount all -L
11. Hardware VPD & MicrocodeHardware Vital Product Data (part numbers, serial numbers, location codes), system and device microcode levelslscfg -vp, lsmcode -c
Log Trailer & ManifestTimeout, skipped, error, permission-denied, missing-command, and redacted item counts, raw finish time, and embedded JSON manifestTIMEOUT_COUNT, SKIPPED_COUNT, ERROR_COUNT, BEGIN CHECK MANIFEST JSON

Several conditional checks behave as follows: fcstat runs only on FC ports determined to have an active link (an Enabled path through its fscsi child in lspath; fabric=1 in lsnports on VIOS; or an inferred link with a shorter 30-second timeout when fscsi has attach!=none, a fabric-assigned hex scsi_id, and Available tape/changer devices or non-MPIO disks underneath), while other FC ports record a *** SKIP line explaining why; lspath -F "status:name:path_id:parent:connection" runs only when non-Enabled paths exist; and lslpp -l 'cluster.*' runs only on PowerHA nodes.

Prerequisites

  • Privileges: Running as root is recommended (on VIOS, log in as padmin first and run oem_setup_env). Starting with 1.7.0, non-root execution is also permitted in degraded mode: the header and manifest mark is_root=false and PRIV_NOTE, and restricted items are classified as permission_denied. The script still checks uname -s and exits with code 2 on non-AIX systems.
  • Shell: Run with ksh (installed by default on AIX and VIOS).
  • Output directory: Defaults to /tmp/healthcheck and is created automatically if missing. The directory must be owned by the running user (root when invoked as root), not writable by group or others, not a symbolic link, and on a local filesystem. Consequently, passing -o /tmp directly is rejected because /tmp is world-writable; always use a dedicated subdirectory such as -o /tmp/healthcheck.
  • Free disk space: At least 300 MB of free space is required in the filesystem hosting the output directory, or the script refuses to start. Because /tmp is often small on AIX, verify free space with df -m /tmp beforehand and expand it per site policy or point -o to another local directory if needed.
  • System clock: The errpt date window is calculated from the current system date. If the year is earlier than 2020, CLOCK_NOTE : WARNING appears in the log header; if the current or computed year falls outside 1971-2037, the script falls back to a line-capped full errpt -a.
  • Execution window: Although read-only and reniced, commands such as lscfg -vp, errpt -a, multipath queries, and cluster checks still incur some overhead on large LPARs. Schedule execution during off-peak hours, and run node by node rather than simultaneously on PowerHA clusters.

Step-by-Step Usage

  1. Download the script from the toolkit page and verify version and schema (1.8.0 / itcheck.aix.check/1):
ksh aix-check-v1.8.0.sh -V
  1. Upload the script to the target host (using /tmp as an example) and check available free space:
scp aix-check-v1.8.0.sh root@192.168.1.10:/tmp/
ssh root@192.168.1.10 "df -m /tmp"
  1. Execute the script as root. The terminal prints the target log path at startup and the saved path upon completion (see Output Reference below for exit codes):
ssh root@192.168.1.10
ksh /tmp/aix-check-v1.8.0.sh
echo $?

# On VIOS: log in as padmin first, then switch to the root environment
oem_setup_env
ksh /tmp/aix-check-v1.8.0.sh
  1. Fetch the generated .log file back to your admin workstation:
mkdir -p results
scp root@192.168.1.10:/tmp/healthcheck/host01_*.log ./results/
  1. After verifying the downloaded log, remove the script and log file from the host (the script automatically cleans up its own temporary directory .tmp_<PID> on exit):
ssh root@192.168.1.10 "rm -f /tmp/aix-check-v1.8.0.sh /tmp/healthcheck/host01_*.log"

Command-Line Options

All options are optional and follow getopts "o:sAt:d:T:EVh" in the script:

OptionDefaultDescription
-o PATH/tmp/healthcheckOutput directory, or full log file path when ending with .log. Must be an absolute path on a local filesystem; the directory must be owned by the running user and not writable by group/others. Refuses to overwrite an existing file.
-sOffAlso prints the complete log to standard output upon completion (for remote collection over SSH) while still saving a copy in the output directory; suppresses startup/completion banners and terminal WARNING lines.
-AOffRuns full lsattr -El on every hdisk. By default, hosts with 10 or fewer disks already get full per-disk output; hosts with more than 10 disks get a key-attribute summary table (VG, PCM, algorithm, reserve_policy, queue_depth, hcheck_interval, hcheck_mode, unique_id) across all disks plus full lsattr -El on the first rootvg disk and one sample disk per PCM.
-t SEC120Per-command timeout in seconds (must be a positive integer). Commands with built-in long timeouts (>= 120s) receive at least SEC, whereas intentionally shorter timeouts (such as 30s or 60s) remain unchanged.
-T SEC1800Whole-run deadline in seconds; 0 disables the deadline. Commands not yet started when the deadline expires are skipped.
-d DAYS100Limits errpt -a to the last DAYS days; 0 collects the entire error log. If the date window cannot be used, the automatic full errpt -a fallback is capped at 200000 lines; only -d 0 produces an uncapped history.
-EOffAlso exits with code 3 when any core command returns a non-zero status (ERROR_COUNT > 0).
-V / --version-Prints script version and schema identifier, then exits with code 0.
-h / --help-Displays usage help and exits with code 0.

Invalid option arguments (such as a non-positive integer for -t or a relative path for -o) terminate immediately with exit code 2. Common examples:

ksh /tmp/aix-check-v1.8.0.sh -o /tmp/healthcheck
ksh /tmp/aix-check-v1.8.0.sh -o /tmp/healthcheck/host01_q3.log
ksh /tmp/aix-check-v1.8.0.sh -A -d 0 -T 0

Output Reference

Output file: Produces a single uncompressed text file named <hostname>_<YYYY-MM-DD_HH-MM-SS>.log by default (using the short hostname). When the hostname is localhost and a machine serial number is available, the serial number is inserted: <hostname>_<serial>_<time>.log. Governed by umask 077, the file is readable only by the executing user.

Log layout:

  • Header block: Starts with AIX CHECK LOG followed by SCHEMA, HOSTNAME, START_TIME, START_RAW, DATE_RAW, CLOCK_NOTE (only when abnormal), TIMEZONE, RUN_AS, PRIV_NOTE (only when non-root), OS_LEVEL, MACHINE, VIOS_LEVEL (VIOS only), COMPONENTS, REDACTION, COLLECTOR, and OPTIONS.
  • Sections: Each section begins with an === divider and # NN. Section Name, numbered 00 through 11 as listed in the table above.
  • Command entries: Each entry starts with a simulated prompt [YYYY-MM-DD HH:MM:SS] <user>@<host>:/> <command>, followed by redacted command output and a trailer line #@ rc=N sec=N status=STATE redacted=0|1.
  • Trailer block & Manifest: Records TIMEOUT_COUNT, SKIPPED_COUNT, ERROR_COUNT, PERMISSION_DENIED_COUNT, COMMAND_MISSING_COUNT, REDACTED_ITEM_COUNT, COLLECTION_STATUS, FINISHED_AT_RAW, the closing line, and a machine-readable JSON manifest delimited by BEGIN CHECK MANIFEST JSON and END CHECK MANIFEST JSON.

Return codes and log markers:

MarkerMeaning
#@ rc=124 ... status=timeoutCommand timed out and was terminated; preceded by *** TIMEOUT: command exceeded N seconds: <command>.
#@ rc=125 ... status=skippedCommand was skipped; preceded by *** SKIPPED (reason): <command> due to 3 consecutive timeouts in the section, 8 total timeouts in the run, reaching the -T deadline, or output filesystem free space dropping below 150 MB.
#@ rc=127 ... status=command_missingTarget command was not found in the active PATH.
status=permission_deniedNon-root or insufficient permissions prevented running the check.
#@ rc=1 (... | grep)A grep filter matched no lines, which simply means no matching items were found rather than an error.
*** SKIPA conditional check was intentionally not run, with the reason stated (for example, an FC port with no live link or an unusable prerequisite output); timed-out or skipped cached commands also append *** SKIP follow-up checks based on the output above.
*** NOTEThe check ran in a modified or reduced form (for example, errpt falling back to capped full output, or FC link state inferred for non-MPIO devices).
*** TRUNCATEDAn automatic fallback full errpt -a exceeded the 200000-line safety cap.
*** INTERRUPTED by signalExecution was interrupted by HUP, INT, or TERM (such as an SSH disconnect or Ctrl-C), ending the log at that point.
Sample log excerpt (serial numbers replaced with placeholders)
================================================================================
AIX CHECK LOG
SCHEMA     : itcheck.aix.check/1
HOSTNAME   : host01
START_TIME : 2026-11-30 10:00:00
START_RAW  : 2026-11-30T10:00:00+08:00
DATE_RAW   : Mon Nov 30 10:00:00 CST 2026
TIMEZONE   : CST +0800
RUN_AS     : root (uid=0, is_root=true, privilege_mode=root)
OS_LEVEL   : 7300-02-01-2346
MACHINE    : IBM,02XXXXXXX IBM,9009-42A
COMPONENTS : PowerHA SDDPCM
REDACTION  : applied (collector_default; ps_comm_only, crontab_metadata_only, streaming_secret_mask)
COLLECTOR  : aix-check-v1.8.0.sh 1.8.0 (cmd timeout 120s, run deadline 1800s, errpt -a last 100 days)
OPTIONS    : t=120 T=1800 d=100 A=0 s=0 E=0
================================================================================

================================================================================
# 01. System & Device Overview
================================================================================

[2026-11-30 10:00:02] root@host01:/> uname -uM
IBM,02XXXXXXX IBM,9009-42A
#@ rc=0 sec=0 status=ok redacted=0

[2026-11-30 10:03:10] root@host01:/> fcstat fcs0
*** TIMEOUT: command exceeded 60 seconds: fcstat fcs0
#@ rc=124 sec=60 status=timeout redacted=0

*** SKIP fcstat fcs1: no Enabled path via fscsi1 in lspath (attach=none)

================================================================================
TIMEOUT_COUNT           : 1
SKIPPED_COUNT           : 0
ERROR_COUNT             : 0
PERMISSION_DENIED_COUNT : 0
COMMAND_MISSING_COUNT   : 0
REDACTED_ITEM_COUNT     : 5
COLLECTION_STATUS       : partial
FINISHED_AT_RAW         : 2026-11-30T10:08:30+08:00
END OF AIX CHECK LOG : host01  (Finished at 2026-11-30 10:08:30)
================================================================================

Terminal output: In normal mode, the script prints [aix-check-v1.8.0.sh] Collecting check output on host01 -> /tmp/healthcheck/host01_...log ... at startup and [aix-check-v1.8.0.sh] Done. Output saved to: ... when finished. If non-root privileges, timeouts, skipped commands, core command errors, or clock anomalies occurred, corresponding WARNING lines are printed. Argument and environment errors are written to standard error prefixed with ERROR:.

Exit codes:

  • 0: Completed with no timeouts and no skipped commands (non-zero returns from core commands do not change the exit code unless -E is specified).
  • 3: Completed with warnings, meaning one or more commands timed out (*** TIMEOUT) or were skipped (*** SKIPPED), or -E was set and ERROR_COUNT > 0. The generated log remains usable.
  • 2: Argument or environment error (not AIX, unsafe or network-mounted output directory, under 300 MB free space, or output file already exists).
  • 130: Interrupted by signal.

Key Points for Reviewing Results

  1. Check trailer counters and manifest first: If TIMEOUT_COUNT or SKIPPED_COUNT is non-zero, search for *** TIMEOUT, *** SKIPPED, and *** SKIP to see what data is missing; repeated timeouts on commands such as fcstat or multipath queries are themselves strong indicators of SAN link or device issues. Check PERMISSION_DENIED_COUNT if run as non-root.
  2. Error report: Start with the top-20 summary in Section 02, prioritizing entries with type P (Permanent) and class H (Hardware), then review matching IDENTIFIER records in errpt -a for detailed descriptions, location codes, and recommended actions; also note any *** NOTE lines indicating window changes.
  3. Devices and multipathing: Investigate devices in Defined state from lsdev -C -S d, Failed or Missing paths in lspath | grep -vw Enabled, and dead/offline paths reported by multipath drivers; verify that bootlist includes all mirrored rootvg disks.
  4. LVM and filesystems: STALE PVs and STALE PPs in lsvg -L <vg> should be 0, lsvg -L -l should show no stale LVs, and lsvg -L -p should show no missing or removed PVs. As a general industry guideline, consider warning at 80%-90% %Used or %Iused in df -g, and verify whether any unmounted filesystems flagged by the AutoMount check are expected.
  5. Resources, tuning, and patch baseline: In vmstat 1 3 and iostat 1 3, discard the first data row (boot-time average) and examine rows 2-3 for current load; as a general guideline, investigate paging space usage above 70% in lsps -s and growing pbuf / fsbuf blocked counters in vmstat -v. Cross-check no -a (ipqmaxlen, rfc1323, sb_max, tcp_*, udp_*), ioo -a, schedo -a, virtual Ethernet lsattr -El entN (mtu_bypass and buffer counts), and /etc/security/limits against IBM PIQS recommendations, and feed lslpp -Lqc and emgr -lv3 into IBM FLRTVC for security and HIPER APAR auditing.
  6. Subsystems and time sync: Check lssrc -a for critical subsystems stuck in inoperative state, verify NTP synchronization in lssrc -ls xntpd, and review any CLOCK_NOTE in the header.
  7. System dump: Compare estimated dump size (sysdumpdev -e) against dump device capacity, and review the last dump status (sysdumpdev -L) alongside dumpcheck -p warnings.
  8. Cluster and Fibre Channel: On PowerHA nodes, check that clstrmgrES is in ST_STABLE state and resource groups in clRGinfo are ONLINE rather than ERROR; on GPFS nodes, check mmgetstate -a for active status across nodes; in fcstat, watch for Link Failure, Loss of Sync, Error Frames, and No DMA Resource counters.

All numeric thresholds above are general industry recommendations; the script only collects raw outputs without making pass/fail judgments. ITCheckAI does not currently generate automated diagnostic reports from AIX check logs, so review the output manually or against your organization's baseline.

Batch Check

List target hosts in hosts.txt (one IP or hostname per line, preferably with SSH key authentication). Using -s streams each host's log directly to a local file. Because exit code 3 indicates "completed with warnings" and still produces a valid log, do not chain execution and log handling with &&:

mkdir -p results
while read h; do
  scp aix-check-v1.8.0.sh root@$h:/tmp/ || continue
  ssh -n root@$h "ksh /tmp/aix-check-v1.8.0.sh -s" > results/$h.log
  echo "$h exit=$?"
done < hosts.txt

In -s mode, a copy of the log is still written to /tmp/healthcheck on the remote host; clean it up afterward as shown in Step 5. You can also pipe the script over SSH via ksh -s without uploading a file first (uses default options and still requires fetching the log from /tmp/healthcheck):

ssh root@192.168.1.10 "ksh -s" < aix-check-v1.8.0.sh
scp root@192.168.1.10:/tmp/healthcheck/host01_*.log ./results/

If you use Ansible, the script module pushes and executes the script without requiring Python on the AIX target. Note that Ansible treats exit code 3 as failed, so check the output before discarding results:

ansible aix -i hosts.txt -m script -a "aix-check-v1.8.0.sh" --become
# then fetch /tmp/healthcheck/*.log with the scp loop above

VIOS normally disables direct root SSH login and requires logging in as padmin followed by oem_setup_env, so run VIOS checks interactively. Because dropping an SSH session sends SIGHUP and aborts the run (*** INTERRUPTED, exit code 130), consider wrapping remote execution with nohup over unstable network links.

Notes and Caveats

Note: The check log contains hostnames, IP addresses, routing tables, /etc/hosts, process names, machine serial numbers, hardware VPD, and system error logs. Store and transmit it according to your organization's security policies and avoid sharing in uncontrolled environments.

  • Credential redaction boundary: The script never reads /etc/security/passwd, shadow, SNMP configs, or private key files. Process collection uses comm basenames only (no raw command arguments), crontab -l emits schedule and executable basenames only (dropping env vars, comments, and args), and all command outputs pass through a built-in POSIX awk streaming redactor covering 20 credential classes (private keys, password hashes, URL credentials, Auth/Cookie/API-key headers, Bearer/JWT/cloud tokens, SNMP communities, CLI/SQL/mount/CHAP/lsattr secrets).
  • Short performance sampling: vmstat 1 3, iostat 1 3, and lparstat 1 3 each sample for roughly 3 seconds, capturing only point-in-time load rather than continuous trend monitoring (such as nmon).
  • Error log window: Detailed errpt -a output defaults to the last 100 days; pass -d 0 when full error history is needed and ensure sufficient free space in the output directory.
  • Difference from IBM snap: This script produces a single human-readable text log with an embedded manifest tailored for routine health checks, whereas IBM Support cases require an official snap diagnostic archive; the two do not replace each other.
  • Zero state changes: The script modifies no system settings and resets no device counters; if interrupted mid-run, partial log output remains in the output directory while the temporary directory is cleaned up automatically.
45 views Updated 2026-11-19

More in this groupOS Check Scripts

View all 6 in this group

Can't find an answer?

Upload a log for AI diagnosis, or ask the AI assistant directly in the console.