% CINFO(1) Version-VERSION | cinfo Manual
cinfo - system information utility
cinfo [-a] [-c] [-d] [-i]
cinfo is a fast and minimal system information tool for linux-based operating systems
Without given settings, start colored version. If the environment variable NO_COLOR is set, start plain ascii version.
-a : Start plain ascii version.
-c : Start colored version.
-d : Delete the cached files defined in the config.
-i : Displays information about execution times of the individual functions for optimization and the version number of the tool
cinfo can be customized by creating/editing a custom config.h and (re-)compiling the source code.
PKGS* : Values to configure package manager counting.
Example values for some distros:
Distro | PKGS_CMD | PKGS_DESC |
---|---|---|
Arch | ls -p /var/lib/pacman/local | grep -c / | [pacman] |
Red Hat | rpm -qa | wc -l | [rpm] |
Red Hat | dnf list installed | wc -l | [dnf] |
Red Hat | yum list installed | wc -l | [yum] |
Debian | dpkg -l | grep -c '^ii' | [apt] |
Gentoo | qlist -I | wc -l | [portage] |
The result of the shell command in PKGS_CMD must be an integer!
CPU* : Values to configure cpu information.
MEMORY* : Values to configure memory information.
MEMORY_METHOD
Value | Calculation | Comparable |
---|---|---|
0 | total - available | btop, polybar, free, neofetch |
1 | total + shared - free - buffer - cached | htop |
Since Linux 3.14, MemAvailable (method 0) is the preferred choice.
MEMORY_UNIT
Value | Condition | Description |
---|---|---|
auto | total => 1024 MiB | Displays result in Gibibyte |
total < 1024 MiB | Displays result in Mebibyte | |
GiB | Displays result in Gibibyte | |
MiB | Displays result in Mebibyte |
SHELL* : Values to configure shell information.
INFO* : Values to configure information in general.
LABEL* : Values to configure labels for ascii and color table.
COLOR* : Values to configure color table.
ASCII* : Values to configure ascii table.
CACHE* : Values to configure the cache paths.
| cinfo | cinfo -a | cinfo -c | cinfo -d | cinfo -i
See GitHub Issues: https://github.com/mrdotx/cinfo/issues
cinfo was written by mrdotx <klassiker@gmx.de>
htop(1), free(1), neofetch(1), polybar(1)
See the LICENSE.md file for the terms of redistribution.