from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

99411

userrating:

average rating: 1.7 (84 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

214552

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

95589

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





RC_FIND_PIDS

Section: C Library Functions (3)
Updated: SMM
Index Return to Main Contents

BSD mandoc
OpenRC  

NAME

rc_find_pids - finds the pids of processes that match the given criteria  

LIBRARY

Run Command library (librc, -lrc)  

SYNOPSIS

In rc.h Ft RC_PIDLIST * Fo rc_find_pids Fa const char *const *argv Fa const char *cmd Fa uid_t uid Fa pid_t pid Fc  

DESCRIPTION

Fn rc_find_pids returns RC_PIDLIST, a structure based on the LIST macro from queue(3) which contains all the pids found matching the given criteria. If Fa pid is given then only that pid is returned if it is running. Otherise we check all instances of Fa argv with a process name of Fa cmd owned by Fa uid , all of which are optional.

The returned list should be freed when done.  

IMPLEMENTATION NOTES

On BSD systems we use Lb libkvm and on Linux systems we use the /proc filesystem to find our processes.

Each RC_PID should be freed in the list as well as the list itself when done.  

SEE ALSO

free(3), queue(3)  

AUTHORS

An Roy Marples <roy@marples.name>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
IMPLEMENTATION NOTES
SEE ALSO
AUTHORS


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2017 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 3.6 ms