cinfo - Man Page

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:

DistroPKGS_CMDPKGS_DESC
Archls -p /var/lib/pacman/local | grep -c /[pacman]
Red Hatrpm -qa | wc -l[rpm]
Red Hatdnf list installed | wc -l[dnf]
Red Hatyum list installed | wc -l[yum]
Debiandpkg -l | grep -c `^ii'[apt]
Gentooqlist -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

ValueCalculationComparable
0total - availablehtop = 3.1.0, btop, polybar
1total + shared - free - buffer - cachedhtop < 3.1.0, neofetch
2total - free - buffer - cachedhtop > 3.1.0, free

MEMORY_UNIT

ValueConditionDescription
autototal => 1024 MiBDisplays result in Gibibyte
total < 1024 MiBDisplays result in Mebibyte
GiBDisplays result in Gibibyte
MiBDisplays 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.

Info

Version-0.5.5 cinfo Manual