Method: Cuboid::System::Platforms::Base#disk_space_for_process

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

#disk_space_for_process(pid) ⇒ Integer

Returns Amount of disk in bytes used by the given PID.

Parameters:

  • pid (Integer)

    Process ID.

Returns:

  • (Integer)

    Amount of disk in bytes used by the given PID.



61
62
63
# File 'lib/cuboid/system/platforms.rb', line 61

def disk_space_for_process( pid )
    Support::Database::Base.disk_space_for( pid )
end