summaryrefslogtreecommitdiff
path: root/docker-widget
diff options
context:
space:
mode:
authorgpotter2 <10530980+gpotter2@users.noreply.github.com>2022-12-31 00:38:55 +0100
committerzachir <zachir@librem.one>2023-10-19 08:22:37 -0500
commit27972f9a634b91934ee01050aecd38a775b3e04c (patch)
tree0c54e8172859c304dedf7237782a2b49968d236c /docker-widget
parent07dd7e3f9dd57530e16ac644e15521f37c60773b (diff)
Fix ps: 'improper AIX field descriptor'
It appears that `ps` doesn't support using custom separators (e.g. here: '|') on all OSes. This replaces it with hardcoded lengths when known (cpu, mem, etc...). E.G. on a debian bookworm machine this is what it returns: ``` ps -eo '%p|%c|%C|' -o "%mem" -o '|%a' --sort=-%cpu error: improper AIX field descriptor ```
Diffstat (limited to 'docker-widget')
0 files changed, 0 insertions, 0 deletions