How to check system resources used in linux
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 execution time of “find” command and redirect stderr to /dev/null:
$ time find / -name resolv.conf 2>/dev/null
Source taken from http://linuxconfig.org/
Comments are closed.