Class: Vmstat::Task

Inherits:
Struct
  • Object
show all
Defined in:
lib/vmstat/task.rb

Overview

Per task performance metrics snapshot.

Instance Attribute Summary collapse

Instance Attribute Details

#resident_sizeFixnum

The number of resident pages for the task

Returns:

  • (Fixnum)

    the current value of resident_size



11
12
13
# File 'lib/vmstat/task.rb', line 11

def resident_size
  @resident_size
end

#system_time_msFixnum

The total system run time for terminated threads within the task.

Returns:

  • (Fixnum)

    the current value of system_time_ms



11
12
13
# File 'lib/vmstat/task.rb', line 11

def system_time_ms
  @system_time_ms
end

#user_time_msFixnum

The total user run time for terminated threads within the task.

Returns:

  • (Fixnum)

    the current value of user_time_ms



11
12
13
# File 'lib/vmstat/task.rb', line 11

def user_time_ms
  @user_time_ms
end

#virtual_sizeFixnum

The number of virtual pages for the task.

Returns:

  • (Fixnum)

    the current value of virtual_size



11
12
13
# File 'lib/vmstat/task.rb', line 11

def virtual_size
  @virtual_size
end