Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

time

Forcing an ‘added’ alias to every command

August 10, 2022 by Magenaut

Is it possible to forcibly add a timing alias (for lack of a better way to phrase it) to every command in bash?

Categories Q&A, Unix & Linux Tags alias, bash, date, monitoring, time Leave a comment

How can I time a pipe?

August 10, 2022 by Magenaut

I want to time a command which consists of two separate commands with one piping output to another. For example, consider the two scripts below:

Categories Q&A, Unix & Linux Tags bash, pipe, shell, time Leave a comment

Obtain user and kernel time of a running process?

August 10, 2022 by Magenaut

Is there way to determine using standard Linux/Unix tools how much a process has spent in User mode and how much waiting for kernel?

Categories Q&A, Unix & Linux Tags process, time Leave a comment

Where is Unix Time / Official Time Measured?

August 9, 2022 by Magenaut

I just went through the list oft StackExchange sites for about 20 minutes trying to figure out where to post this. If you know any site more suitable, please move this question there. I’m posting this here because unix time got me thinking.

Categories Q&A, Unix & Linux Tags time, timestamps Leave a comment

Temporarily change time

August 8, 2022 by Magenaut

I need to test aspects of my software that only happen at certain times of the day. Rather than waiting whole days (and getting here at 2:00 AM), I’d like to change the time.

Categories Q&A, Unix & Linux Tags linux, rhel, time Leave a comment

Can I write the output the of time difference command to a file?

August 8, 2022 by Magenaut

Can I write the output of the time difference command to a file?

Categories Q&A, Unix & Linux Tags bash, io-redirection, shell-script, time Leave a comment

Why is scp so slow and how to make it faster?

August 7, 2022 by Magenaut

I’m trying to copy a batch of files with scp but it is very slow. This is an example with 10 files:

Categories Q&A, Unix & Linux Tags batch-jobs, scp, time Leave a comment

Increase %e precision with /usr/bin/time shell command

August 7, 2022 by Magenaut

When I run the time command in shell time ./myapp I get an output like the following:

Categories Q&A, Unix & Linux Tags scripting, shell, time Leave a comment

How to measure time of program execution and store that inside a variable

August 7, 2022 by Magenaut

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 variable (let VARNAME=...).

Categories Q&A, Unix & Linux Tags bash, shell-script, time Leave a comment

How do you time how long a command took to run?

August 7, 2022 by Magenaut

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. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue … Read more

Categories Q&A, Unix & Linux Tags bash, date, time Leave a comment
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress