I usually lauch this command:
ps -p 1 --format "command %c running from %t"
But last version in Debian 12, I can't:
ps -p 1 --format "command %c running from %t"
error: improper AIX field descriptor
Uso:
ps [opciones]
Try 'ps --ayuda <simple|lista|salida|hilos|varios|todo>'
or 'ps --ayuda <s|l|o|t|m|a>'
for additional help text.
For more details see ps(1).
How can I use literal in --format option of ps, without the use of more complex command line (whitout ps --format ... | awk '{ print ...})