Issue Details (XML | Word | Printable)

Key: RIO-130
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Dennis Reedy
Reporter: Dennis Reedy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Rio

ServiceExec fails to return exec'd processes statistics

Created: 26/Nov/08 12:00 AM   Updated: 15/Dec/08 07:53 PM
Component/s: Deployment
Affects Version/s: 4.0 M2
Fix Version/s: 4.0 M2

Time Tracking:
Not Specified

Issue Links:
Duplicate
 


 Description  « Hide
If a service is exec'd (using the serviceExec element), the ComputeResourceUtilization returned is the CRU for the CYbernode, not the external process. This is related to RIO-44 and RIO-129

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jerome Bernard added a comment - 15/Dec/08 07:33 PM
test

Dennis Reedy added a comment - 15/Dec/08 07:53 PM
The issue is based on the ability to first obtain the actual forked service's pid. Using SIGAR, we create a process tree and identify the actual process's pid.

Once obtained, and the exec'd process is a Java process, using the Java 6 JMX Attach API we attach to the exec'd JVM and obtain process specific information