Total time to FCIP Tunnel be disconnected
I use MDS9222i to Extend SAN with FCIP.
In my FCIP profile,
tcp min-retransmit-time is 300ms,
tcp max-retransmission is default(Maximum number of re-transmissions is 4).
With these two value,
Can I calculate the time that the FCIP tunnel to be disconnected when WAN circuit is down ?
I think it is 4.5s(0.3s+0.6s+1.2s+2.4s). Is that right?
Hi,
Please try this.
Define three user variables - StartTime, EndTime and Duration.
At the start of the quiz ('On Slide Enter' of the first Question Slide). have an advanced action with the following actions.
Assign: StartTime with cpInfoElapsedTimeMS
Continue
At the end of the quiz ('On Success' or 'On Failure' of the last Question Slide or 'On Slide Enter' of Result Slide), have this advanced action.
Assign: EndTime with cpInfoElapsedTimeMS
Expression: Duration = EndTime - StartTime
Expression: Duration = Duration / 1000
Continue
The variable 'Duration' will have the time taken by the user for the Quiz in seconds.
Let me know if you have any queries.
Thanks,
Thejas
Similar Messages
-
Hi,
There was initialization done around year back and there are deltas comming in i want to find the total time since start.
Is it possible???
thanx
sachin kHi Sachin
RSA1 -> Infosource -> Infopackage -> Scheduler(tab in menu) -> Select "Init options in Spource system"
There you can get the date and time it was done.
Or other option is
Infoprovider -> Manage -> check the time stamp for first request and latest time stamp. That will give you the total time.
I hope this is what you are looking for.
Regards,
Rohihni
Dont forget to assign points if it helps...
Message was edited by: Rohini Garg -
How do get particular date of total time
this is our java code
private static PreparedStatement preparedStatement;
private static ResultSet rs;
public static void main(String[] args) throws NamingException, SQLException
int objectId;
int clientId;
DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// String gpstime = null;
PreparedStatement preparedStatement = null;
Connection conn=null;
long mill;
long diffSeconds=0;
long diffMinutes=0;
try
Class.forName("com.mysql.jdbc.Driver");
Connection conn1=DriverManager.getConnection("jdbc:mysql://108.108.8.4:3306/navl?","root", "ajmani@%");
preparedStatement = conn1.prepareStatement("select gpstime from xydata a inner join fm4features f on a.ID=f.ID where a.objectId= '18' AND a.clientId = '1' AND a.gpstime > '2010-05-11 00:00:00' AND a.gpstime < '2010-05-13 23:59:59' AND f.DataId='1' AND f.value = '1'");
rs = preparedStatement.executeQuery();
int a = 0;
int b=0;
int b1=0;
int b2=0;
int x=0;
float secs = 0;
Set<String> dates = new HashSet<String>();
ArrayList<Integer> l=new ArrayList<Integer>();
Timestamp t1 = null;
Timestamp t2 = null;
int count = 0;
while ( rs.next() )
String gpstime = rs.getString("GpsTime");
if (dates.add(gpstime) )
//System.out.println(rs.getTimestamp(1));
t2 = rs.getTimestamp(1);
count++;
if (t1 == null )
int nano = t2.getSeconds();
System.out.println(nano);
System.out.println(nano);
System.out.println(t2);
System.out.println(count);
else
mill= (t1.getTime() - t2.getTime())/-1;
//System.out.println(mill);
diffSeconds = mill / 1000;
diffMinutes = mill / (60 * 1000);
long diffHours = mill / (60 * 60 * 1000);
long diffDays = mill / (24 * 60 * 60 * 1000);
//System.out.println("\nThe Date Different");
//System.out.println("Time in milliseconds: " + mill+ " milliseconds.");
System.out.println("GPSTime " +gpstime+ " Time in seconds: " + diffSeconds+ " seconds.");
//System.out.println("Time in minutes: " + diffMinutes+ " minutes.");
//System.out.println("Time in hours: " + diffHours+ " hours.");
//System.out.println("Time in days: " + diffDays+ " days.");
t1 = t2;
//System.out.println("Time in minutes: " + diffSeconds+ " seconds.");
if(diffSeconds < 80)
b=(int) diffSeconds;
System.out.println(b);
l.add(b);
else if(diffSeconds > 80)
b2=(int)diffSeconds%60;
System.out.println(b2);
l.add(b2);
a++;
for (int i=0; i<l.size();)
secs+=l.get(i);
i++;
System.out.println(secs);
int hours = (int) (secs / 3600),
remainder = (int) (secs % 3600),
minutes = remainder / 60,
seconds = remainder % 60;
String disHour = (hours < 10 ? "0" : "") + hours,
disMinu = (minutes < 10 ? "0" : "") + minutes ,
disSec = (seconds < 10 ? "0" : "") + seconds ;
if (count < 2)
int se = Integer.parseInt(disSec);
String min = (t2.getSeconds() < 10 ? "0" : "") + t2.getSeconds();
System.out.println("00" + ":" + "00" + ":" + min + " hh:mm:ss");
System.out.println(disHour +":"+ disMinu+":"+disSec+ " hh:mm:ss");
}catch(Throwable th)
Logger.getLogger(testing1.class.getName()).log(Level.SEVERE, null, th);
}finally
if(preparedStatement!=null)
preparedStatement.close();
if(conn!=null)
conn.close();
}this is output
GPSTime 2010-05-13 20:16:13.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:17:10.0 Time in seconds: 57 seconds.
57
GPSTime 2010-05-13 20:18:10.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:19:10.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:20:10.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:21:11.0 Time in seconds: 61 seconds.
61
GPSTime 2010-05-13 20:22:11.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:23:11.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:24:11.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:25:11.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:26:11.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:27:11.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:28:12.0 Time in seconds: 61 seconds.
61
GPSTime 2010-05-13 20:29:12.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:30:12.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:31:12.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:32:12.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:37:46.0 Time in seconds: 334 seconds.
34
GPSTime 2010-05-13 20:38:46.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 20:47:22.0 Time in seconds: 516 seconds.
36
GPSTime 2010-05-13 21:12:54.0 Time in seconds: 1532 seconds.
32
GPSTime 2010-05-13 21:13:54.0 Time in seconds: 60 seconds.
60
GPSTime 2010-05-13 21:14:55.0 Time in seconds: 61 seconds.
61
GPSTime 2010-05-13 21:37:08.0 Time in seconds: 1333 seconds.
13
GPSTime 2010-05-13 21:38:09.0 Time in seconds: 61 seconds.
61
31169.0
08:39:29 hh:mm:ssi am getting the total time for all date
i need only the particular date of total time
2010-05-11-->total time
2010-05-12->Total time
2010-05-13->total time
how do i change the given code to get the above output
please help me anybody having ideaBakthavachalam wrote:
i am getting the total time for all date
i need only the particular date of total timeIn which case your while(rs.next()) loop needs to process 1 day at a time and print its results when the date changes (assuming your Timestamps come in in date sequence; if not, you'll have to sort them first).
I suspect you'll also have to decide what you want to do with
GPSTime 2010-05-13 23:59:59.0
followed by
GPSTime 2010-05-14 00:00:01.0
Do you still need to calculate the difference? And if so, which "date" does it go in, or is it split?
Your logic seems incredibly convoluted for such a simple task. What exactly are you trying to do?
Winston
BTW: TimeStamp.getSeconds() is deprecated, which means you use it at your peril. -
How to display the time length of video (current time/ total time) ?
Hi,everyone. I would like to ask how to display the time length of the video which show only in system example: it show the current time and total time? using AS 3.0.
It there any information or solution to solve it? .
I appreciate it any of you able to answer it. ^^
Thank you.Hi,
Actually I have this requirement for MAC OS 10.5. With the code you provided, I got the output as "6289375". When I changed the URL to point to my file (file:///Users/VPKVL/Desktop/MyRecord/tempAudio.wav), I am getting the below mentioned Exception:
Exception in thread "main" javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:561)
at com.sun.media.sound.MixerClip.open(MixerClip.java:165)
at com.sun.media.sound.MixerClip.open(MixerClip.java:256)
at TestWavLength.main(TestWavLength.java:13)The "tempAudio.wav" file is created by using java sound API. I am using the SSB USB Headphone Set to record the audio with the following settings for AudioFormat object:
AudioFormat audioFormat = new AudioFormat(
AudioFormat.Encoding.PCM_SIGNED, // the audio encoding
// technique
48000.0F,// sampleRate the number of samples per second
16, // sampleSizeInBits the number of bits in each sample
2, // channels the number of channels (1 for mono, 2 for
// stereo, and so on)
4, // frameSize the number of bytes in each frame
48000.0F,// frameRate the number of frames per second
false); // bigEndian indicates whether the data for a single
// sample is stored in big-endian byte order
// (false means little-endian)Can you please suggest where I am going wrong ? -
Time Machine External Hard Drive Disconnected Incorrectly
I have an external USB hard drive functioning for my Time Machine back-ups. I usually turn off my iMac by using the sleep function. Often, when I activate out of sleep, I get the error message that the hard drive was disconnected incorrectly (I assume this means not ejected properly). But I haven't disconnected the USB wire. I can't figure ot why I am getting this message so often. Any ideas? Thanks.
mr1213 wrote:
I have an external USB hard drive functioning for my Time Machine back-ups. I usually turn off my iMac by using the sleep function. Often, when I activate out of sleep, I get the error message that the hard drive was disconnected incorrectly (I assume this means not ejected properly). But I haven't disconnected the USB wire. I can't figure ot why I am getting this message so often.
It may be that your TM drive isn't "waking up" quickly enough for Time Machine.
An improper disconnect (yes, not ejecting first) can cause directory damage to the disk. Do a +Repair Disk+ (not permissions) on your TM drive, via Disk Utility (in your Applications/Utilities folder).
Depending on your drive, one or more of the following may help:
Un-check the +Put the hard disk(s) to sleep ...+ option of System Preferences > Energy Saver.
See if it has an auto-sleep or "spin down" mode you can disable.
Check with the maker to see if there's a firmware upgrade for your model. -
In the new iTunes the play list total time displays in 1.5 hours format, how do I get it to clearly show 1hr 31min 12sec like before, I want the exact time so I can properly fit all the songs when I want to burn this playlist to a disc. You can no longer just click on it to change the display format. Nor can you right click, control click, or change it in options. If anyone knows I would very much appreciate your imput. Thank You.
Actually, that's the problem ... in iTunes *11* it has stopped working. I have the status bar displayed, and it is stuck on the 1.x hours format.
That is very, very strange !!
I can't get that to happen on mine. It worked in 11.0 and I updated today to 11.0.1 and it's OK.
I've tried making a new playlist, I've tried changing an old playlist, smart playlist ...... all OK ???? -
Total time balances in HRFORMS
I designed a form to report total time balances overview
using TIM_SALDO in HRFORMS.
when evaluate <b>NOT</b> a complete time evaluation periods by specifying the data selection period on the selection screen.it gives total time balances of complete time evaluation periods!?
Time evaluation periods is 10.01 - 10.31 ,
I evaluate 10.01 to 10.15,
but the result of total time balances is for 10.01-10.31.
BUT form designed by PE50,using SALDO too.
when evaluate 10.01 to 10.15,it gives right result.
I know table Table SALDO stores all cumulated balances. The balances are added from table TES to SALDO in month-end processing.
BUT WHY PE50 form can evaluate partly period ,while HRFORMS can not.
How to design using HRFORMS to evaluate partly period or corss periods?
Must I write code by using table ZES to cumulate manully?Here is your sum in minutes
WITH your_data AS
(SELECT '4.30' emp_ot FROM DUAL
UNION ALL SELECT '5.50' emp_ot FROM DUAL)
SELECT SUM(minutes) FROM (
SELECT REGEXP_REPLACE (emp_ot, '(\d{1,2})\.(\d{2})', '\1') * 60
+ REGEXP_REPLACE (emp_ot, '(\d{1,2})\.(\d{2})', '\2') minutes
FROM your_data)
620
Message was edited by:
Bolev -
Calculating total time from a query
Hi everyone,
I have a simple database and one of the fields in this
database is time spent on stuff, for example a bike ride lasted
00:45:00, 01:33:03, 01:23:03 ETC
what I am trying to do is calculate total time. so do a sum
of that column.
Simple enough.
the column is a VarChar, I tried Time as well and well that
did not go well.
if I use mysql command line I get this:
mysql> SELECT SUM(mv_time) FROM data WHERE user_id = 2;
+--------------+
| SUM(mv_time) |
+--------------+
| 8 |
+--------------+
1 row in set (0.00 sec)
No idea how it came up with that one as 8 is incorrect
so I got a bit fancier:
mysql> SELECT SEC_TO_TIME(SUM(TIME_TO_SEC(mv_time))) AS
mv_time FROM data WHERE user_id = 2;
+----------+
| mv_time |
+----------+
| 26:14:58 |
+----------+
1 row in set (0.00 sec)
Bingo that is correct.
but if I use that same query within cfquery I get a nice java
error telling that you can't have 26 hours in a single day.
Any ideas how I can accomplish this should be simple task?
Thank you.
LucHi Cf_dev2,
How would I go about making easy for my users to submit the
seconds into the database?
for example I would want them (them being me really :) ) to
enter 01:35:00 (for one hour and 35 minutes) and then have CF or
SQL convert that to seconds (instead of having myself figure that
out manually I am no good at math)
Jdeline, I don't understand what you mean by not storing it
as comma delimited, as far as I know its not comma delimited, its
stored in a table called data along with a primary key id, userid,
date, etc
Thanks
Luc -
Capturing total time for a report..
Hi all..
I have a query. Is there a way to capture total time spent to show a report on browser
If I understand the way it works in OBIEE
Browser -Presentation Services -- HTTP Request or Response (This we can see by increasing sawlog config file to see more details in sawlog0.)
Presentation services - BI Server (By Usage Tracking S_NQ_* tables, it gives response time, elapsed time and such statstics)
BI Server - DB ( The query running time also captured in usage tracking table)
My understanding is on whole when Presentation services pass the request to BI Server..and when it BI server returns the data to Presentation services..
There shoud some COMMON PARAMETER to match the request sent and received ..Mapping the requests...
Is there a way to get that parameter/variable/sytem variable..so that I can accomplish objective of tracking total time spend for a request..
I could increase saw log and see there is no common parameter that I could match from Sawlog to NQQuery Log, but no luck
Can anybody help here to find someway? any pointers?
Thanks in advance..There is no parameter that captures the browser rendering time of the report. In the manage sessions if you check the report run time stats you should be able to find the elapsed time, db connect time and compilation time
To find a more accurate time to render the report and the time when it has become active you can check that information Under Manage sessions in the RPD. That will give the start time and report active time which is the time at which the report is active.
If you closely monitor this time in the sessions will be a little higher than the time present in the view logs elapsed time which includes the browser rendering time as well because it gives the report active time on it.
Hope it will be helpful
thanks
prash -
I'm in need of a variable that I can use to display total time spent in a course.
I'm attempting to create a custom certificate of completion that a learner can print at the end of a course.
I'd like to have the total time spent in the course displayed on it but am not sure about the variable to use.Thanks for the quick reply!
I was hoping for a quick solution to have the elapsed time appear only on a printable certificate of completion.
Unfortunately, this goes beyond my limited knowledge and experience in using variables. (Admittedly, I'm not a frequent Captivate user)
Thanks again! -
How do you display total time for playlist in Itunes 11
how do you display total time for playlist in Itunes 11
"I can see the total time in my playlist on the computer but not on my device??"
I have just posted a question asking the same!
Did you have any joy? -
How come Mac OS X's Software Update doesn't show a total time ETA and size?
Hello.
I noticed when downloading big updates from Mac OS X 10.5's Software Update, it doesn't show the TOTAL time left and size. It only shows the individual updates (e.g., iTunes). Is there a way to show the totals especially when downloading takes forever?
Thank you in advance.Kappy wrote:
Well not in Software Update, but if you download standalone updates directly from Apple's download site - support.apple.com/downloads/ - using Safari then you will get that information reported in the browser's download manager. However, Software Update does report the size of each listed update.
Yeah, I wanted to know the total of all updates since some updates are so huge. Like Java update 5 is like over 160 MB! Add iTunes and others! Yikes. -
Hi All,
What exactly does the total_time coloumn in dba_jobs specify ?
My requirement is to find out how long a job has taken to run.Currently the column value is 2077291 which I seriously doubt. Is this the sum of the time taken by the job ? If so how do I find the time for a particular instance ?The total_time column show the total time taken since the job creation and first run.
To have the last execution time, you need to keep an historic table.
Nicolas. -
Total time of just the checked songs
Is there any way to see the total time of just those songs I've checked in a playlist?
In the laylist click on the header for the ticked column. It will group the checked together.
Select all the checked Songs and if the staus bar is showing you will see the time for those songs st the bottom in the grey bar.
If you do not have the grey bar View > Show Status Bar -
Total time calls duration: where?
I can' believe it, please!
This phone has only single call time duration!
Where is in/out calls total time duration?
Solved!
Go to Solution.You should contact xperia care:
http://www.sonymobile.com/global-en/support/contact-us/
I know it is not exactly what you want,but as far as I know it is the only way to see the total call time duration.
All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien
Maybe you are looking for
-
I have $0.66 in the US Mac App Store and I want to change my country to Canada. Unfortunately MAS keeps telling me that I want to spend all the money in my account before I can change my country. Please help
-
ORA-22285 Loadclobfromfile and definer rights
I've create a directory D in schema A. Schema A has read permissions on the directory. Created a stored procedure X that reads a clob from a file in this directory. Running the procedure as user A works ok. Granted execute rights on procedure X to us
-
How do i know if i made a purchase and if I did accidentally, how can I reverse it?
How do i know if i made a purchase and if I did accidentally, how can I reverse it?
-
Unable to mount the DVD on Oracle VM Server 2.2.1
Hi All, Good day, We are unable to mount the DVD on Oracle VM Server 2.2.1. System is throwing the following info in messages file. Server X4170 M2 OS: Oracle VM Server 2.2.1 usb 2-3.1: reset low speed USB device using ehci_hcd and address 8 usb 2-3.
-
P2/MXF Footage in Premiere Pro CS6 constantly losing its linkage.
P2/MXF Footage in CS6 constantly losing its linkage. I'll relink the clips as the 'locate footage' box pops up, then a couple of minutes later, all the clips in the bin are showing the question mark and asking me to locate the clips again. It does t