---
name: "lamclean"
section: "1"
platform: "linux"
package: "lam-runtime"
version: "7.1.4-7.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lamclean"
---

# lamclean(1)

Attempt to clean entire LAM system.

## NAME

lamclean - Attempt to clean entire LAM system.

## SYNOPSIS

lamclean \[-hv\]

## OPTIONS

- **-h**

  Print the command help menu.

- **-v**

  Be verbose.

## DESCRIPTION

The *lamclean* command attempts to remove all user processes and messages from all nodes. It also de-allocates all user allocated resources and cancels all user process registrations. This happens by invoking many different remote services which have previously been invoked individually by several other commands. These commands should still be used when partial selective removal of user presence is desired. Otherwise, *lamclean* is a quick and convenient way of starting over after a bad application run without rebooting the system.

*lamclean* takes the following actions on the following system processes on all nodes:

- kenyad

  The LAM SIGUDIE signal (terminate) is sent to all user processes. See [doom(1)](/doom/1.md).

- bufferd

  The entire daemon is reset to its initial state after booting. See [sweep(1)](/sweep/1.md).

- filed

  All user file descriptors are closed. See [fctl(1)](/fctl/1.md).

- traced

  All traces are removed. See [lamtrace(1)](/lamtrace/1.md).

*lamclean* will not succeed if any of the nodes are unreachable due to catastrophic failure or maximum buffer overflow with link jamming. If *lamclean* does not return, use [lamwipe(1)](/lamwipe/1.md) and [lamboot(1)](/lamboot/1.md) to restart the multicomputer.

## SEE ALSO

[lamboot(1)](/lamboot/1.md), [lamwipe(1)](/lamwipe/1.md), [sweep(1)](/sweep/1.md), [doom(1)](/doom/1.md), [fctl(1)](/fctl/1.md), [lamtrace(1)](/lamtrace/1.md)
