Apache Mesos
|
#include <algorithm>
#include <numeric>
#include <set>
#include <string>
#include <stout/bytes.hpp>
#include <stout/none.hpp>
#include <stout/nothing.hpp>
#include <stout/stringify.hpp>
#include <stout/strings.hpp>
#include <stout/try.hpp>
#include <stout/windows.hpp>
#include <stout/os/os.hpp>
#include <stout/os/process.hpp>
Go to the source code of this file.
Namespaces | |
os | |
Functions | |
Try< std::wstring > | os::name_job (pid_t pid) |
Try< SharedHandle > | os::open_job (const DWORD desired_access, const BOOL inherit_handles, const std::wstring &name) |
Try< SharedHandle > | os::open_job (const DWORD desired_access, const BOOL inherit_handles, const pid_t pid) |
Try< SharedHandle > | os::create_job (const std::wstring &name) |
Try< JOBOBJECT_BASIC_ACCOUNTING_INFORMATION > | os::get_job_info (pid_t pid) |
template<size_t max_pids> | |
Result< std::set< Process > > | os::_get_job_processes (const SharedHandle &job_handle) |
Try< std::set< Process > > | os::get_job_processes (pid_t pid) |
Try< Bytes > | os::get_job_mem (pid_t pid) |
Try< Nothing > | os::set_job_kill_on_close_limit (pid_t pid) |
Try< Nothing > | os::set_job_cpu_limit (pid_t pid, double cpus) |
Try< Nothing > | os::set_job_mem_limit (pid_t pid, Bytes limit) |
Try< Nothing > | os::assign_job (SharedHandle job_handle, pid_t pid) |
Try< Nothing > | os::kill_job (SharedHandle job_handle) |