U
U
Urbansamurai2018-12-10 10:44:37
bash
Urbansamurai, 2018-12-10 10:44:37

How to measure resource consumption (memory, cpu) of ffmpeg?

Is it possible to write something like a test script in bash that will log the maximum used memory and cpu when the process ends?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-12-10
@Urbansamurai

all this can be measured with the posix time command. mantime.
After completion, there will be
ps statistics, it is important to write /usr/bin/time and not just time. The built-in bash can't do everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question