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

Discussion in 'Python' started by Arthur Pemberton, May 28, 2006.

  1. 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...
    Arthur Pemberton, May 28, 2006
    #1
    1. Advertising

  2. Arthur Pemberton

    Eriol Guest

    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
    Eriol, May 29, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    12
    Views:
    1,613
    Dave Thompson
    Jan 10, 2005
  2. =?ISO-8859-1?Q?BJ=F6rn_Lindqvist?=

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

    =?ISO-8859-1?Q?BJ=F6rn_Lindqvist?=, May 28, 2006, in forum: Python
    Replies:
    1
    Views:
    5,143
    Nick Craig-Wood
    Jun 5, 2006
  3. Replies:
    18
    Views:
    607
    Dave Thompson
    Jan 10, 2005
  4. Carl Youngblood
    Replies:
    6
    Views:
    247
  5. Replies:
    14
    Views:
    239
    Martijn Lievaart
    Aug 15, 2009
Loading...

Share This Page