No ratings yet.

How to check system resources used in linux

1. time command name in linux

time- run programs and summarize system resource usage

2. time synopsis for linux

time   [ -apqvV ] [ -f FORMAT ] [ -o FILE ]
       [ --append ] [ --verbose ] [ --quiet ]
       [ --portability ] [ --format=FORMAT ]
       [ --output=FILE ] [ --version ]
       [ --help ] COMMAND [ ARGS ]
3. time examples in linux

Measure time for running program time itself:

$ time

Measure time for running program
Measure execution time of “find” command and redirect stderr to /dev/null:

$ time find / -name resolv.conf 2>/dev/null

Measure execution time of find

Source taken from http://linuxconfig.org/

Please rate this