https://github.com/lvillis/motdyn
🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights.
https://github.com/lvillis/motdyn
dynmotd motd motd-rs motd-rust motdyn rust
Last synced: 4 months ago
JSON representation
🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights.
- Host: GitHub
- URL: https://github.com/lvillis/motdyn
- Owner: lvillis
- License: mit
- Created: 2024-11-12T06:12:41.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-27T11:29:48.000Z (4 months ago)
- Last Synced: 2025-01-27T12:33:49.461Z (4 months ago)
- Topics: dynmotd, motd, motd-rs, motd-rust, motdyn, rust
- Language: Rust
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Table of Contents↗️
motdyn
🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights.
---
## Example
```shell
$ motdynWelcome!
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
```bash
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.