-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoreusage.1
More file actions
73 lines (72 loc) · 1.88 KB
/
Copy pathcoreusage.1
File metadata and controls
73 lines (72 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.TH COREUSAGE 1 "July 2025" "Version 1.0.5" "User Commands"
.SH NAME
coreusage \- display CPU usage and frequency information for each core
.SH SYNOPSIS
.B coreusage
.RI [ --interval " " ms ]
.RI [ --bar-width " " n ]
.RI [ --no-color ]
.RI [ --no-temp ]
.RI [ --help ]
.SH DESCRIPTION
.B coreusage
is a lightweight command-line tool that displays real-time CPU usage and frequency information for each CPU core in a Linux system. It shows a graphical representation of CPU load using colored progress bars.
.SH DISPLAY
The program shows the following information for each CPU core:
.IP \[bu] 2
Core number
.IP \[bu]
Current usage percentage
.IP \[bu]
Current frequency in MHz
.IP \[bu]
Load visualization with a colored progress bar:
.RS
.IP \[bu] 2
Green: usage below 50%
.IP \[bu]
Yellow: usage between 50% and 80%
.IP \[bu]
Red: usage above 80%
.RE
.SH OPTIONS
.TP
.BI --interval= ms
Set the sampling interval in milliseconds (default: 200).
.TP
.BI --bar-width= n
Set the width of the load bar (default: 40).
.TP
.B --no-color
Disable ANSI color output (useful for pipes/logs).
.TP
.B --no-temp
Hide the temperature line.
.TP
.B --help
Show a brief usage message and exit.
.SH INTERFACE
The display updates automatically at the configured interval. Output is centered when writing to a TTY. When output is piped, a sensible non-colored layout is used.
.SH CONTROLS
.IP \[bu] 2
Press 'q' or ESC to quit the program
.SH REQUIREMENTS
.IP \[bu] 2
Linux operating system
.IP \[bu]
libsensors (usually provided by the lm_sensors package)
.SH FILES
.IP \[bu] 2
/proc/stat \- Used to read CPU statistics
.IP \[bu]
/sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq \- Used to read current CPU frequencies
.SH AUTHOR
Written by Lennart Martens
.SH COPYRIGHT
Copyright \(co 2025 Lennart Martens
.br
License: MIT
.SH BUGS
Report bugs to: https://github.com/Lennart1978/coreusage/issues
.SH SEE ALSO
top(1), htop(1), mpstat(1)