Sponsored Content
Full Discussion: Copy duration of cp
Top Forums UNIX for Dummies Questions & Answers Copy duration of cp Post 302562723 by sepuku on Friday 7th of October 2011 08:53:42 PM
Old 10-07-2011
Copy duration of cp

Hello forum, i would like to ask if there's a way to view the remaining time of copying files (talking about copying gigabytes) while the cp commnad is running.


I'm using OpenBSD 4.9 -stable.

Thanx in advance. Smilie

Last edited by sepuku; 10-07-2011 at 10:09 PM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

duration calculation

I have a file which has 3 coloumns emp_name, Joining_date, Designation. abc 12/1/2001 SSE def 2/25/2007 SE ghi 3/18/2009 SA abc 8/1/2008 SSE def 2/13/2007 SE ghi 3/24/2005 SA I need to find out the emp who has been in the company for longest period(Till date). Can I have any... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

2. Solaris

ufsdump backup duration

hi, i'm trying to figure out how to tell the amount of time a ufsdump of a directory takes. i use the below command: echo "Starting Backup of u4" >> /backup/backup.log 2>&1 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u4 >> /backup/backup.log 2>&1 echo "Finished Backup of u4" >> /backup/backup.log... (0 Replies)
Discussion started by: pinoy43v3r
0 Replies

3. Shell Programming and Scripting

Convert duration of the process to seconds

Hi, I am looking to write a script to kill the process which are running for more than 7 days. So i have a command like "ps -eo pid,etime,args | grep -i xxxx" ( process which has xxx in it and running for more than 7 days needs to be killed ). When i exeucte the above command , i am... (2 Replies)
Discussion started by: forums123456
2 Replies

4. UNIX Desktop Questions & Answers

arecord not interrupted after specified duration

I have used the arecord command like this arecord -d 1 test.wav It is keep on waiting. I need to manually interrupt it by ctrl-c. Why it is not interrupting after one second? The arecord version which I am using is : arecord: version 1.0.23 by Jaroslav Kysela (3 Replies)
Discussion started by: thillai_selvan
3 Replies

5. Shell Programming and Scripting

Sort by Duration

.......................................................................................................................... 03:40 Geonetric File from CCL Complete 03:40:59 03:41:08 00:00:09 00:00:01 N/A 005 sys_runccl ... (7 Replies)
Discussion started by: Daniel Gate
7 Replies

6. Shell Programming and Scripting

Perl ::duration of time in between dates

Hello All, I have two strings with date and time as follows.. $starttime= "06/11/2013 "; $starttime= "05:15"; $enddate="06/12/2013"; $endtime="04:45"; dates are in mm/dd/yyyy format and time in military format. and I am looking the duration of time(in minutes) in between dates. ... (3 Replies)
Discussion started by: scriptscript
3 Replies

7. UNIX for Beginners Questions & Answers

Process duration

Hi , How can I check that for a single process, for example pagent for how much duration this process was up or down and also I need multiple entries if this process was down or up multiple times. Please help. (3 Replies)
Discussion started by: Ashish Garg
3 Replies

8. Shell Programming and Scripting

Need help in Inix script for finding duration

I have a file with time in it. I need to find the duration between the timestamp by subtracting second row from third row and so on. and wherever it is more than 30 minutes it should display start and end time which have been subtracted file : 00:44:11 00:44:11 00:44:13 00:44:13 00:46:51... (2 Replies)
Discussion started by: Muskaan
2 Replies

9. Shell Programming and Scripting

Duration Calculation

I have 2 variables startTime='122717 23:20' endTime='122817 0:40' how can i get the elapsed duration as like "1 hour 20 minutes" ? (8 Replies)
Discussion started by: vikram3.r
8 Replies

10. Shell Programming and Scripting

Function to get the duration of all videos in a folder(s)

did this function to generate the duration of all the video files in a folder or multiple folders, it works fine for my use (I am no Guru as you may have noticed) but when I give it a lot of folders the calculation get a bit borked. If any good soul had the energy to look at it and give... (4 Replies)
Discussion started by: zouhair
4 Replies
std::chrono(3cxx)														 std::chrono(3cxx)

NAME
std::chrono - SYNOPSIS
Classes struct duration duration struct duration_values duration_values struct system_clock system_clock struct time_point time_point struct treat_as_floating_point treat_as_floating_point Typedefs typedef system_clock high_resolution_clock typedef duration< int, ratio< 3600 > > hours typedef duration< int64_t, micro > microseconds typedef duration< int64_t, milli > milliseconds typedef duration< int, ratio< 60 > > minutes typedef system_clock monotonic_clock typedef duration< int64_t, nano > nanoseconds typedef duration< int64_t > seconds Functions template<typename _ToDur , typename _Rep , typename _Period > constexpr enable_if < __is_duration< _ToDur > ::value, _ToDur >::type duration_cast (const duration< _Rep, _Period > &__d)" template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > constexpr bool operator!= (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Clock , typename _Dur1 , typename _Dur2 > constexpr bool operator!= (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _Rep1 , typename _Period , typename _Rep2 > duration< typename __common_rep_type< _Rep1, typename enable_if <!__is_duration< _Rep2 > ::value, _Rep2 >::type >::type, _Period > operator% (const duration< _Rep1, _Period > &__d, const _Rep2 &__s)" template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > common_type< duration< _Rep1, _Period1 >, duration< _Rep2, _Period2 > >::type operator% (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" template<typename _Rep1 , typename _Period , typename _Rep2 > duration< typename __common_rep_type< _Rep1, _Rep2 >::type, _Period > operator* (const duration< _Rep1, _Period > &__d, const _Rep2 &__s)" template<typename _Rep1 , typename _Period , typename _Rep2 > duration< typename __common_rep_type< _Rep2, _Rep1 >::type, _Period > operator* (const _Rep1 &__s, const duration< _Rep2, _Period > &__d)" template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > common_type< duration< _Rep1, _Period1 >, duration< _Rep2, _Period2 > >::type operator+ (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" template<typename _Clock , typename _Dur1 , typename _Rep2 , typename _Period2 > time_point< _Clock, typename common_type< _Dur1, duration < _Rep2, _Period2 > >::type > operator+ (const time_point< _Clock, _Dur1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" template<typename _Rep1 , typename _Period1 , typename _Clock , typename _Dur2 > time_point< _Clock, typename common_type< duration< _Rep1, _Period1 >, _Dur2 >::type > operator+ (const duration< _Rep1, _Period1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs)" template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > common_type< duration< _Rep1, _Period1 >, duration< _Rep2, _Period2 > >::type operator- (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" template<typename _Clock , typename _Dur1 , typename _Rep2 , typename _Period2 > time_point< _Clock, typename common_type< _Dur1, duration < _Rep2, _Period2 > >::type > operator- (const time_point< _Clock, _Dur1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)" template<typename _Clock , typename _Dur1 , typename _Dur2 > common_type< _Dur1, _Dur2 >::type operator- (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _Rep1 , typename _Period , typename _Rep2 > duration< typename __common_rep_type< _Rep1, typename enable_if <!__is_duration< _Rep2 > ::value, _Rep2 >::type >::type, _Period > operator/ (const duration< _Rep1, _Period > &__d, const _Rep2 &__s)" template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > common_type< _Rep1, _Rep2 >::type operator/ (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > constexpr bool operator< (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Clock , typename _Dur1 , typename _Dur2 > constexpr bool operator< (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > constexpr bool operator<= (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Clock , typename _Dur1 , typename _Dur2 > constexpr bool operator<= (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > constexpr bool operator== (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Clock , typename _Dur1 , typename _Dur2 > constexpr bool operator== (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > constexpr bool operator> (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Clock , typename _Dur1 , typename _Dur2 > constexpr bool operator> (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _Rep1 , typename _Period1 , typename _Rep2 , typename _Period2 > constexpr bool operator>= (const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs) template<typename _Clock , typename _Dur1 , typename _Dur2 > constexpr bool operator>= (const time_point< _Clock, _Dur1 > &__lhs, const time_point< _Clock, _Dur2 > &__rhs) template<typename _ToDur , typename _Clock , typename _Dur > constexpr enable_if < __is_duration< _ToDur > ::value, time_point< _Clock, _ToDur > >::type time_point_cast (const time_point< _Clock, _Dur > &__t)" Detailed Description ISO C++ 0x entities sub namespace for time and date. Typedef Documentation typedef duration<int, ratio<3600> > std::chrono::hours hours Definition at line 514 of file chrono. typedef duration<int64_t, micro> std::chrono::microseconds microseconds Definition at line 502 of file chrono. typedef duration<int64_t, milli> std::chrono::milliseconds milliseconds Definition at line 505 of file chrono. typedef duration<int, ratio< 60> > std::chrono::minutes minutes Definition at line 511 of file chrono. typedef duration<int64_t, nano> std::chrono::nanoseconds nanoseconds Definition at line 499 of file chrono. typedef duration<int64_t> std::chrono::seconds seconds Definition at line 508 of file chrono. Function Documentation template<typename _ToDur , typename _Rep , typename _Period > constexpr enable_if<__is_duration<_ToDur>::value, _ToDur>::type std::chrono::duration_cast (const duration< _Rep, _Period > &__d) [inline] duration_cast Definition at line 173 of file chrono. Referenced by std::this_thread::sleep_for(). template<typename _ToDur , typename _Clock , typename _Dur > constexpr enable_if<__is_duration<_ToDur>::value, time_point<_Clock, _ToDur> >::type std::chrono::time_point_cast (const time_point< _Clock, _Dur > &__t) [inline] time_point_cast Definition at line 575 of file chrono. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::chrono(3cxx)
All times are GMT -4. The time now is 09:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy