Co robi TIME użycie. Konsola also a shell time command, so you might need to specify the full path.

Czy przydatne?

Polecenie time

Wykonanie, użycie: Run the specified command, passing it any arguments, and time the execution. Note that there is also a shell time command, so you might need to specify the full path, usually /usr/bin/time, to run this version of time. time displays its results on standard error. The output includes elapsed time, user CPU time, system CPU time, and other information such as memory used and number of I/O operations. The output can be formatted using printf format strings specified with the -f option or the TIME environment variable

Opcje wykonania time w konsoli


The end of the options. Anything after the -- is treated as the command or one of its arguments.

-a, --append

Used with -o to append the output to file instead of overwriting it.

-f format, --format=format

Specify the output format. Overrides any format specified in the TIME environment variable.


Print help message and exit.

-o file, --output=file

Send the output from time to the specified file instead of to standard error. If file exists, it is overwritten.

-p, --portability

Use portable output format (POSIX).

-v, --verbose

Give verbose output, providing all available information.

-V, --version

Print version information and exit.

Przykłady time działanie w Słownik polecenie T

Przykład TIME użycie :
Jak użyć administration command. Reads and manipulates packet capture files created by tcpdump -w . Based on timestamps, extract portions of or piece together files. Display all packets between the given co to jest.
Przykład TIME użycie :
Jak użyć administration command. Tune the parameters of a Linux Second Extended Filesystem by adjusting various parameters. You must specify the device on which the filesystem resides; it must not be mounted definicja.
Przykład TIME użycie :
Jak użyć lines of a file, then wait for the file to grow. tailf is similar to tail -f , but it does nothing when the file is not growing. Useful for following a logfile, particularly on a laptop when you want co znaczy.
Przykład TIME użycie :
Jak użyć A null command that returns a successful (0) exit status. See also false słownik.
Przykład TIME użycie :
Jak użyć retrieve or set the processor affinity mask of either an existing process, given its PID, or to run a new a process, given its command name, with a specified affinity mask. The Linux scheduler will znaczenie.