We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1e176 commit ff7a79bCopy full SHA for ff7a79b
1 file changed
lib/vmstat/solaris.rb
@@ -6,7 +6,7 @@ def self.cpu
6
mpstat.shift # ignore header
7
mpstat.map do |line|
8
num, *rest, user, sys, _, idle = line.strip.split(/\s+/)
9
- Cpu.new(num.to_i, user.to_i, sys.to_i, 0, idle.to_i]
+ Cpu.new(num.to_i, user.to_i, sys.to_i, 0, idle.to_i)
10
end
11
12
0 commit comments