Linux monitor memory usage6/24/2023 When kbmemused is over 917504 KB or 896 MB, and kbcached is under 131072 KB or 128MB this command will output the memory usage stats from sar.ĭoing it this way we can ensure that we’re only looking at times when our actual free memory on the server has dipped below 128MB. The command below goes through your sar logs and shows anytime that your server’s memory is spiking. The kbcached column shows how much memory was cached. The %memused column shows how much memory was used as a percentage of total memory available. The kbmemused column shows how much memory was used. The kbmemfree column shows how much memory was free.
0 Comments
Leave a Reply. |