Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
批量停止相关进程
tonylight2016
Nov 24th, 2020
(
edited
)
758
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
if
[
$#
-ne
1
]
;
then
echo
"参数错误!"
exit
-1
fi
pids
=
`
ps
-ef
|
grep
$1
|
grep
-v
$0
|
awk
'{print $2}'
`
for
pidd
in
$pids
do
kill
-9
$pidd
done
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 14 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 29 min ago | 0.39 KB
blooket hack
JavaScript | 40 min ago | 12.25 KB
[DOORS] Super entity spawner
Lua | 56 min ago | 159.14 KB
Calculo_Figuras
Python | 1 hour ago | 5.24 KB
esportal error
Objective C | 1 hour ago | 4.93 KB
Камрейч
JavaScript | 1 hour ago | 0.61 KB
Untitled
FreeBasic | 1 hour ago | 3.27 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!