namodn/sloth
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
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
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
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 0
No packages published