curl-users
Re: Finding PID of a curl process
Date: Sat, 27 Apr 2019 17:56:25 -0400
Is pidof command installed with uclibc?
Joe
On Sat, Apr 27, 2019, 17:31 Jon Harris <jharris_at_symetrix.co> wrote:
> 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.
>
> -----------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-04-28