How to get the actual memory usage of an application or process in Linux?

You can use Linux ps command with grep and awk command to print the actual memory usage of an application or process.

Example:

Get the actual memory usage of a process or application in kilobytes (KB):

Get the actual memory usage of a process or application in megabytes (MB):

Get the actual memory usage of a process or application in gigabytes (GB):

Leave a Reply