Method: Cuboid::System::Platforms::Base#memory_for_process_group

Defined in:
lib/cuboid/system/platforms.rb

#memory_for_process_group(pgid) ⇒ Integer

This method is abstract.

Returns Amount of RAM in bytes used by the given GPID.

Parameters:

  • pgid (Integer)

    Process group ID.

Returns:

  • (Integer)

    Amount of RAM in bytes used by the given GPID.



38
39
40
# File 'lib/cuboid/system/platforms.rb', line 38

def memory_for_process_group( pgid )
    raise 'Missing implementation'
end