The sysi
script has several dependencies on an Arch Linux system. Below is a list of required packages and utilities:
bash
: The shell interpreter used to execute the script.awk
: For processing and extracting data from text.free
: To display memory and swap usage statistics.grep
: For searching and filtering text.tput
: To get terminal capabilities, such as column width.sed
: For text transformation and extraction.uptime
: To display how long the system has been running.date
: To display the current date and time.ps
: For displaying information about active processes.iostat
: To report CPU and I/O statistics.df
: For displaying disk space usage.upower
: To get battery status information.xrandr
: To get display resolution information.sensors
: For monitoring temperature and fan speeds.
nvidia-smi
: For Nvidia GPU temperature (if Nvidia GPU is present).radeontop
: For AMD GPU temperature (if AMD GPU is present).intel_gpu_top
: For Intel GPU temperature (if Intel GPU is present).
This document lists the dependencies required for the Bash script that provides system information along with additional features such as quotes, jokes, and fun facts.
free
: Used to display memory and swap usage.awk
: Used for pattern scanning and processing.tput
: Used to determine terminal capabilities.uptime
: Used to display the system uptime.date
: Used to display the current date and time.xrandr
: Used to display screen resolution information.lspci
: Used to display information about PCI devices, including GPU.sensors
: Used to display temperature and fan speed information (requireslm_sensors
package).ps
: Used to display processes and their CPU/memory usage.iostat
: Used to display disk I/O statistics (requiressysstat
package).df
: Used to display disk space usage.upower
: Used to display battery information (requiresupower
package).ip
: Used to display network interfaces (if the network interface display section is uncommented).gtk-theme
: Used for retrieving GTK theme information.gsettings
: Used for retrieving GNOME theme settings.grep
: Used for pattern matching in text files.sed
: Used for stream editing and text processing.curl
(optional for network-related functionalities): Used for making HTTP requests.
nvidia-smi
: Used for Nvidia GPU temperature (if Nvidia GPU section is uncommented).radeontop
: Used for AMD GPU temperature (if AMD GPU section is uncommented).intel_gpu_top
: Used for Intel GPU temperature (if Intel GPU section is uncommented).
To install the required packages, you can use the following commands depending on your distribution:
sudo apt update
sudo apt install -y lm-sensors sysstat upower fonts-dejavu
- Core Dependencies are essential for the script's functionality.
- Optional Dependencies are needed for specific features or functionalities but are not critical for the basic operation of the script.
- Use
pacman
to install packages on Arch Linux. The-S
flag is used to sync and install packages from the repository.