Results 1 to 4 of 4

Thread: How to check if the process is running without using ps

  1. #1
    Join Date
    Jan 2009
    Posts
    134

    How to check if the process is running without using ps

    Hello everyone

    I know one method to confirm is "process comndlinearg" running is when process is loading it can make a file and that we can check...but am not satisfied since user may remove the file. I would like to know any other way to which can process can create in some stuff in kernal

    any thoughts guys?

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    Re: How to check if the process is running without using ps

    May be you can utilize the ps command. Open a terminal/console window and issue this command to read the man page
    man ps
    are you looking for this Code
    ps -ax |grep process-name
    i think this might help you

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    Re: How to check if the process is running without using ps

    In order to do this what am done is this let's have a look on this
    check process <process> with pidfile "/var/run/<process>.pid"
    start = "/etc/init.d/<process> start"
    stop = "/etc/init.d/<process> stop"
    you can develop your own no issues just try to understand the concepts
    good luck

  4. #4
    Join Date
    Apr 2008
    Posts
    3,267

    Re: How to check if the process is running without using ps

    I rather search whether my non-Ubuntu system supports it's more precise than doing the "ps", following a "cut", and then a "grep". The "pidof" command is pretty much just like a basic in linux as you know with compared to commercial UNIX
    it is better if your script is working on this operating system

Similar Threads

  1. System Check Removal Process
    By Jaques Strapp in forum AntiVirus Software
    Replies: 1
    Last Post: 19-01-2012, 06:57 PM
  2. CCC.exe process running in Task Manager
    By SANG18 in forum Windows Software
    Replies: 5
    Last Post: 06-01-2010, 04:34 AM
  3. Why dwm.exe process running in the background?
    By abigial_i in forum Technology & Internet
    Replies: 3
    Last Post: 23-12-2009, 05:14 PM
  4. Check if process is running on Local Machine using VB script
    By Aspen in forum Software Development
    Replies: 3
    Last Post: 03-09-2009, 09:46 PM
  5. cfp.exe process is running
    By Ava in forum Networking & Security
    Replies: 3
    Last Post: 25-08-2009, 12:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,962,407.32962 seconds with 16 queries