CommandsMonitoring

Visualize System’s Activity With ranwhen Tool in Ubuntu and Mint linux

Ranwhen is an interesting Python script that displays in a terminal useful details about the user’s computer/system, while retaining an easily-graspable attitude. It displays information about the total running time and daily average in a very beautiful histogram.
Running the script, the user is to notice a histogram with usage patterns filtered through the main hours of the day, including 6:00, 12:00, 24:00, periods of time detailed with fancy color tones.
Moreover, Ranwhen presents in the terminal the current month’s in-depth details about the system’s usage, thus allowing the user to observe how the computer has been used.

Requirements

  • *nix system with last installed and supporting the -R and -F flags
  • Python >= 3.2
  • Terminal emulator with support for Unicode and xterm’s 256 color mode

The above requirements should be fulfilled by default on the majority of modern Linux distributions, where the only thing that needs to be done is usually to install Python 3.

Install Python 3.2

# sudo apt-add-repository ppa:fkrull/deadsnakes 
# sudo apt-get update 
# sudo apt-get install python3.2

Installing and using ranwhen

Download and unzip the Ranwhen archive:

# wget https://github.com/p-e-w/ranwhen/archive/master.zip
# unzip master.zip
# cd ranwhen-master

Run Ranwhen in terminal:

# ./ranwhen.py
Ranwhen screen
Ranwhen screen

4 Comments

  1. error 🙁

    Traceback (most recent call last):

    File “./ranwhen.py”, line 267, in

    style_text(” days”, fgcolor = time_text_color) + “)”)

    File “/usr/lib/python3.2/encodings/iso8859_15.py”, line 19, in encode

    return codecs.charmap_encode(input,self.errors,encoding_table)[0]

    UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘u2013’ in position 58: character maps to

Leave a Reply to Charles Wells Cancel reply

Your email address will not be published. Required fields are marked *

CAPTCHA


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button