The custom comand is: the calculation of the relation between resident memory and the need of exchange memory necessary to store the process in case of suspending it and the owner of the process.
I know ps -eo cputime,nice but I want another column with my custom calculation and I dont know how.
P.D. And if I want to add in my script: -nice a b, where it will process only the processes in "a-b" range how it could be.
Thanks.