Cyrill Gorcunov
05c142c0f5
proc_parse: Make sure the fields in parsing stream do match
...
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-15 22:36:40 +04:00
Cyrill Gorcunov
04a6f0449d
proc_parse: Zap ending ')' in name
...
Repored-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-15 01:41:58 +04:00
Cyrill Gorcunov
acfd1d7fc4
crtools: Fix command line parsing in parse_pid_stat
...
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-14 02:00:59 +04:00
Cyrill Gorcunov
1e073d05eb
crtools: A few style update on proc_parse
...
No func changes.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-14 02:00:48 +04:00
Pavel Emelyanov
3202d72f85
crtools: Parse /proc/pid/stat in a more readable way
...
We will later need other fields of this file, so let's parse it right
now in a way, that allows to easily get new fields.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-14 02:00:38 +04:00
Pavel Emelyanov
12d4c85410
crtools: Move proc parsing routines to one file
...
Start with /proc/pid/maps parser
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-14 02:00:26 +04:00