Class: MotdForge::SystemStats::Snapshot
- Inherits:
-
Struct
- Object
- Struct
- MotdForge::SystemStats::Snapshot
- Defined in:
- lib/motd_forge/system_stats.rb
Instance Attribute Summary collapse
-
#disk_usage_percent ⇒ Object
Returns the value of attribute disk_usage_percent.
-
#mem_total ⇒ Object
Returns the value of attribute mem_total.
-
#mem_used ⇒ Object
Returns the value of attribute mem_used.
-
#mem_used_percent ⇒ Object
Returns the value of attribute mem_used_percent.
-
#uptime ⇒ Object
Returns the value of attribute uptime.
Instance Attribute Details
#disk_usage_percent ⇒ Object
Returns the value of attribute disk_usage_percent
7 8 9 |
# File 'lib/motd_forge/system_stats.rb', line 7 def disk_usage_percent @disk_usage_percent end |
#mem_total ⇒ Object
Returns the value of attribute mem_total
7 8 9 |
# File 'lib/motd_forge/system_stats.rb', line 7 def mem_total @mem_total end |
#mem_used ⇒ Object
Returns the value of attribute mem_used
7 8 9 |
# File 'lib/motd_forge/system_stats.rb', line 7 def mem_used @mem_used end |
#mem_used_percent ⇒ Object
Returns the value of attribute mem_used_percent
7 8 9 |
# File 'lib/motd_forge/system_stats.rb', line 7 def mem_used_percent @mem_used_percent end |
#uptime ⇒ Object
Returns the value of attribute uptime
7 8 9 |
# File 'lib/motd_forge/system_stats.rb', line 7 def uptime @uptime end |