Skip to content

Latest commit

 

History

History
115 lines (74 loc) · 3.03 KB

cinfo.1.md

File metadata and controls

115 lines (74 loc) · 3.03 KB

% CINFO(1) Version-VERSION | cinfo Manual

NAME

cinfo - system information utility

SYNOPSIS

cinfo [-a] [-c] [-d] [-i]

DESCRIPTION

cinfo is a fast and minimal system information tool for linux-based operating systems

OPTIONS

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

CUSTOMIZATION

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.

EXAMPLES

| cinfo | cinfo -a | cinfo -c | cinfo -d | cinfo -i

BUGS

See GitHub Issues: https://github.com/mrdotx/cinfo/issues

AUTHORS

cinfo was written by mrdotx <klassiker@gmx.de>

SEE ALSO

htop(1), free(1), neofetch(1), polybar(1)

LICENSE

See the LICENSE.md file for the terms of redistribution.