Paul Sutton

GNU

top and htop process viewing and management

Donate using Liberapay

When using a GNU Linux system it is really useful to be able to manage what running process are doing, this could be simply seeing what system resources are being used, or stopping processes from running, to changing how they run with tools such as nice / renice.

The console / terminal top, gives you a view of all the running processes and allows you to control these processes easily.

TOP

top

HTOP

If you would like a slightly different tool that allows you to move up / down the process list, you may want to loop at htop. This seems to offer the same functionality as top. Top is probably better for running so you can keep an eye on what things are doing.

htop

OTHER RELATED TOOLS

These tools offer the sort of functionality that is achieved by commands such as :

  • ps
  • nice
  • renice
  • kill
  • killall

But you need to look these up and read up about them on on the man page(s).

REFERENCES

TAGS

#YearOfTheFediverse,#GNU,#Process,#Managemet,#top,#htop,#tools

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Sed

Donate using Liberapay

In my first ansi weather post I was looking at using sed to strip colour codes from the program output. It turns out and covered in the second post that all that is needed is the -a false argument to the program.

Nevertheless, sed is still worth learning. To this end, the following resources may be useful.

Sed video tutorial

If you save this in to a text file you can follow along with the video. It is similar to the text from the video.

10 Tiny Toes
this is That
One two Three
tree twice

REFERENCES

TAGS

#YearOfTheFediverse,#gnu,#sed,#text,#manipulation

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

GoDot Conference 2021

Event : GoDot game engine conference Date : 23rd January 2021

Posted by:-

Debian GNU+Linux info

godot3/stable 3.0.6-2 amd64
  Full 2D and 3D game engine with editor
godot3-runner/stable 3.0.6-2 amd64
  Godot game engine run-time
godot3-server/stable 3.0.6-2 amd64
  Headless Godot game engine run-time
golang-github-gobuffalo-envy-dev/stable 1.6.4-1 all
  simplify working with ENV variables
golang-github-joho-godotenv-dev/stable 1.2.0+git20180115.6bb0851-1 all
  Go port of Ruby's dotenv library

#gnu,#linux,#mac,#windows,#game,#development,#godot,#engine