Re: detecting running processes



On Sat, 10 Jan 2004 10:53:11 +0000
Jeremy Wilkins <jeb jeremywilkins freeserve co uk> wrote:

Is there any way to detect if a process is running using glib. I want to
findout if either esd or artsd are running.

thanks

        Hi, can you use lsof

#lsof | grep glib
gnome-ter   796 kaesar  mem    REG        3,2   138256    332305 /usr/lib/libglib-1.2.so.0.0.10
manyapad    797 kaesar  mem    REG        3,2   138256    332305 /usr/lib/libglib-1.2.so.0.0.10
gkrellm     798 kaesar  mem    REG        3,2   138256    332305 /usr/lib/libglib-1.2.so.0.0.10
gtop        799 kaesar  mem    REG        3,2   138256    332305 /usr/lib/libglib-1.2.so.0.0.10
sylpheed    800 kaesar  mem    REG        3,2   138256    332305 /usr/lib/libglib-1.2.so.0.0.10


          Saludos

                     César aka insallah
                    Powered by Debian Woody.
           kernel 2.4.20 OpenMosix-2.4.20-2 patch applied.
            {Pentium 200MMX  Pentium 120 Pentium 200MMX }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]