curl / Mailing Lists / curl-users / Single Mail


Finding PID of a curl process

From: Jon Harris <>
Date: Sat, 27 Apr 2019 17:57:48 +0000

Some programs will store their processed IDs in pid files. I am looking for this functionality for curl but don't see any way to find this. So I would like to request this as a command line option.
I'm also looking for any work-arounds for this. I have a situation where I launch one or more curl operation in the background from a single-threaded C application. At some time later, I want to access it by PID to possibly kill it or find other info about it.
Other relevant factors:
1) I am on a memory-limited system running uClinux. I don't have a 'pgrep' and would prefer not to search through the contents of /proc.
2) There may be dozens of curls open at any one time.

Received on 2019-04-27