ChimeraTK-DeviceAccess  03.18.00
ProcessManagement.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2 // SPDX-License-Identifier: LGPL-3.0-or-later
3 #pragma once
4 
5 // Utilities to manage Linux processes
6 #include <string>
7 
8 bool processExists(unsigned pid);
9 unsigned getOwnPID();
10 std::string getUserName();
processExists
bool processExists(unsigned pid)
Definition: ProcessManagement.cpp:16
getOwnPID
unsigned getOwnPID()
Definition: ProcessManagement.cpp:20
getUserName
std::string getUserName()
Definition: ProcessManagement.cpp:24