HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

times — Print the cumulative CPU usage time of the current shell. First line is current shell CPU usage for

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theusagecommandtimescumulativecliprintcpu

Problem

How to use the times command: Print the cumulative CPU usage time of the current shell. First line is current shell CPU usage for User and System. Second is all child processes. See also: time. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-times>.

Solution

times — Print the cumulative CPU usage time of the current shell. First line is current shell CPU usage for User and System. Second is all child processes. See also: time. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-times>.

Print CPU usage:
times

Code Snippets

Print CPU usage

times

Context

tldr-pages: common/times

Revisions (0)

No revisions yet.