19

I have 4GB RAM. When I open Firefox, IntelliJ IDEA or VS Code and some other application my memory is about used up thus my machine hangs and I can't do anything. I can't even close any applications.

Date and time are shown in the top bar so that I can view it any time without any thing typing.

If I would view memory status in this way without typing anything then I can make a decision whether to open an application or whether this application may put my machine in hanging state or not.

Is it possible in Ubuntu 18.04 LTS?

  • VS Code is a unique twist. Are we talking thousands or millions of lines of code? – WinEunuuchs2Unix Aug 8 '18 at 3:35
7

As pointed out in the other post you want to install the Gnome Shell Extension system-monitor There's a browser plugin and integrations that can allow you to install it from the browser or from the software center as mentioned by @pomsky.

However I've found that the easiest way to install it is to just install it from apt using the debian package

sudo apt-get install gnome-shell-extension-system-monitor

This will also pull in all the required dependencies, and after a reboot or log out the system monitor was in the top task bar.

enter image description here

(Note that I think I enabled the swap manually before taking the screenshot.)

22

You may try a GNOME shell extension called "system-monitor". It does

Display system informations in gnome shell status bar, such as memory usage, cpu usage, network rates…

enter image description here

"system-monitor" depends on a few packages. To install them, run

sudo apt install gir1.2-gtop-2.0 gir1.2-networkmanager-1.0 gir1.2-clutter-1.0

Then log out and log in again.

  • 2
    I run this command and log out and log in but nothing is shown. – alhelal Jul 18 '18 at 9:07
  • @alhelal That command itself won't do anything, it'll just install dependencies for the "sysrtem-monitor" extension. You'll have to install the extension too. See the top half of the answer. – pomsky Jul 18 '18 at 9:17
  • 1
    I am in doubt whether it is a web extension or desktop app. Your addressed answer give only browser solution. If it is web app why I need browser setting to install. – alhelal Jul 18 '18 at 9:23
  • 1
    @alhelal Then open "(GNOME) Software" (the software store application) and search for "system-monitor". – pomsky Jul 18 '18 at 9:33
  • 2
    @RingØ No, you're confusing two different things. gnome-system-monitor rather confusingly is the GUI application called "System Monitor" which is usually pre-installed and can be found in "Show Applications". This one is a GNOME shell extension called "system-monitor", see its homepage. To verify this, run the command gnome-system-monitor in Terminal, the GUI app "System Monitor" will launch. This extension also lets you launch the GUI app "System Monitor" (the button above "preferences" in the screenshot). – pomsky Aug 22 '18 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.