Google Ads

Cheking if a named process is running

#!/bin/bash
if [ "$(pidof process_name)" ]
then
     echo "process_name is running"
else
     echo "process_name is not running"
fi

References:

Comments

Popular posts from this blog

A Better SKMEI 1418 / 1427 Instructions Manual

A Better SKMEI 1358 Instructions Manual

Jailbreak your Amazon Kindle Keyboard

SKMEI 1358 Review

How to export Tasker's Projects, Profiles, Tasks and Scenes

How to import Tasker projects, profiles, tasks and scenes