Score:0

How do I monitor my CPU and RAM usage without installing any software?

I want to monitor my CPU and RAM usage without installing any software.

This is just an example, it is not real:

CPU:42% RAM:100%

I am trying to do this on Ubuntu 20.04.3 Doing this to see if any are bottleneck.

Please tell me if I need to provide more info.

FedKad avatar
cn flag
You can use the "contents" of the `stat` and `meminfo` "pseudofiles" under the `/proc` filesystem.
Score:1
in flag

You can do this with the top command and free in the terminal without installing additional software.

The top command allows you to monitor the most active processes, updating the display at regular intervals.

The free command in terminal displays memory usage in Kb.

see these references:

how to use top

how to use free

man page for top

man page free

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.