#!/bin/bash

 

echo 'kill django process...'

for pid in `ps aux | grep 'manage.py' | grep -v 'grep' | awk '{print $2}'`; do

  echo kill $pid

  kill -9 $pid

done

+ Recent posts