System Sheet Script

Name

Synposis

Description

The MDVL System Sheet Script gives a one-screen system overview. It consists of the following panes:

General Information

Displays the current user name, the terminal type the script is running on, kernel and architecture information, date and time, hostname, uptime, RAM usage and CPU types.

Network

Displays the physical interfaces, their addresses (if assigned) and the amount of data transmitted/received.

File systems

Displays a subset of the mountpoints visible by df. For each mountpoint, the amount of data used and total available space is displayed. If quota is installed and quota are set, the current quota usage is displayed below the file systems.

Users

Displays the top process in terms of memory and the top process in terms of CPU usage for each user

Rationale

This script is intended to be usable as a script to start by default in a new terminal. It makes sense for local, as well as remotely connected systems.

For local systems, it provides all basic troubleshooting information on a single screen, for remote systems, it immediately gives an idea about the current utilization of the system (e.g. other users performing compute-intensive tasks etc.)

Syssheet is intended to be smaller and run faster compared to some alterantives like inxi at the expensive of providing only a fixed set of information. Data from mountpoints and network interfaces is presented in a way which attempts to mainly include physical filesystems and network interfaces as not to obsucre the view by container mountpoints and interfaces. Compare the outputs of ip link and mount against the typical syssheet-report to see the difference.

Integration with Bashrc and System

To build a Debian package for this script, invoke ant package. If no package is needed, everything is included in file syssheet and thus in a suitable form for copying to remote systems. The only noteworthy dependency is gawk.

These snippets start a syssheet in the background and stop it, if it does not complete within three seconds. The time limit is important to avoid hangs due to slow mountpoints. Adding the snippets in the begin and end respectively, allows all other bashrc parts to run in parallel to the syssheet.

Copyright (c) 2012-2020 Ma_Sys.ma. For further info send an e-mail to Ma_Sys.ma@web.de.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.