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
Original issue reported on code.google.com by
antonio....@gmail.com
on 28 Jan 2013 at 3:03