Command to kill process in server

Lim Sing
May 6, 2021

Check running process (eg grep artisan (for artisan only))
ps aux|grep artisan

Stop running process
- can get PID from above
kill 88888

stop all artisan process
pkill -f artisan

宝塔:

sudo cat /www/server/panel/data/port.pl && /etc/init.d/bt restart

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Lim Sing
Lim Sing

No responses yet

Write a response