Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Best way to check that a process is running on a Unix system?

Reply
Thread Tools

Best way to check that a process is running on a Unix system?

 
 
Arthur Pemberton
Guest
Posts: n/a
 
      05-28-2006
Hello list,

What is the best way to check that a process is running (or better yet
number of instances) based on the name of the process? Would have to
work on a unix/linux system.

Thank you.

--
To be updated...
 
Reply With Quote
 
 
 
 
Eriol
Guest
Posts: n/a
 
      05-29-2006
Arthur Pemberton wrote:

> What is the best way to check that a process is running (or better yet
> number of instances) based on the name of the process? Would have to
> work on a unix/linux system.


Did you try pidof?

Bye,
Eriol
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Perl process as a unix background process gbostock@excite.com Perl Misc 14 08-15-2009 02:41 PM
Re: Best way to check that a process is running on a Unix system? =?ISO-8859-1?Q?BJ=F6rn_Lindqvist?= Python 1 06-05-2006 10:30 AM
Show up process indicator while process is running then do page redirection Jona ASP .Net 2 09-01-2005 04:03 AM
Best way to determine if running on windows or unix-based system Carl Youngblood Ruby 6 07-04-2004 03:49 AM



Advertisments