Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Redhat EL 5.1, Java 6
-
Reviewed
Description
Top output is different between Redhat 4.5 and Redhat 5.1. The demux parser needs to be updated to parse information correctly.
From Redhat EL 4.5:
008-12-23 00:00:33,983 INFO org.apache.hadoop.chukwa.inputtools.plugin.metrics.Exec: top - 00:00:33 up 291 days, 3:34,
0 users, load average: 1.42, 4.47, 4.97^D
Tasks: 184 total, 1 running, 183 sleeping, 0 stopped, 0 zombie^D
Cpu(s): 6.9% us, 0.8% sy, 0.5% ni, 90.8% id, 0.9% wa, 0.0% hi, 0.2% si^D
Mem: 3088508k total, 1364972k used, 1723536k free, 68008k buffers^D
Swap: 16386160k total, 501196k used, 15884964k free, 406344k cached^D
From Redhat EL 5.1:
2008-12-23 00:55:00,242 INFO org.apache.hadoop.chukwa.inputtools.plugin.metrics.Exec: top - 00:55:00 up 33 days, 22:07,
2 users, load average: 1.14, 1.17, 1.07^D
Tasks: 177 total, 1 running, 176 sleeping, 0 stopped, 0 zombie^D
Cpu(s): 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st^D
Mem: 8175232k total, 2027628k used, 6147604k free, 344052k buffers^D
Swap: 25157664k total, 0k used, 25157664k free, 1248400k cached^D
Notice in 5.1, there is a % for st.
The parser needs to be improved.