About 96,200 results
Open links in new tab
  1. How do you time how long a command took to run? [duplicate]

    How would you find out how long a running process took to complete? Example: date; dd bs=1m if=/foo of=bar; date ^This example only has 1 second of resolution. Any shell is acceptable.

  2. How do I time a specific command? - Unix & Linux Stack Exchange

    0inputs+0outputs (0major+613minor)pagefaults 0swaps Unlike your "timethis" program, you get three values back. That's broken down in What is "system time" when using "time" in …

  3. bash - How to get execution time of a script effectively? - Unix ...

    Jan 26, 2017 · 744 I would like to display the completion time of a script. What I currently do is - #!/bin/bash date ## echo the date at start # the script contents date ## echo the date at end …

  4. How to run time on multiple commands AND write the time …

    How to time a multiline, multi-subcommand command in bash, and optionally store all output into a file ie: How to time multiple sub-commands and the totality of the whole group of commands …

  5. command line - Unix & Linux Stack Exchange

    Learn how to convert epoch timestamps into human-readable formats on the command line with practical examples and step-by-step instructions.

  6. command line - How do I set time and date from the Internet?

    Firstly, if you want to change your timezone you can use: sudo dpkg-reconfigure tzdata To update the time and date from the internet on a Linux distribution that uses a modern version of …

  7. Linux: set date through command line - Unix & Linux Stack Exchange

    Mar 23, 2016 · I used the date command and time format listed below to successfully set the date from the terminal shell command performed on Android Things which uses the Linux Kernal.

  8. Get file created/creation time? - Unix & Linux Stack Exchange

    The command is sudo debugfs -R 'stat /path/to/file' /dev/sdaX (replace sdaX with the device name of the filesystem on which the file resides). The creation time is the value of crtime. You can …

  9. What units of time does "top" use? - Unix & Linux Stack Exchange

    Apr 23, 2017 · ps and top display CPU time used, not clock time since the process started. One way to check when the process started is use the following command. The PID file creation …

  10. How to measure time of program execution and store that inside …

    In order to find out how long certain operations within a Bash (v4+) script take, I would like to parse the output from the time command "separately" and (ultimately) capture it within a Bash …