[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [kde-devel] pid's
From: Sheldon Lee-Wen <tormak () rogers ! com>
Date: 2002-06-07 0:10:34
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
Anyone know how to get the pid of a process running in the system? I have a
daemon that the user can run (called lineakd), and I want to check to see if
it is running when I start my gui program (klineakconfig), so that I don't
end up running multiple instances of it. (or so I can kill it and start one
w/ KProcess). Does anyone know how I can get the pid's of such running
processes without do a system call to grep through the output of ps ?
Thanks
Sheldon.
- --
==================================================================
"... all thoughts of selfish desire, ill-will, hatred and
violence are the result of a lack of wisdom ... "
- Buddha
For an awsome fantasy role playing game checkout:
http://lycadican.sourceforge.net
GPG KeyID=04B7F7F8
GPG Fingerprint=4B0F 7202 FAFF D146 5F56 9E83 BE7F D7F7 04B7 F7F8
==================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8//n6vn/X9wS39/gRAilRAJ9s+GuGRavm1jFY6FvRD77SMEL5nACgzgV0
AZqC1sqJ7Vj0gkploYGCflU=
=5vgQ
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic