项目作者: AenonDynamics

项目描述 :
:newspaper: Displays general system information via pam.motd on login. Shows mounted volumes, system utilization, kernel+os version. DEB Package
高级语言: Shell
项目地址: git://github.com/AenonDynamics/linux-motd-sysinfo.git
创建时间: 2017-04-16T17:53:45Z
项目社区:https://github.com/AenonDynamics/linux-motd-sysinfo

开源协议:MIT License

下载


MOTD-SYSINFO

Displays general system information via pam.motd on login

  1. Sun 5 Jan 12:34:52 CET 2020
  2. Debian GNU/Linux 10 (buster) | 4.19.0-6-amd64
  3. _
  4. ___ _ __ (_) ___
  5. / _ \ '_ \| |/ __|
  6. | __/ |_) | | (__
  7. \___| .__/|_|\___|
  8. |_|
  9. System load: 0.40 Memory usage: 11.0%
  10. Local users: 1 Swap usage: 0.0%
  11. Filesystem Size Used Avail Use% Mounted on
  12. /dev/nvme0n1p3 2240G 1680G 450G 79% /
  13. /dev/nvme0n1p2 923M 129M 731M 15% /boot
  14. /dev/nvme0n1p1 511M 5.1M 506M 1% /boot/efi
  15. andi@sapphire:~$

Package Installation

1. Add Aenon-Dynamics Repository

  1. # download the gpg key
  2. wget -O /usr/share/keyrings/aenon-dynamics.gpg https://packages.aenon-dynamics.com/static/pubkey.gpg
  3. # add apt repository with pinned key
  4. echo "deb [signed-by=/usr/share/keyrings/aenon-dynamics.gpg] https://packages.aenon-dynamics.com/debian stable main" > /etc/apt/sources.list.d/aenon-dynamics.list

2. Install the Package

  1. apt-get update
  2. apt-get install motd-sysinfo

Manual Installation

  1. # copy script
  2. cp motd-sysinfo /usr/bin/motd-sysinfo
  3. # mark it executable
  4. chmod 0755 /usr/bin/motd-sysinfo
  5. # add symlink
  6. ln -s /usr/bin/motd-sysinfo /etc/update-motd.d/11-sysinfo

Dependencies

The script uses the figlet package to display the hostname

  1. apt-get install figlet

Distributions

Tested with:

  • Debian Jessie
  • Debian Stretch
  • Debian Buster

Contribution

The .deb package is automatically generated via a Continuous Delivery Pipeline - please do not build packages manually!

License

MOTD-SYSINFO is OpenSource and licensed under the Terms of The MIT License (X11) - your’re welcome to contribute