From 4e3b471f1801f1b9006b18cae2a3d816f361262e Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 22 Sep 2021 14:06:28 -0700 Subject: [PATCH] add format for vmstat --- jc/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jc/utils.py b/jc/utils.py index 5ecb446b..06a2a8b0 100644 --- a/jc/utils.py +++ b/jc/utils.py @@ -291,6 +291,8 @@ class timestamp: {'id': 7000, 'format': '%a %b %d %H:%M:%S %Z %Y', 'locale': None}, # C locale format (found in date cli): Wed Mar 24 11:11:30 UTC 2021 {'id': 7100, 'format': '%b %d %H:%M:%S %Y', 'locale': None}, # C locale format (found in stat cli output - osx): # Mar 29 11:49:05 2021 {'id': 7200, 'format': '%Y-%m-%d %H:%M:%S.%f %z', 'locale': None}, # C locale format (found in stat cli output - linux): 2019-08-13 18:13:43.555604315 -0400 + {'id': 7250, 'format': '%Y-%m-%d %H:%M:%S', 'locale': None}, # C locale format with non-UTC tz (found in modified vmstat cli output): # 2021-09-16 20:32:28 PDT + {'id': 7255, 'format': '%Y-%m-%d %H:%M:%S %Z', 'locale': None}, # C locale format (found in modified vmstat cli output): # 2021-09-16 20:32:28 UTC {'id': 7300, 'format': '%a %Y-%m-%d %H:%M:%S %Z', 'locale': None}, # C locale format (found in timedatectl cli output): # Wed 2020-03-11 00:53:21 UTC # attempt locale changes last {'id': 8000, 'format': '%a %d %b %Y %H:%M:%S %Z', 'locale': ''}, # current locale format (found in upower cli output): # mar. 23 mars 2021 23:12:11 UTC