Alternative to `pkill` or `pgrep -f` on cygwin?How to Cygwin Xwin -query an Ubuntu 11.10 Xserver?Linux: Kill process based on argumentsWhy can't I kill a timeout called from a Bash script with a keystroke?Capture complete process structure/stack`ps | grep | kill` aborts my script prematurelyProcess management and pkillSelect PID by full commandpkill with regexCygwin/X DISPLAY number no longer :0?How to kill multiple processes
The use of multiple foreign keys on same column in SQL Server
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
What do you call a Matrix-like slowdown and camera movement effect?
What is the offset in a seaplane's hull?
Minkowski space
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
How to write a macro that is braces sensitive?
What's the output of a record cartridge playing an out-of-speed record
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Do VLANs within a subnet need to have their own subnet for router on a stick?
LaTeX closing $ signs makes cursor jump
What does CI-V stand for?
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Why dont electromagnetic waves interact with each other?
Fully-Firstable Anagram Sets
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Risk of getting Chronic Wasting Disease (CWD) in the United States?
Is this a crack on the carbon frame?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Problem of parity - Can we draw a closed path made up of 20 line segments...
Why doesn't H₄O²⁺ exist?
Has the BBC provided arguments for saying Brexit being cancelled is unlikely?
Why does Kotter return in Welcome Back Kotter?
Service Entrance Breakers Rain Shield
Alternative to `pkill` or `pgrep -f` on cygwin?
How to Cygwin Xwin -query an Ubuntu 11.10 Xserver?Linux: Kill process based on argumentsWhy can't I kill a timeout called from a Bash script with a keystroke?Capture complete process structure/stack`ps | grep | kill` aborts my script prematurelyProcess management and pkillSelect PID by full commandpkill with regexCygwin/X DISPLAY number no longer :0?How to kill multiple processes
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Suppose I have started my process like:
java -DSOME_STRING -jar foo.jar
Then on linux, I can use the following to find or kill this process:
pgrep -f SOME_STRING
pkill -f SOME_STRING
However this doesn't seem to work on cygwin. Can anyone suggest an alternative for these tools in cygwin?
kill ps cygwin
add a comment |
Suppose I have started my process like:
java -DSOME_STRING -jar foo.jar
Then on linux, I can use the following to find or kill this process:
pgrep -f SOME_STRING
pkill -f SOME_STRING
However this doesn't seem to work on cygwin. Can anyone suggest an alternative for these tools in cygwin?
kill ps cygwin
1
Doesn't work in what way? Doesn't kill the process, doesn't find the process to kill it? Gives an error?
– EightBitTony
Aug 24 '11 at 21:51
pgrep doesn't find the process. pkill doesn't kill the process.
– toolkit
Aug 25 '11 at 20:48
Here are implementations ofkillall
andpidof
crafted for Cygwin. Depends on Python 2/ - github.com/kata198/cygwin-ps-misc
– Tim Savannah
Nov 25 '14 at 16:28
add a comment |
Suppose I have started my process like:
java -DSOME_STRING -jar foo.jar
Then on linux, I can use the following to find or kill this process:
pgrep -f SOME_STRING
pkill -f SOME_STRING
However this doesn't seem to work on cygwin. Can anyone suggest an alternative for these tools in cygwin?
kill ps cygwin
Suppose I have started my process like:
java -DSOME_STRING -jar foo.jar
Then on linux, I can use the following to find or kill this process:
pgrep -f SOME_STRING
pkill -f SOME_STRING
However this doesn't seem to work on cygwin. Can anyone suggest an alternative for these tools in cygwin?
kill ps cygwin
kill ps cygwin
edited 2 days ago
toolkit
asked Aug 24 '11 at 21:10
toolkittoolkit
3292412
3292412
1
Doesn't work in what way? Doesn't kill the process, doesn't find the process to kill it? Gives an error?
– EightBitTony
Aug 24 '11 at 21:51
pgrep doesn't find the process. pkill doesn't kill the process.
– toolkit
Aug 25 '11 at 20:48
Here are implementations ofkillall
andpidof
crafted for Cygwin. Depends on Python 2/ - github.com/kata198/cygwin-ps-misc
– Tim Savannah
Nov 25 '14 at 16:28
add a comment |
1
Doesn't work in what way? Doesn't kill the process, doesn't find the process to kill it? Gives an error?
– EightBitTony
Aug 24 '11 at 21:51
pgrep doesn't find the process. pkill doesn't kill the process.
– toolkit
Aug 25 '11 at 20:48
Here are implementations ofkillall
andpidof
crafted for Cygwin. Depends on Python 2/ - github.com/kata198/cygwin-ps-misc
– Tim Savannah
Nov 25 '14 at 16:28
1
1
Doesn't work in what way? Doesn't kill the process, doesn't find the process to kill it? Gives an error?
– EightBitTony
Aug 24 '11 at 21:51
Doesn't work in what way? Doesn't kill the process, doesn't find the process to kill it? Gives an error?
– EightBitTony
Aug 24 '11 at 21:51
pgrep doesn't find the process. pkill doesn't kill the process.
– toolkit
Aug 25 '11 at 20:48
pgrep doesn't find the process. pkill doesn't kill the process.
– toolkit
Aug 25 '11 at 20:48
Here are implementations of
killall
and pidof
crafted for Cygwin. Depends on Python 2/ - github.com/kata198/cygwin-ps-misc– Tim Savannah
Nov 25 '14 at 16:28
Here are implementations of
killall
and pidof
crafted for Cygwin. Depends on Python 2/ - github.com/kata198/cygwin-ps-misc– Tim Savannah
Nov 25 '14 at 16:28
add a comment |
3 Answers
3
active
oldest
votes
pkill and pgrep certainly exist within Cygwin, in the procps package (you can search cygwin packages here).
It appears to work for me,
tony:~$ nohup sleep 100983 &
[1] 5476
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$
tony:~$ ps -ef | grep sleep
tony 5476 2696 2 23:28:53 /usr/bin/sleep
tony:~$ pkill -f sleep
[1]+ Terminated nohup sleep 100983
tony:~$
and
tony:~$ nohup sleep 837746 &
[1] 228
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$ pgrep -f 837746
228
tony:~$ pkill -f 837746
[1]+ Terminated nohup sleep 837746
tony:~$
Update: okay, tested with java. Executing java from the Cygwin command line does not result in the java string being placed into /proc/<pid>/cmdline
, that just contains -bash
.
This appears to be a limitation of Cygwin.
tony:~$ java -Dsomething=valid -jar Captor.jar &
[1] 2700
tony:~$ ps -ef
UID PID PPID TTY STIME COMMAND
tony 4164 1 ? Aug 21 /usr/bin/mintty
tony 4676 4164 0 Aug 21 /usr/bin/bash
tony 5776 4676 0 Aug 23 /usr/bin/ssh
tony 5148 1 ? 23:53:03 /usr/bin/mintty
tony 5332 5148 1 23:53:03 /usr/bin/bash
tony 5816 1 ? 00:04:16 /usr/bin/mintty
tony 5432 5816 2 00:04:16 /usr/bin/bash
tony 2700 5432 2 00:04:34 /cygdrive/c/Windows/system32/java
tony 2232 5432 2 00:04:39 /usr/bin/ps
tony:~$ pgrep -f something
tony:~$ cat /proc/2700/cmdline
-bash
tony:~$
tony:~$ cat /proc/2700/exename
/cygdrive/c/Windows/system32/java
I suspect therefore, the answer is you can't do this with a Cygwin tool, you would need a Windows specific tool.
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
1
@thameera try packageprocps-ng
.
– Abdull
Sep 22 '16 at 8:54
1
apt-cyg install procps-ng
with newest cygwin
– Timo
Nov 20 '17 at 15:09
|
show 1 more comment
The Cygwin utilities work like the Linux ones, but they only work on Cygwin processes. For Windows processes, you need to use Windows utilities, such as the ones from Sysinternals. PsKill can kill processes by name.
4
as can the nativetaskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
2
ps
also shows Windows processes with the-W
switch
– golimar
Dec 11 '14 at 17:00
add a comment |
In older Cygwin versions, there is a procps
package that you can install to get the same functionality with the same commands.
In newer Cygwin versions, the procps
package no longer exists and is replaced by package procps-ng
.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f19359%2falternative-to-pkill-or-pgrep-f-on-cygwin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
pkill and pgrep certainly exist within Cygwin, in the procps package (you can search cygwin packages here).
It appears to work for me,
tony:~$ nohup sleep 100983 &
[1] 5476
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$
tony:~$ ps -ef | grep sleep
tony 5476 2696 2 23:28:53 /usr/bin/sleep
tony:~$ pkill -f sleep
[1]+ Terminated nohup sleep 100983
tony:~$
and
tony:~$ nohup sleep 837746 &
[1] 228
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$ pgrep -f 837746
228
tony:~$ pkill -f 837746
[1]+ Terminated nohup sleep 837746
tony:~$
Update: okay, tested with java. Executing java from the Cygwin command line does not result in the java string being placed into /proc/<pid>/cmdline
, that just contains -bash
.
This appears to be a limitation of Cygwin.
tony:~$ java -Dsomething=valid -jar Captor.jar &
[1] 2700
tony:~$ ps -ef
UID PID PPID TTY STIME COMMAND
tony 4164 1 ? Aug 21 /usr/bin/mintty
tony 4676 4164 0 Aug 21 /usr/bin/bash
tony 5776 4676 0 Aug 23 /usr/bin/ssh
tony 5148 1 ? 23:53:03 /usr/bin/mintty
tony 5332 5148 1 23:53:03 /usr/bin/bash
tony 5816 1 ? 00:04:16 /usr/bin/mintty
tony 5432 5816 2 00:04:16 /usr/bin/bash
tony 2700 5432 2 00:04:34 /cygdrive/c/Windows/system32/java
tony 2232 5432 2 00:04:39 /usr/bin/ps
tony:~$ pgrep -f something
tony:~$ cat /proc/2700/cmdline
-bash
tony:~$
tony:~$ cat /proc/2700/exename
/cygdrive/c/Windows/system32/java
I suspect therefore, the answer is you can't do this with a Cygwin tool, you would need a Windows specific tool.
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
1
@thameera try packageprocps-ng
.
– Abdull
Sep 22 '16 at 8:54
1
apt-cyg install procps-ng
with newest cygwin
– Timo
Nov 20 '17 at 15:09
|
show 1 more comment
pkill and pgrep certainly exist within Cygwin, in the procps package (you can search cygwin packages here).
It appears to work for me,
tony:~$ nohup sleep 100983 &
[1] 5476
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$
tony:~$ ps -ef | grep sleep
tony 5476 2696 2 23:28:53 /usr/bin/sleep
tony:~$ pkill -f sleep
[1]+ Terminated nohup sleep 100983
tony:~$
and
tony:~$ nohup sleep 837746 &
[1] 228
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$ pgrep -f 837746
228
tony:~$ pkill -f 837746
[1]+ Terminated nohup sleep 837746
tony:~$
Update: okay, tested with java. Executing java from the Cygwin command line does not result in the java string being placed into /proc/<pid>/cmdline
, that just contains -bash
.
This appears to be a limitation of Cygwin.
tony:~$ java -Dsomething=valid -jar Captor.jar &
[1] 2700
tony:~$ ps -ef
UID PID PPID TTY STIME COMMAND
tony 4164 1 ? Aug 21 /usr/bin/mintty
tony 4676 4164 0 Aug 21 /usr/bin/bash
tony 5776 4676 0 Aug 23 /usr/bin/ssh
tony 5148 1 ? 23:53:03 /usr/bin/mintty
tony 5332 5148 1 23:53:03 /usr/bin/bash
tony 5816 1 ? 00:04:16 /usr/bin/mintty
tony 5432 5816 2 00:04:16 /usr/bin/bash
tony 2700 5432 2 00:04:34 /cygdrive/c/Windows/system32/java
tony 2232 5432 2 00:04:39 /usr/bin/ps
tony:~$ pgrep -f something
tony:~$ cat /proc/2700/cmdline
-bash
tony:~$
tony:~$ cat /proc/2700/exename
/cygdrive/c/Windows/system32/java
I suspect therefore, the answer is you can't do this with a Cygwin tool, you would need a Windows specific tool.
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
1
@thameera try packageprocps-ng
.
– Abdull
Sep 22 '16 at 8:54
1
apt-cyg install procps-ng
with newest cygwin
– Timo
Nov 20 '17 at 15:09
|
show 1 more comment
pkill and pgrep certainly exist within Cygwin, in the procps package (you can search cygwin packages here).
It appears to work for me,
tony:~$ nohup sleep 100983 &
[1] 5476
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$
tony:~$ ps -ef | grep sleep
tony 5476 2696 2 23:28:53 /usr/bin/sleep
tony:~$ pkill -f sleep
[1]+ Terminated nohup sleep 100983
tony:~$
and
tony:~$ nohup sleep 837746 &
[1] 228
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$ pgrep -f 837746
228
tony:~$ pkill -f 837746
[1]+ Terminated nohup sleep 837746
tony:~$
Update: okay, tested with java. Executing java from the Cygwin command line does not result in the java string being placed into /proc/<pid>/cmdline
, that just contains -bash
.
This appears to be a limitation of Cygwin.
tony:~$ java -Dsomething=valid -jar Captor.jar &
[1] 2700
tony:~$ ps -ef
UID PID PPID TTY STIME COMMAND
tony 4164 1 ? Aug 21 /usr/bin/mintty
tony 4676 4164 0 Aug 21 /usr/bin/bash
tony 5776 4676 0 Aug 23 /usr/bin/ssh
tony 5148 1 ? 23:53:03 /usr/bin/mintty
tony 5332 5148 1 23:53:03 /usr/bin/bash
tony 5816 1 ? 00:04:16 /usr/bin/mintty
tony 5432 5816 2 00:04:16 /usr/bin/bash
tony 2700 5432 2 00:04:34 /cygdrive/c/Windows/system32/java
tony 2232 5432 2 00:04:39 /usr/bin/ps
tony:~$ pgrep -f something
tony:~$ cat /proc/2700/cmdline
-bash
tony:~$
tony:~$ cat /proc/2700/exename
/cygdrive/c/Windows/system32/java
I suspect therefore, the answer is you can't do this with a Cygwin tool, you would need a Windows specific tool.
pkill and pgrep certainly exist within Cygwin, in the procps package (you can search cygwin packages here).
It appears to work for me,
tony:~$ nohup sleep 100983 &
[1] 5476
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$
tony:~$ ps -ef | grep sleep
tony 5476 2696 2 23:28:53 /usr/bin/sleep
tony:~$ pkill -f sleep
[1]+ Terminated nohup sleep 100983
tony:~$
and
tony:~$ nohup sleep 837746 &
[1] 228
tony:~$ nohup: ignoring input and appending output to `nohup.out'
tony:~$ pgrep -f 837746
228
tony:~$ pkill -f 837746
[1]+ Terminated nohup sleep 837746
tony:~$
Update: okay, tested with java. Executing java from the Cygwin command line does not result in the java string being placed into /proc/<pid>/cmdline
, that just contains -bash
.
This appears to be a limitation of Cygwin.
tony:~$ java -Dsomething=valid -jar Captor.jar &
[1] 2700
tony:~$ ps -ef
UID PID PPID TTY STIME COMMAND
tony 4164 1 ? Aug 21 /usr/bin/mintty
tony 4676 4164 0 Aug 21 /usr/bin/bash
tony 5776 4676 0 Aug 23 /usr/bin/ssh
tony 5148 1 ? 23:53:03 /usr/bin/mintty
tony 5332 5148 1 23:53:03 /usr/bin/bash
tony 5816 1 ? 00:04:16 /usr/bin/mintty
tony 5432 5816 2 00:04:16 /usr/bin/bash
tony 2700 5432 2 00:04:34 /cygdrive/c/Windows/system32/java
tony 2232 5432 2 00:04:39 /usr/bin/ps
tony:~$ pgrep -f something
tony:~$ cat /proc/2700/cmdline
-bash
tony:~$
tony:~$ cat /proc/2700/exename
/cygdrive/c/Windows/system32/java
I suspect therefore, the answer is you can't do this with a Cygwin tool, you would need a Windows specific tool.
edited Aug 25 '11 at 23:03
answered Aug 24 '11 at 22:29
EightBitTonyEightBitTony
16.4k34454
16.4k34454
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
1
@thameera try packageprocps-ng
.
– Abdull
Sep 22 '16 at 8:54
1
apt-cyg install procps-ng
with newest cygwin
– Timo
Nov 20 '17 at 15:09
|
show 1 more comment
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
1
@thameera try packageprocps-ng
.
– Abdull
Sep 22 '16 at 8:54
1
apt-cyg install procps-ng
with newest cygwin
– Timo
Nov 20 '17 at 15:09
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
Your example is substantially different than the one the OP is trying. You matched the name of the process rather than an arbitrary string in it's arguments. Can you test the latter and see if that works?
– Caleb
Aug 25 '11 at 5:21
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
seems to work fine
– EightBitTony
Aug 25 '11 at 7:06
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
It seems procps is not available for x64 cygwin.
– thameera
Oct 15 '13 at 5:57
1
1
@thameera try package
procps-ng
.– Abdull
Sep 22 '16 at 8:54
@thameera try package
procps-ng
.– Abdull
Sep 22 '16 at 8:54
1
1
apt-cyg install procps-ng
with newest cygwin– Timo
Nov 20 '17 at 15:09
apt-cyg install procps-ng
with newest cygwin– Timo
Nov 20 '17 at 15:09
|
show 1 more comment
The Cygwin utilities work like the Linux ones, but they only work on Cygwin processes. For Windows processes, you need to use Windows utilities, such as the ones from Sysinternals. PsKill can kill processes by name.
4
as can the nativetaskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
2
ps
also shows Windows processes with the-W
switch
– golimar
Dec 11 '14 at 17:00
add a comment |
The Cygwin utilities work like the Linux ones, but they only work on Cygwin processes. For Windows processes, you need to use Windows utilities, such as the ones from Sysinternals. PsKill can kill processes by name.
4
as can the nativetaskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
2
ps
also shows Windows processes with the-W
switch
– golimar
Dec 11 '14 at 17:00
add a comment |
The Cygwin utilities work like the Linux ones, but they only work on Cygwin processes. For Windows processes, you need to use Windows utilities, such as the ones from Sysinternals. PsKill can kill processes by name.
The Cygwin utilities work like the Linux ones, but they only work on Cygwin processes. For Windows processes, you need to use Windows utilities, such as the ones from Sysinternals. PsKill can kill processes by name.
answered Aug 25 '11 at 23:35
GillesGilles
546k12911111624
546k12911111624
4
as can the nativetaskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
2
ps
also shows Windows processes with the-W
switch
– golimar
Dec 11 '14 at 17:00
add a comment |
4
as can the nativetaskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
2
ps
also shows Windows processes with the-W
switch
– golimar
Dec 11 '14 at 17:00
4
4
as can the native
taskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
as can the native
taskkill /f /im procname.exe
– Marcos
Feb 28 '12 at 12:51
2
2
ps
also shows Windows processes with the -W
switch– golimar
Dec 11 '14 at 17:00
ps
also shows Windows processes with the -W
switch– golimar
Dec 11 '14 at 17:00
add a comment |
In older Cygwin versions, there is a procps
package that you can install to get the same functionality with the same commands.
In newer Cygwin versions, the procps
package no longer exists and is replaced by package procps-ng
.
add a comment |
In older Cygwin versions, there is a procps
package that you can install to get the same functionality with the same commands.
In newer Cygwin versions, the procps
package no longer exists and is replaced by package procps-ng
.
add a comment |
In older Cygwin versions, there is a procps
package that you can install to get the same functionality with the same commands.
In newer Cygwin versions, the procps
package no longer exists and is replaced by package procps-ng
.
In older Cygwin versions, there is a procps
package that you can install to get the same functionality with the same commands.
In newer Cygwin versions, the procps
package no longer exists and is replaced by package procps-ng
.
edited Mar 28 '17 at 17:43
Abdull
2661411
2661411
answered Aug 24 '11 at 22:02
CalebCaleb
51.8k9150194
51.8k9150194
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f19359%2falternative-to-pkill-or-pgrep-f-on-cygwin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Doesn't work in what way? Doesn't kill the process, doesn't find the process to kill it? Gives an error?
– EightBitTony
Aug 24 '11 at 21:51
pgrep doesn't find the process. pkill doesn't kill the process.
– toolkit
Aug 25 '11 at 20:48
Here are implementations of
killall
andpidof
crafted for Cygwin. Depends on Python 2/ - github.com/kata198/cygwin-ps-misc– Tim Savannah
Nov 25 '14 at 16:28