i know this is few days old thread: but i would use `pgrep'. using ps for anything other than presenting the user the output is usually not-so-bright idea. also using kill -9 is usually a bad ideas too, use simple kill and add the -9 only if that fails.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum