timelimit

Executes a command and terminates the spawned process after a given time with a given signal, sending a "warning" signal first, then a "kill" signal after a timeout.

Made by ppentchev

  • process-optimization

  • Process Management

What is timelimit?

The timelimit utility allows users to execute a command and terminate the spawned process after a specified time has elapsed. It functions similar to the shutdown process of the init(8) system, where a "warning" signal is first sent, followed by a "kill" signal after a timeout period. This tool provides a means to control the runtime of a command, ensuring that it does not exceed a predefined duration, and terminating the process if necessary to prevent it from running indefinitely

Highlights

  • Executes a command and terminates the spawned process after a given time
  • Sends a "warning" signal first, then a "kill" signal after a timeout period
  • Operates similar to the shutdown process of the init(8) system
  • Provides a way to control the runtime of a command and prevent it from running indefinitely

Platforms

  • Linux

Languages

  • English

Features

    • Process Monitoring