Crates.io | motdyn |
lib.rs | motdyn |
version | 1.0.2 |
source | src |
created_at | 2024-12-27 15:48:50.516801+00 |
updated_at | 2024-12-29 15:25:42.940533+00 |
description | 🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights. |
homepage | https://github.com/lvillis/motdyn |
repository | https://github.com/lvillis/motdyn |
max_upload_size | |
id | 1496469 |
size | 74,840 |
motdyn
🛠️ motdyn (Dynamic MOTD): Rust-powered and highly configurable for real-time login insights.
$ 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!
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.