https://github.com/manjaro/pamac/issues/3

A simple way to check if pamac is already running.