Ubuntu check memory usage by process9/27/2023 ![]() Or you can use your handy monitoring system to view this over time: There are three things that may spring to mind when you think of measuring your memory system:įor physical memory usage, you can run top or free from a shell: $ free -g Now I’ll talk about how to monitor virtual memory, on Linux (where it’s easy) and, next time, on Solaris (where most people and systems do it incorrectly.) Running programs that require more memory than the system has will mean pages (or processes) are moved to/from disk and memory in order to get enough physical memory to run – and system performance will suck.) ![]() (TL DR: swapping is moving an entire process out to disk paging is moving just specific pages out to disk, not an entire process. ![]() In a prior blog post, I talked about what virtual memory is, the difference between swapping and paging, and why it matters. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |