abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

ShellcmdLrms should keep track of resource usage #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ShellcmdLrms should keep track of the resources used on the local machine. 
Moreover, it should gather information on the machine like the number of cores 
and the amount of free memory and update its internal status accordingly.

These information are not related to the current session, so they shouldn't be 
saved in the session directory.

A small list of proposed changes:

* ShellcmdLrms should keep all the information in ~/.gc3/, and using a 
Transport class to access it, so that the information are always stored on the 
machine the resource refers to.
* during initialization, ShellcmdLrms should gather information about the 
machine:
  - total number of cores
  - available memory
* every time the status of a job is updated, the resource usage stats should be 
updated.

Please try to keep the backend as much compatible as possible with other *nix 
OSs,  especially MacOSX, since ShellcmdLrms backend is used for testing 
purposes and there are many developers using MacOSX as a client.

Original issue reported on code.google.com by antonio....@gmail.com on 28 Jan 2013 at 3:03

GoogleCodeExporter commented 9 years ago

Original comment by antonio....@gmail.com on 28 Jan 2013 at 3:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3366.

Original comment by antonio....@gmail.com on 29 Jan 2013 at 3:46