LockInspectionEntry
Parameters and properties
Section titled “Parameters and properties”The fields below cover all variants; the signature specifies their allowed combinations.
nameRequiredstringBasename of the entry, or the full object key for a transport inventory.pathRequiredstringHost path of the entry, or the object key for a transport inventory.ownershipOptionalLockOwnership | undefinedWhether the recorded process still holds the lock, judged by host, boot, PID namespace and process start time. Rely on it rather than on state.stateRequired"present" | "absent" | "unknown" | "skipped"present: a process with the recorded PID exists; absent: none exists; unknown: the file or PID could not be read or probed; skipped: the entry is not a file.pidVariant-dependentnumber | number | undefinedPID read from the lock file, absent when the file or its PID is unreadable.reasonVariant-dependentstring | "NOT_FILE"Why the state is unknown (LOCK_READ_FAILED, INVALID_PID, PID_PROBE_FAILED) or skipped (NOT_FILE).