I'm sad that there doesn't seem to be a way to set this in a config file. I'm plenty used to typing ps auxf
all the time, but sometimes I wish I could tweak the output just a little bit, without having to encode it into a bash alias or something like that. Yeah this is all doable with shell aliases or functions, I just wish I didn't have to do it that way.
All I wanted in this instance was the process start time, with more detail than "2021" or "Jan" depending on its age.
Well this does the job I guess. If you're going to throw it into a shell alias you might as well go all out and pimp it just the way you like it.
ps axfo user,pid,%cpu,%mem,vsz,rss,tname,stat,lstart:25,time:10,args
I'm unreasonably annoyed that these BSD options (no leading dash) aren't similar enough if you try to convert them to UNIX (with leading dash) options. ax
becomes -e
and o
becomes -o
, but you can't change f
to -H
because the latter looks like complete rubbish to me. You can use ps f -eo
for sure, but mixing UNIX and BSD options just looks dumb and to me is more annoying to type.