how can I obtain the consumed memory of a process?
nowadays i'm using ps -efo pid, pmem, comm,args ....
but the information is in percentage, is that correct?
so, i want to know how can obtain the consumed memory of a process in mb?
I assume you know which process to check and lets say the process is run by root user:
prstat -u root -a -s size
will show processes ordered by Size descending way. If you know which process id to check you can print only one process too with PID, first column of prstat command: