susaklion.blogg.se

Ps ef grep java command meaning
Ps ef grep java command meaning












ps ef grep java command meaning

The -a is just here to output the full line.Īnyway, to kill that, we just switch to pkill which is practically the same command. Without it it'd only be searching the first part. This expands the pattern search to the whole command line used to run something. It's the -f which is really required here. You can awk that down (you don't need grep and awk) but jave a look at pgrep! $ pgrep -af 'uwsgi.*cleanup'ħ203 /web/venv/bin/uwsgi -include /web/django-uwsgi.ini -ini /web/cleanup/uwsgi.iniħ217 /web/venv/bin/uwsgi -include /web/django-uwsgi.ini -ini /web/cleanup/uwsgi.ini Here's a chunk of ps aux | grep uwsgi: oli 7201 0.0 1.0 70324 20936 ? S 12:54 0:00 /web/venv/bin/uwsgi -include /web/django-uwsgi.ini -ini /web/asvsforms/uwsgi.ini

ps ef grep java command meaning

Similar situation in that they all look like UWSGI processes.

ps ef grep java command meaning

I don't have a Java setup like yours but I do run a load of Django applications on my server.














Ps ef grep java command meaning