How to get killall on Cygwin

2

On Cygwin, I can access kill from bash, but when I try to execute killall, I get an error message saying “not available”.

How do I get killall on Cygwin?

user149408

Posted 2018-06-15T11:22:28.327

Reputation: 778

Answers

4

Use the package search to locate the package with killall

https://cygwin.com/cgi-bin2/package-grep.cgi

https://cygwin.com/cgi-bin2/package-grep.cgi?grep=bin%2Fkillall&arch=x86_64

Search Results Found 5 matches for bin/killall

busybox-1.23.2-1 - busybox: Tiny utilities in a single executable (installed binaries and support files)
psmisc-debuginfo-22.20-1 - psmisc-debuginfo: Debug info for psmisc (installed binaries and support files)
psmisc-22.20-1 - psmisc: Utilities for managing processes on your system (installed binaries and support files)
sysvinit-debuginfo-2.86-1 - sysvinit-debuginfo: Debug info for sysvinit (installed binaries and support files)
sysvinit-2.86-1 - sysvinit: A System-V Init Clone (installed binaries and support files)

psmisc is the one you need.

matzeri

Posted 2018-06-15T11:22:28.327

Reputation: 1 662

3

Install the psmisc package using Cygwin Setup (which apparently does not get installed by default). This will give you the killall command.

user149408

Posted 2018-06-15T11:22:28.327

Reputation: 778