mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
add percent_wait to float conversion
This commit is contained in:
@ -128,7 +128,7 @@ from jc.exceptions import ParseError
|
|||||||
|
|
||||||
class info():
|
class info():
|
||||||
"""Provides parser metadata (version, author, etc.)"""
|
"""Provides parser metadata (version, author, etc.)"""
|
||||||
version = '1.1'
|
version = '1.2'
|
||||||
description = '`pidstat -H` command parser'
|
description = '`pidstat -H` command parser'
|
||||||
author = 'Kelly Brazil'
|
author = 'Kelly Brazil'
|
||||||
author_email = 'kellyjonbrazil@gmail.com'
|
author_email = 'kellyjonbrazil@gmail.com'
|
||||||
@ -156,7 +156,7 @@ def _process(proc_data: List[Dict]) -> List[Dict]:
|
|||||||
|
|
||||||
float_list = {'percent_usr', 'percent_system', 'percent_guest', 'percent_cpu',
|
float_list = {'percent_usr', 'percent_system', 'percent_guest', 'percent_cpu',
|
||||||
'minflt_s', 'majflt_s', 'percent_mem', 'kb_rd_s', 'kb_wr_s',
|
'minflt_s', 'majflt_s', 'percent_mem', 'kb_rd_s', 'kb_wr_s',
|
||||||
'kb_ccwr_s', 'cswch_s', 'nvcswch_s'}
|
'kb_ccwr_s', 'cswch_s', 'nvcswch_s', 'percent_wait'}
|
||||||
|
|
||||||
for entry in proc_data:
|
for entry in proc_data:
|
||||||
for key in entry:
|
for key in entry:
|
||||||
|
Reference in New Issue
Block a user