1CINFO(1) cinfo Manual CINFO(1)
2
3
4
6 cinfo - system information utility
7
9 cinfo [-a] [-c] [-d] [-i]
10
12 cinfo is a fast and minimal system information tool for linux-based op‐
13 erating systems
14
16 Without given settings, start colored version. If the environment
17 variable NO_COLOR is set, start plain ascii version.
18
19 -a Start plain ascii version.
20
21 -c Start colored version.
22
23 -d Delete the cached files defined in the config.
24
25 -i Displays information about execution times of the individual
26 functions for optimization and the version number of the tool
27
29 cinfo can be customized by creating/editing a custom config.h and
30 (re-)compiling the source code.
31
32 PKGS* Values to configure package manager counting.
33
34 Example values for some distros:
35
36 Distro PKGS_CMD PKGS_DESC
37 ─────────────────────────────────────────────────────────────────────────────
38 Arch ls -p /var/lib/pacman/local | grep -c / [pacman]
39 Red Hat rpm -qa | wc -l [rpm]
40 Red Hat dnf list installed | wc -l [dnf]
41 Red Hat yum list installed | wc -l [yum]
42 Debian dpkg -l | grep -c `^ii' [apt]
43 Gentoo qlist -I | wc -l [portage]
44
45 The result of the shell command in PKGS_CMD must be an integer!
46
47 CPU* Values to configure cpu information.
48
49 MEMORY*
50 Values to configure memory information.
51
52 MEMORY_METHOD
53
54 Value Calculation Comparable
55 ─────────────────────────────────────────────────────────────────────────────
56 0 total - available htop = 3.1.0, btop, polybar
57 1 total + shared - free - buffer - htop < 3.1.0, neofetch
58 cached
59 2 total - free - buffer - cached htop > 3.1.0, free
60
61 MEMORY_UNIT
62
63 Value Condition Description
64 ────────────────────────────────────────────────
65
66
67 auto total => 1024 MiB Displays result in
68 Gibibyte
69 total < 1024 MiB Displays result in
70 Mebibyte
71 GiB Displays result in
72 Gibibyte
73 MiB Displays result in
74 Mebibyte
75
76 SHELL* Values to configure shell information.
77
78 INFO* Values to configure information in general.
79
80 LABEL* Values to configure labels for ascii and color table.
81
82 COLOR* Values to configure color table.
83
84 ASCII* Values to configure ascii table.
85
86 CACHE* Values to configure the cache paths.
87
89 cinfo
90 cinfo -a
91 cinfo -c
92 cinfo -d
93 cinfo -i
94
96 See GitHub Issues: https://github.com/mrdotx/cinfo/issues
97
99 cinfo was written by mrdotx <klassiker@gmx.de>
100
102 htop(1), free(1), neofetch(1), polybar(1)
103
105 See the LICENSE.md file for the terms of redistribution.
106
107
108
109Version-0.5.2 CINFO(1)