hitman

Provide a command-line utility that can kill stuck processes: Starts another process, giving connection details Other process requests to be killed after a certain time Other process requests postponed kill

License

License

Categories

Categories

Ant Build Tools
GroupId

GroupId

no.antares
ArtifactId

ArtifactId

clu.hitman
Last Version

Last Version

0.8.6
Release Date

Release Date

Type

Type

jar
Description

Description

hitman
Provide a command-line utility that can kill stuck processes: Starts another process, giving connection details Other process requests to be killed after a certain time Other process requests postponed kill
Project URL

Project URL

https://github.com/AntaTom/Clu-HitMan
Source Code Management

Source Code Management

https://github.com/AntaTom/Clu-HitMan

Download clu.hitman

How to add to project

<!-- https://jarcasting.com/artifacts/no.antares/clu.hitman/ -->
<dependency>
    <groupId>no.antares</groupId>
    <artifactId>clu.hitman</artifactId>
    <version>0.8.6</version>
</dependency>
// https://jarcasting.com/artifacts/no.antares/clu.hitman/
implementation 'no.antares:clu.hitman:0.8.6'
// https://jarcasting.com/artifacts/no.antares/clu.hitman/
implementation ("no.antares:clu.hitman:0.8.6")
'no.antares:clu.hitman:jar:0.8.6'
<dependency org="no.antares" name="clu.hitman" rev="0.8.6">
  <artifact name="clu.hitman" type="jar" />
</dependency>
@Grapes(
@Grab(group='no.antares', module='clu.hitman', version='0.8.6')
)
libraryDependencies += "no.antares" % "clu.hitman" % "0.8.6"
[no.antares/clu.hitman "0.8.6"]

Dependencies

compile (3)

Group / Artifact Type Version
commons-cli : commons-cli jar 1.2
commons-lang : commons-lang jar 2.6
log4j : log4j jar 1.2.17

test (4)

Group / Artifact Type Version
junit : junit-dep jar 4.10
org.mockito : mockito-core jar 1.8.5
org.hamcrest : hamcrest-library jar 1.1
no.antares : eventualj jar 0.5

Project Modules

There are no modules declared in this project.

Clu-HitMan

HitMan is a command-line utility that can start and kill other processes

Maven builds a self-contained jar. Run it without options for help: java -jar "clu.hitman-*-jar-with-dependencies.jar"

The utility has 3 functions based on command line arguments

  • ( port+cmd ): start hitMan (on port), hitMan wiil start process specified by cmd option
  • ( port+sig ): send signal to hitMan (on port)
  • ( no port ): print help / usage

See also Main class in package no.antares.clutil.hitman

Examples:

(DOS) java -jar "clu.hitman-*-jar-with-dependencies.jar" -port 5555 -cmd "C:\Program Files\Internet Explorer\iexplore.exe" 
(OSX) java -jar "clu.hitman-*-jar-with-dependencies.jar" -port 5555 -cmd /Applications/TextWrangler.app/Contents/MacOS/TextWrangler 
java -jar "clu.hitman-*-jar-with-dependencies.jar" -port 5555 -sig "HIT ME IN 5" 

Versions

Version
0.8.6
0.8.5
0.8.4
0.8.1
0.8
0.7
0.6.1
0.6
0.5