pid of process by a specific variable

ps ax|grep memcached|awk '$8=="'"$PORT"'" {print $1}'
avatar

About tompos

Hungary, Budapest
This entry was posted in IT, Linux. Bookmark the permalink.

Leave a Reply