Monthly average for a given metric
Hello
Is it possible to create a widget that would show a monthly average for a given metric?
Now I have a widget that displays as below:
I would like to network | use Rage (KBps) to show the monthly average and not only value of last probe.
I use vCAC - 5.8.2 build 1885282
View widget is available in 6.x, 5.x not. Therefore, the vcops-custom UI would not this widget since it is a web service of legacy 5.x.
Tags: VMware
Similar Questions
-
How to get the last day of a month for every 2 months for a given period?
Hello
Can is it some please let me know how to get the last day, last day of the week, the weekend last day, last Monday, one month for every 2 months for a given period?
Thanks in advance.
Try the below
SELECT LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))) lastday.
BOX WHEN TO_CHAR (LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))), 'DY') = 'SAT '.
SO LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2)))-1
WHERE TO_CHAR (LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))), 'DY') = 'Sun '.
THEN LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2)))-2
Of OTHER LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2)))
END as lastweekday,
BOX WHEN TO_CHAR (LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))), 'DY') IN ('Sam', 'SUN')
THEN LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2)))
Of OTHER LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2)))
-(TO_NUMBER (TO_CHAR (LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))),' from)) - 1).
END as lastweekendday,
BOX WHEN TO_CHAR (LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))), 'DY') = 'MY
THEN LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2)))
Of OTHER NEXT_DAY (LAST_DAY (ADD_MONTHS (TRUNC(startdate,'MM'), ((LEVEL*2)-2))), "LUN")-7
END AS lastmonday
FROM (SELECT SYSDATE startdate,
SYSDATE + 300 enddate
THE DOUBLE)
CONNECT BY LEVEL<=>=>
-
Hi all
I asked this question to Luc rooms (@LucD22) via twitter earlier and it offers to post here... good suggestion.
Scenario:
We have a set of ESX host running on hardware of blade, currently using double transmission 10 g out to the Top of Rack Juniper EX4500 switches. I offer you with our next design to be used in the chassis MXL Force10 switches and uplink of a distributed Thorn (or Lagg for 10g or 40g). There was some resistance from the network team saying we owe to full speed for all blades, all the time... I have a strong suspicion of our overall throughput for a given frame is much less than 320gbit... but I want to prove that with solid data.
We had a follow-up, but they all use averages of 5 minutes (at best), so the transient peaks tend to miss (and I want to capture them if possible).
What I would do:
Generate a set of data that I can use to create a stacked line chart (each host or Teddy bear would be a line with each other at each point of data in total also). Probably should separate incoming and outgoing...
I would like to have the data as granular as possible, in order to capture the 20 seconds on average, calculate averages over a period of Maximum would be ideal for each host. Remember to say a data point every 30 minutes, over a period of X (probably the length of time, the script is running allowed to run to?), maybe a failsafe (x, configurable?)
However, overall, it probably should summarize each collection point, then calc the max of people for each datapoint (way not to capture two vertices that do not occur at the same time, the inclination data.)
It may be useful to divide into a new CSV file daily / some-other-small-time, so long
Other ways to do this:
Get stats levels to get the values of "maximum" in vCenter to the largest. Ideally not... He puts a reasonable amount of strain on the vCenter DB, more it will produce asymmetrical data by combining the maximum values.
Thoughts?
CnidusYou are welcome, and as long as there is no "code editor" I will continue to make typos
-
How cancel a monthly fee for storage space I need is no longer? Does anyone know how to do this?
You can change the storage volume by selecting a new plan directly from your iPhone, iPad, iPod, Mac or PC (for example, a plan of 5 GB to replace a 200 GB plan). The downgrade will take effect after the end of your monthly or annual subscription in progress.
iOS
- If you use the iOS 8 or laters, go to settings > iCloud > storage. If you are using an older version of iOS, go to settings > iCloud > storage and backup.
- Click Change storage Plan.
- Press Downgrade Options and enter your Apple ID.
- Choose a different plan to use when the expiration of your current storage plan.
- Tap done.
OS X- Choose the Apple menu > System Preferences, and then click iCloud.
- Click on manage in the lower corner on the right.
- In the upper right corner, click Change storage Plan.
- Click Options to Downgrade.
- Enter your Apple ID password, then click on manage.
- Choose a different plan to use when the expiration of your current storage plan.
- Click done.
-
Can I reload my monthly payment for storage on my Apple ID balance iCloud?
Can I reload my monthly payment for storage on my Apple ID balance iCloud?
Yes. If you carry a balance from an iTunes card, the amount could / should come from there.
-
Hi all
I have a code (attached) in which a triangular wave is supposed to a magnetic field of ramp up and down to very low frequency (0.1 Hz or low). Reading (X) vs keithley reading field (Y) represented by two random numbers generators must be taken in synchronization with the triangular wave point by point. I would be very grateful if you could help to achieve the following objectives:
1. by taking the average for a few cycles. Basically, I would define the number of loops in the outer circle to the loop and the number of sampling inside everything in a loop and then take the average between the loops.
(Data for data of loop2 +... + loop1) + data to loop n/n
2. the averages should be written to the text file and at the same time, I hope I always get the full date in the file action.
Thank you
Hadi
Assuming that you want to monitor the data happens, I would like to initialize several arrays, both to keep the x and are data and to keep the number of each 'package '.
Now, simply add the new data to the existing elements while incrementing the corresponding number. Dividing by the count will give you the way to be represented graphically. Here's a simple rewrite. The "collection must match the size of the field ramp, so it shouldn't be a separate control, I think. Currently, you graph the two random channels. You would you rather them the two graphic vs of the field instead? You want front and back scans averaged individually or must they go to the same average with a half data table?
You save operation still seems a little convoluted. How do you actually data to be organized in the final file?
Here is a quick project to help you get started.
-
Is it possible to buy additional licenses so that I can legally install XP for the given PC?
Purchase additional licenses of XP to charitable purposes.
G ' Day.Seems I entered company free charity PC by accident. I fix PC for needy people in my community and have been recently
Gift of parts which I now build computers for those who cannot afford it. I have an authentic copy of the retail of Windows XP Professional
but I don't want to break any laws by installing it on several PC. Is it possible to buy additional licenses so that I can legally
install XP for the given PC?I'm in the Australian Navy and can not afford to buy XP for each PC, I'm donating. Shipping with Linux does not work too well for these people because they are for the most computer illiterate and only know windows.
See you soon.
Select this option.G ' Day.
Seems I entered company free charity PC by accident. I fix PC for needy people in my community and have been recently
Gift of parts which I now build computers for those who cannot afford it. I have an authentic copy of the retail of Windows XP Professional
but I don't want to break any laws by installing it on several PC. Is it possible to buy additional licenses so that I can legally
install XP for the given PC?I'm in the Australian Navy and can not afford to buy XP for each PC, I'm donating. Shipping with Linux does not work too well for these people because they are for the most computer illiterate and only know windows.
See you soon.
Select this option.Windows XP is no longer sold by Microsoft. You will need to search the Internet and find a place you trust or inquire locally. Unfortunately - this is where you are at.
-
Parse Hard &; Soft Parse for a given SQL?
Hi all
I need to know which of these is a hard and soft analysis for a given Sql. What I think is the 'charges' and 'invalidation' indicates if a cursor is invalidated and gets reloaded, which allows us to check if a call analysis becomes hard analysis.
Confusion here is should "Disk reads" value nonzero means hard analysis regardless of the 'load' and 'invalidation' and 'Disc bed' zero value means soft parse?
SELECT a.SQL_ID, a.INSTANCE_NUMBER, a.SNAP_ID, TO_CHAR(b.END_INTERVAL_TIME, 'DD-MON-YYYY HH24:MI') snap_time, a.PLAN_HASH_VALUE, ROUND(a.ELAPSED_TIME_DELTA/1000000) TOTAL_EXECUTION_TIME_SEC, ROUND(a.CPU_TIME_DELTA/1000000) cpu_seconds, a.ROWS_PROCESSED_DELTA rows_processed, a.BUFFER_GETS_DELTA buffer_gets, a.DISK_READS_DELTA disk_reads, a.EXECUTIONS_DELTA executions, a.PARSE_CALLS_DELTA parses, a.VERSION_COUNT version_count, a.LOADS_TOTAL loads_total, a.INVALIDATIONS_TOTAL invalidations_total FROM DBA_HIST_SQLSTAT a, DBA_HIST_SNAPSHOT b WHERE a.SNAP_ID = b.SNAP_ID and a.INSTANCE_NUMBER=b.INSTANCE_NUMBER AND a.INSTANCE_NUMBER=1 AND a.SQL_ID='bsraj0u9r9d3w' ORDER BY a.SNAP_ID desc; TOTAL Instance Snap Snap EXECUTION CPU Buffer Disk version loads invalidations Sql Id Number Id Time TIME(Sec) Seconds Rows Gets Reads Executions Parses count total total ------------- -------- --------- -------------------- ------------ ------- -------- ---------------- -------- ---------- ------ ------- ----- ------------- bsraj0u9r9d3w 1 9368 12-FEB-2016 12:00 14 13 200 14,079,211 780 2 1 1 6 5 --- hard Parse bsraj0u9r9d3w 1 9348 11-FEB-2016 16:00 110 91 1,500 104,806,435 0 15 4 1 5 4 --- ?? bsraj0u9r9d3w 1 9347 11-FEB-2016 15:00 30 29 500 34,922,061 0 5 2 1 5 4 --- ?? bsraj0u9r9d3w 1 9346 11-FEB-2016 14:00 14 13 200 14,009,248 0 2 1 1 5 4 --- ?? bsraj0u9r9d3w 1 9341 11-FEB-2016 09:00 14 13 200 14,009,957 651 2 2 1 5 4 --- hard Parse bsraj0u9r9d3w 1 9297 09-FEB-2016 13:00 20 20 500 23,380,631 0 5 4 1 4 3 --- ?? bsraj0u9r9d3w 1 9294 09-FEB-2016 10:00 65 53 1,300 58,569,220 0 13 13 1 3 2 --- ?? bsraj0u9r9d3w 1 9293 09-FEB-2016 09:00 18 17 300 18,635,057 0 3 2 1 3 2 --- ?? bsraj0u9r9d3w 1 9292 09-FEB-2016 08:00 70 67 1,700 77,145,560 787 17 17 1 3 2 --- hard Parse bsraj0u9r9d3w 1 9272 08-FEB-2016 12:00 18 18 400 22,164,178 0 4 4 1 2 1 --- ?? bsraj0u9r9d3w 1 9270 08-FEB-2016 10:00 106 101 2,500 123,154,635 0 26 24 1 2 1 --- ?? bsraj0u9r9d3w 1 9269 08-FEB-2016 09:00 11 10 300 11,401,899 657 3 3 1 2 1 --- hard Parse bsraj0u9r9d3w 1 9253 07-FEB-2016 17:00 104 98 2,300 115,320,927 788 23 23 1 1 0 --- hard Parse
Thanks in advance
Reads disk do not mean that the query will invalidation thus analyze hard. Reading disc mean simply that the IO that happens from disk and it is perhaps due to the result not being not not available in memory.
I'm not sure why you use this type of analysis to check if requests are going for hard analysis or not? Why not pick up a particular query run and use TKPROF(better SQLTXPLAN) or AWR based SQRPT.sql to check the same? What is the exact issuethat, you're trying to solve?
Aman...
-
How to get the timestamp per minute for the given interval
Hello
I have a table with a date of beginning and end of time columns. I need to divide the date given in one minute interval and post the results.
create table min_data(objectid varchar2(20),starttime timestamp,endtime timestamp,duration number); SET DEFINE OFF; Insert into MIN_DATA Values ('U1_B011_P006_InvA', TO_DATE('06/23/2015 02:42:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/23/2015 02:46:00', 'MM/DD/YYYY HH24:MI:SS'), 5); Insert into MIN_DATA Values ('U1_B011_P006_InvA', TO_DATE('06/23/2015 12:43:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/23/2015 12:44:00', 'MM/DD/YYYY HH24:MI:SS'), 2); COMMIT;
My expected output should be something like this. INT_TIMESTAMP is the timestamp calculated for the given interval (time of start and end times)
INT_TIMESTAMP OBJECTID STARTTIME END TIME 23/06/2015-02:42 U1_B011_P006_InvA 23/06/2015-02:42 23/06/2015-02:46 23/06/2015-02:43 U1_B011_P006_InvA 23/06/2015-02:42 23/06/2015-02:46 23/06/2015-02:44 U1_B011_P006_InvA 23/06/2015-02:42 23/06/2015-02:46 23/06/2015-02:45 U1_B011_P006_InvA 23/06/2015-02:42 23/06/2015-02:46 23/06/2015-02:46 U1_B011_P006_InvA 23/06/2015-02:42 23/06/2015-02:46 23/06/2015 12:43 U1_B011_P006_InvA 23/06/2015 12:43 23/06/2015 12:44 23/06/2015 12:44 U1_B011_P006_InvA 23/06/2015 12:43 23/06/2015 12:44 I wrote a query that works for one set of intervals.
With get_data AS( SELECT a.*, starttime -1/1440 v_s_date, endtime v_e_date FROM min_data a where duration=5) SELECT v_s_date + ((1 / 1440) * DECODE(LEVEL, 1, 1, LEVEL)) int_timestamp, objectid,starttime,endtime FROM get_data d WHERE MOD(LEVEL, 1) = 0 OR LEVEL = 1 CONNECT BY LEVEL <= (v_e_date - v_s_date) * 1440;
Please send me a SQL query that gives me the timestamps of minutes between intervals.
Hello
The following query works for any number of intervals
SELECT STARTTIME + ((LVL-1) / 1440) INT_TIMESTAMP, OBJECTID, STARTTIME, ENDTIME
Of
(SELECT LEVEL LVL FROM DUAL CONNECT BY LEVEL< 10)="">
(SELECT * FROM MIN_DATA)
WHERE STARTTIME + ((LVL-1) / 1440) BETWEEN STARTTIME AND ENDTIME ORDER BY, STARTTIME, ENDTIME LVL;
Concerning
Salim
-
How to calculate daily, hourly average for the very large data set?
Some_Timestamp
"Parameter1" Parameter2 1 JANUARY 2015 02:00. 00:000000 AM - 07:00 2341.4534 676341.4534 1 JANUARY 2015 02:00. 01:000000 AM - 07:00 2341.4533 676341.3 1 JANUARY 2015 03:04. 01:000000 PM - 07:00 5332.3533 676341.53 1 JANUARY 2015 03:00. 01:000046 PM - 07:00 23.34 36434.4345 JANUARY 2, 2015 05:06.01:000236 AM - 07:00 352.33 43543.4353 JANUARY 2, 2015 09:00. 01:000026 AM - 07:00 234.45 3453.54 3 FEBRUARY 2015 10:00. 01:000026 PM - 07:00 3423.353 4634.45 FEBRUARY 4, 2015 11:08. 01:000026 AM - 07:00 324.35325 34534.53 We have data as above a table and we want to calculate all the days, the hourly average for large data set (almost 100 million). Is it possible to use the sql functions of analysis for better performance instead of the ordinary average and group of? Or any other way better performance?
Don't know if that works better, but instead of using to_char, you could use trunc. Try something like this:
select trunc(some_timestamp,'DD'), avg(parameter1) from bigtable where some_timestamp between systimestamp-180 and systimestamp group by trunc(some_timestamp,'DD');
Hope that helps,
dhalek
-
I have a monthly subscription for Adobe Pro DC. I recently changed to a new laptop and reinstalled Adobe DC Pro, I have to join again. Please notify.
Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html
-Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
-Windows or Mac has no importance... 2 on the same operating system or 1 on each
-Two activations on one account CAN NOT be used at the same time (to be noted in the link above of the license)
-An individual account is for one person and may not be shared with anyone else
.
Remove the license on a computer http://forums.adobe.com/thread/1442423?tstart=0 clouds can help
-read http://helpx.adobe.com/x-productkb/policy-pricing/error-maxium-acitvation-exceeded.html
-or https://helpx.adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html
-
Is their any restrictions on the total facilities of cloud creative app after purchase of the monthly subscription for each user? For example, an application may not be installed on more than 1 computer. (Or it will break the policy of licensing or software etc.) ?
- You can install the software on as many computers as you want
- You can activate the software to be used on a maximum of any two computers at the same time
- You can only use one of the simultaneously active installations.
-
Hi, I just paid for this 11euros per month thing, for Lr and Psalm I had the trial version installed before and now I paid, I can not connect to the bloody thing, it asks me to enter a serial number, which I did not... someone has a solution for me please...?
-
If I have a monthly license for CC to Photoshop, but I have two computers, can I use Photoshop on both of my PC?
Hi Zsolt.Jancsik,
Yes, you can install Photoshop on both systems, however you can use a system at a time.
Kind regards
~ Mohit
-
Question 1: The button "Buy now" does not work when you select a plan.
How to reproduce the problem:
1. go in terms of pricing and membership creative cloud | Adobe Creative Cloud
2. choose a plan, then click on 'buy now '.
3. you go to a blank page instead of the next steps in the payment.
Question 2: Can not select "Monthly Plan" for a "unique App."
How to reproduce the problem:
1. go into "https://creative.adobe.com/plans".
2. under "Unique App", select a product and then try to select the "monthly Plan" in the second menu drop-down.
3. for some reason, it isn't get selected and the price is replaced with the ellipsis (...). I expect the monthly price to appear.
Please notify.
Thank you.
Contact adobe during the time pst support by clicking here and, when available, click on "still need help," http://helpx.adobe.com/x-productkb/global/service-ccm.html
Maybe you are looking for
-
I can't get to Yosemite... and I REALLY need. Help!
Hello So I have a Mac Pro running 10.8.5 and I really need to update to Yosemite. Because I use a lot of hardware and software Audio Pro, I can never run because of instability the last OS X / incompatibility issues. My version of Pro Tools HD still
-
can not pass a power on password request
I'm trying to revive my dad's laptop computer. My father is an old man and he forgot all his passwords. When I turn it on, it asks an admin password or power on password, neither of which I have. The laptop is a HP G62 340us, model: XH066UAR I ge
-
Adding shortcuts to the allures of IPad
There is an option in the settings > general > keyboard that says ' enable shortcuts "I activate. But the only available shortcut is the shortcut of Apple factory. This allows a period at the end of every sentence if the SPACEBAR is double typed. Wha
-
Hi guys,. I have a very simple problem, I can't seem to understand. How translate 0 x 9003 (little-endian) 0390 0200 1400 0000? I understand the bit flop for little vs. big-endian, just not the hexagonal part. See you soon,. Shivels
-
Remove the shadow of the text under the icons
I am currently using Windows 7 Ultimate.I configured the classic windows desktop theme with a solid white background.I see the text under the icons on the desktop in white with a shadow.How can I configure the text under the icons to be simply black,