Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Unix command to find memory usage

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x