We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3e33fc + 6d91850 commit 6c080b7Copy full SHA for 6c080b7
1 file changed
lib/vmstat/procfs.rb
@@ -15,7 +15,7 @@ module ProcFS
15
# Since Linux 2.6.24:
16
# guest - which is the time spent running a virtual CPU for guest
17
# operating systems under the control of the Linux kernel.
18
- CPU_DATA = /cpu(\d)#{'\s+(\d+)' * 4}/.freeze
+ CPU_DATA = /cpu(\d+)#{'\s+(\d+)' * 4}/.freeze
19
20
# Grep the network stats from the procfs.
21
# @example Format (from /proc/net/dev)
0 commit comments