motdyn

Crates.iomotdyn
lib.rsmotdyn
version1.0.2
sourcesrc
created_at2024-12-27 15:48:50.516801+00
updated_at2024-12-29 15:25:42.940533+00
description🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights.
homepagehttps://github.com/lvillis/motdyn
repositoryhttps://github.com/lvillis/motdyn
max_upload_size
id1496469
size74,840
(lvillis)

documentation

https://github.com/lvillis/motdyn/blob/main/README.md

README

Table of Contents↗️

motdyn

🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights.

crates.io version crates.io version build status docker pulls image size say thanks

Example

$ motdyn

Welcome!

Current time (TZ): 2024-12-27 22:36:25 +00:00
System uptime:     80 days, 05:13:42
Operating system:  Rocky Linux 9.5 (Blue Onyx)
Kernel version:    5.14.0-503.15.1.el9_5.x86_64
Host name:         localhost
CPU:               AMD EPYC 7313 16-Core Processor (32 cores)
Memory used/total: 100.67/127.77 GB (78.79%)
Swap used/total:   0.00/0.00 GB (0.00%)
Current user:      root (from 192.168.0.1)
Login user count:  11
Disk usage (root): / => 43.61 GB/98.40 GB (44.32%)
Disk usage (nfs):  /mnt => 1.51 TB/1.97 TB (76.51%)

Have a nice day!

Usage

motdyn [subcommand] [options]

Where:

  • install places a script (/etc/profile.d/motdyn.sh) to run motdyn on login (root privileges).
  • uninstall removes that script, stopping MOTD from running automatically.
  • status checks if the script is currently installed.
  • (no subcommand) prints the dynamic MOTD immediately.
  • -v, --verbose shows additional details.
Commit count: 0

cargo fmt