github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/tests/manual_testing/service/start-kill.sh (about)

     1  for i in {1..10}; do
     2    echo "############################################################### STARTING"
     3    STEAMPIPE_LOG=trace steampipe service start
     4    ps -ef | grep steampipe
     5    STEAMPIPE_LOG=trace steampipe query "select pg_sleep(10)" &
     6    
     7    echo "############################################################### KILLING"
     8    pkill -9 steampipe
     9    ps -ef | grep steampipe
    10    pkill -9 postgres
    11    ps -ef | grep steampipe
    12    echo "############################################################### DONE"
    13  done