Changes since tdaq-01-08-04
General
- Using boost program_options
instead of cmdl for command
line parsing;
- Using IPCPipeline in
helper applications involving partition wide operations;
- The Handle
constructors now throws the pmg::Invalid_Handle
exception when the built Handle
is not valid;
- Added the name of the host where the application could not be
started to the pmg::Failed_Start
exception.
Server
- AMBridge: added check
on the process owner;
- ProcInteface: fixed
problems with proc fs and 64 bit machines;
- Fixed problem stopping the report threads when the server is
aked to exit;
- Added idl methods to ask the server information about itself
(and the host where it is running);
- Fixed launcher reconnection problem (bug #34183);
- Improved the way to check if the launcher is running;
- Fixed problem showing in IS Agent info more than 4GB of RAM.
Launcher
- Added the possibility to propagate the GID bit (if present) on
working and log dirs: needed to solve some log files issue at P1;
Helpers
- pmg_start_app: The current LD_LIBRARY_PATH
and PATH vars are added to the process environment only if not defined in the command line
options;
- New helper application pmg_wait_app
(it waits for an application to exit):
Return codes
0 - The
application exited
1 - Timeout elapsed while
waiting
2 -
Application not found
3 - Some
error occurred (i.e., while contacting the pmgserver)
Command line options:
-n [ --AppName ]
arg The name of the application
-p [
--Partition ] arg The name of the partition
-t [ --Timeout
] arg Time to wait in seconds (if none wait for
ever)
-H [ --Host
] arg Host the application
should be running on
-h [ --help
] Print
help message
Note:
Because of the move from
cmdl
to boost
program_options
some helper application have small changes in their command line
options.
If you use some of them please check the new options using the
-h
switch.