Unix command to find memory usage

By | December 8, 2017

rajeshkumar created the topic: unix command to find memory usage

Monitor processes continuously. Updates every 3 seconds by default. Displays useful information such as total memory, memory in use, % of total memory used by each process, % cpu usage of each process, and process ID (PID) of each process. Type ‘h’ for help or ‘q’ to quit. To stop (‘kill’) a process, type ‘k’ and enter the PID of the process, then enter the signal for the ‘kill’ command (see below) or press Enter to use the default signal (terminate).

top
Useful options:
-d Specify time between updates
-u List processes for user
-p List process with ID
-n Specify number of iterations before quitting

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Leave a Reply