Skip to main content

A visually appealing and informative Message of the Day (MOTD) generator for Linux systems.

Project description

ElegantMOTD

ElegantMOTD is a Python-based Message of the Day (MOTD) generator for displaying system information in a visually appealing and informative manner. It works on Linux systems and provides details such as system load, disk usage, memory usage, swap usage, temperature, network interfaces, CPU usage, and more.

Features

  • Rich, colorful text-based output.
  • Displays various system information.
  • Customizable display options.
  • Easy to use and integrate into your system.

Usage

To display the Message of the Day, run the following command:

elegantmotd

Live Updates

If you want to enable live updates of the system information, you can use the --watch/-w option:

elegantmotd --watch

With the --watch option, the MOTD will be continuously updated with the latest system information.

Output

Output

Customization

You can customize the output by modifying the motd.py file and adding or removing system information modules as per your preference. The available modules are:

  • Load
  • Disk
  • Memory
  • Temperature
  • Process
  • LoggedInUsers
  • Network
  • CPU

To add or remove a module, simply add or remove the corresponding import statement and the respective class instance from the sysinfos list in the display() function.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elegantmotd-0.4.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

elegantmotd-0.4.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page