Skip to content

namodn/sloth

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
NAME
       sloth - slow down a process

SYNOPSIS
       sloth [DELAY(ms)] [PROGRAM or PID]

DESCRIPTION
       Sloth allows you to slow down a process by specifying (in 
       miliseconds) the delay. It slows down the process by sending 
       SIGSTOP & SIGCONT signals to the process over a very fast 
       period of time, giving the appearance of a slower application.
       
       The number given (as the first command line argument) will be 
       the wait period before stopping and unstopping the process. 
       The actual time between a stop and an unstop is DELAY * 10. 
       
       The second parameter can either be the name of the program 
       (with all command line args) to spawn, or the PID of a 
       currently running process. So, if the second parameter is
       all numbers, sloth will assume it's PID, if there are any
       letters, sloth will attempt to execute it.

EXAMPLE
       # sloth 5000 ines Pirates.nes
       
       This command will run the emulator 'ines' with the game 
       'Pirates'. Every 5000ms it will send a SIGSTOP (effectively 
       pausing the game) wait for 50,000ms (n*10), then send a 
       SIGCONT, continuing the process where it left off.

       # sloth 8000 4172

       This command will slow PID 4172 so that it is stopped 
       for 80,000ms every 8000ms. 

ABOUT
       Written by: Nick Jennings <nick@namodn.com>
       Homepage: http://www.communityprojects.org/apps/sloth/

BUGS
 
   Report bugs to: Nick Jennings <nick@namodn.com>
COPYRIGHT
       Copyright © 2002 Nick Jennings
       This is free software; see the source for copying conditions.
       There is NO warranty; not even for MERCHANTABILITY or FITNESS 
       FOR A PARTICULAR PURPOSE.

About

Slow down a process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published