#include <Process.h++>
Public Member Functions | |
| ExitStatus () throw () | |
| Construct a new ExitStatus. | |
| ~ExitStatus () throw () | |
| Destructor. | |
| int | getExitCode () const throw () |
| Get the exit code from the process. | |
| int | getExitSignal () const throw () |
| Get the exit signal. | |
| bool | isNormal () const throw () |
| Determine if the process exited normally. | |
| uint64_t | getUserTime () const throw () |
| Get the total amount of user-space time, in milliseconds, that the process consumed. | |
| uint64_t | getKernelTime () const throw () |
| Get the total amount of kernel-space time, in milliseconds, that the process consumed. | |
| uint_t | getMaxRSS () const throw () |
| Get the process's maximum resident set size, in pages. | |
Static Public Attributes | |
| static const int | SigAbort = SIGABRT |
| Signal indicating the process was aborted. | |
| static const int | SigFloatingPointException = SIGFPE |
| Signal indicating the process encountered a floating-point exception (such as division by zero). | |
| static const int | SigIllegalInstruction = SIGILL |
| Signal indicating the process encountered an illegal machine instruction. | |
| static const int | SigKeyboardInterrupt = SIGINT |
| Signal indicating the process received a keyboard interrupt (Control-C). | |
| static const int | SigSegmentationFault = SIGSEGV |
| Signal indicating the process attempted an illegal memory access. | |
| static const int | SigTerminationRequest = SIGTERM |
| Signal indicating the process received a termination request. | |
| static const int | SUCCESS = EXIT_SUCCESS |
| The platform's default "success" exit status. | |
| static const int | FAILURE = EXIT_FAILURE |
| The platform's default "failure" exit status. | |
Friends | |
| class | Process |
| ExitStatus | ( | ) | throw () [inline] |
Construct a new ExitStatus.
| ~ExitStatus | ( | ) | throw () [inline] |
Destructor.
| int getExitCode | ( | ) | const throw () [inline] |
Get the exit code from the process.
| int getExitSignal | ( | ) | const throw () [inline] |
Get the exit signal.
| uint64_t getKernelTime | ( | ) | const throw () [inline] |
Get the total amount of kernel-space time, in milliseconds, that the process consumed.
| uint_t getMaxRSS | ( | ) | const throw () [inline] |
Get the process's maximum resident set size, in pages.
This information is not available on some systems (e.g., it is always 0 on Linux).
| uint64_t getUserTime | ( | ) | const throw () [inline] |
Get the total amount of user-space time, in milliseconds, that the process consumed.
| bool isNormal | ( | ) | const throw () [inline] |
Determine if the process exited normally.
friend class Process [friend] |
const int FAILURE = EXIT_FAILURE [static] |
The platform's default "failure" exit status.
const int SigAbort = SIGABRT [static] |
Signal indicating the process was aborted.
const int SigFloatingPointException = SIGFPE [static] |
Signal indicating the process encountered a floating-point exception (such as division by zero).
const int SigIllegalInstruction = SIGILL [static] |
Signal indicating the process encountered an illegal machine instruction.
const int SigKeyboardInterrupt = SIGINT [static] |
Signal indicating the process received a keyboard interrupt (Control-C).
const int SigSegmentationFault = SIGSEGV [static] |
Signal indicating the process attempted an illegal memory access.
const int SigTerminationRequest = SIGTERM [static] |
Signal indicating the process received a termination request.
const int SUCCESS = EXIT_SUCCESS [static] |
The platform's default "success" exit status.
1.5.9