Apache Mesos
Namespaces | Functions
killtree.hpp File Reference
#include <stdlib.h>
#include <unistd.h>
#include <list>
#include <queue>
#include <set>
#include <stout/check.hpp>
#include <stout/os.hpp>
#include <stout/os/pstree.hpp>

Go to the source code of this file.

Namespaces

 os
 

Functions

std::set< pid_tos::children (pid_t, const std::list< Process > &, bool)
 
Result< Process > os::process (pid_t pid)
 
Option< Process > os::process (pid_t, const std::list< Process > &)
 
Try< std::list< Process > > os::processes ()
 
Try< std::list< ProcessTree > > os::pstrees (const std::set< pid_t > &, const std::list< Process > &)
 
Try< std::list< ProcessTree > > os::killtree (pid_t pid, int signal, bool groups=false, bool sessions=false)