Opened 13 years ago

Closed 12 years ago

#1344 closed enhancement (fixed)

Implement functionality for getting cpu and memory usage on a job agent

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: trivial Milestone: BASE 2.16
Component: jobagent Version:
Keywords: Cc:

Description

Part of #1324.

But this may be hard to do since it seems to be impossible with pure Java.

Change History (5)

comment:1 Changed 13 years ago by Nicklas Nordborg

(In [5009]) References #1324, #1344: Check TODO markers in the BASE code

comment:2 Changed 12 years ago by Nicklas Nordborg

I found this project which looks promising: http://github.com/jezhumble/javasysmon

I'll try it out and if it seems to work, I'll include it 2.16.

comment:3 Changed 12 years ago by Nicklas Nordborg

(In [5352]) References #1344: Implement functionality for getting cpu and memory usage on a job agent

Seems to work just fine on my development machine (Linux). I'll make some more tests before closing this. If it doesn't work the code is "smart" enough to disable itself.

comment:4 Changed 12 years ago by Nicklas Nordborg

Milestone: BASE 2.x+BASE 2.16
Owner: changed from Johan Enell to Nicklas Nordborg
Status: newassigned

comment:5 Changed 12 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

Seems to work on Windows also.

Note: See TracTickets for help on using tickets.