Search Results

Search: Posts Made By: happening_linux
15,504
Posted By happening_linux
thanks a lot radoulov.
thanks a lot radoulov.
15,504
Posted By happening_linux
Hi radoulov, In my bash shell script, I am...
Hi radoulov,

In my bash shell script, I am using the format posted by you i.e.:
_utime="$( TIMEFORMAT='%lU';time ( ls ) 2>&1 1>/dev/null )"

This displays the user time taken by the ls...
15,504
Posted By happening_linux
Thanks a lot radoulov & methyl for your replies. ...
Thanks a lot radoulov & methyl for your replies.

The soloution posted by radoulov seems to be working as desired for my script and I'll continue with that.
Thanks again. :)

---------- Post...
15,504
Posted By happening_linux
Hi Tuxidow. Thanks for the response. I...
Hi Tuxidow.

Thanks for the response.
I had tried the format that u posted but didn't work in case of time command. Command, the result of which I would like to save in a variable is : "time ls...
15,504
Posted By happening_linux
Storing output of "time" command to a variable
Hi all,

I am new to Linux/shell scripting having moderate knowledge.

In my script, I need to get execution time of a command (say 'ls') in mili seconds level. For this i tried using "time"...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy