fix(processes): keep ps's five-word start time in one field

get_processes split each ps line into 11 parts, but lstart is five
words, so started held only the weekday and command began with the rest
of the date. The line is now split into 15 parts, started joins the five
date words and command is the remainder. ps runs under LC_ALL=C: only
there are the weekday and month one word each on every host.

Closes #21
This commit is contained in:
Christian Manivong committed 2026-11-01 21:46:34 +01:00
1 parent df4f4b0e4d
commit 54f6844d84
4 files changed
+69 -10

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
"napalm_linux.linux"
],
"python_file_lines": {
"napalm_linux/linux.py": 2260
"napalm_linux/linux.py": 2257
},
"untyped_public": []
}