Is there any program that logs the CPU usage of all programs? I want to know, over a period of one month, which programs use the CPU more intensely.
Is there any easy way on Windows to log %CPU time per process over time to a file for later analysis?  As far as I can see...   Task manager shows me the %CPU per process but only visually - no way to save to a file. Perfmon will let me save to a file, and will additionally create a time-based file (taking snapshots at specified time intervals) - which is almost what I want, except that as far as I can see it can't break down the %CPU by process. Process Explorer will let me break down by process, but it will only save the file as a snapshot of a single point in time   So, none of these are quite what I need: I need to get a file that contains something like 'top 10 processes by CPU, every 15 seconds, until I stop the monitoring' The reason I need this because I have a machine on which some process is causing occasional brief spikes in CPU usage several times a day and I need to find out which process is the culprit.    Can anything do that, or have I missed some feature of perfmon or process explorer?
What are watched tags and ignored tags? How do they work? What are tag subscriptions? What are interesting tags? On Stack Overflow, the content of the main page question list appears to be influenced by watched and ignored tags. How does that work?   For more information, see &quot;&quot; in the . What characters/symbols are allowed within the CSS class selectors? I know that the following characters are invalid, but what characters are valid?  ~ ! @ $ % ^ &amp; * ( ) + = , . / ' ; : " ? &gt; &lt; [ ] \ { } | ` # I moved a database from SQL Server 2005 to SQL Server 2012. Is there any way of restoring all the logins on the new server? Is it possible to keep publishing under my professional (maiden) name, different from my married legal name? So our 6-month-old boy still doesn't sleep through the night. He still wakes up at least once and wants to eat.  He takes 3 naps during the day, ranging from 30 minutes to 1.5 (sometimes 2) hours.  We usually put him down for the night at least 2 hours after his latest nap, but we haven't been able to get him down to 2 naps per day because he gets pretty cranky during the evenings. Depending on the duration and times of his naps, his bedtime ranges between 10 and midnight.  We have started feeding him a small amount (2 tablespoons dry) of rice cereal after his morning and evening naps in the hopes that he'll have a fuller stomach through the night, but he still wakes up hungry after sleeping between 3 and 6 hours. I can handle the 6 hours, since that means I get 6 hours of pretty much uninterrupted sleep, but it's usually more like 3-4.  Any suggestions? Should flawed questions be closed immediately? Possible Duplicate:          Given a question that is not clear at first, which satisfies the criterion for being "not a real question":      "It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot   be reasonably answered in its current form."   should that question be closed immediately, or should the OP get a chance to improve the quality of his question.  My modus operandi is this: When I encounter a question which is "not a real question", I respond via a comment - I might ask one or more counter-questions (about the issue), I might comment that I don't understand the question. So, I let the OP know that his question should be improved. I then give the OP say 15 minutes to respond (and in most cases the OP does respond). However, if the OP doesn't respond, then I consider voting for "not a real question".  Is this how SO should work?   I have witnessed in the past several questions for which I saw potential, being closed immediately, and I wonder if that is appropriate.   Edit: Of course, questions that are duplicates should be closed immediately, and off-topic questions should also be moved / closed immediately. In this question I am specifically referring to those questions which "have potential" (which could be corrected / improved).. I am a physics Master's student.  I have good grades, with CGPA above 9(/10)(However, all courses in my university are graded on a curve so the actual marks are significantly lower than 90%). This has been my marks throughout my undergraduate and graduate courses and I was happy because this was above average. Also, my summer projects in UG were usually computational and any difficulty I had in theoretical aspects I attributed it to my inexperience in advanced Physics.   However, recently I have started to work on pure theoretical project and while reading for the project I realized that I consistently miss some details from each topic. I understand the general idea, can re-derive most of the equations(with some effort) however when I discuss things with my professor or when I read further topics I realize that I have missed certain key-details. This is exactly similar to the case of me missing a few key questions in my exams and getting that 9 grade point instead of 10(or at-least I think so). I was not worried about this before but now I realize that there is some flaw in the way I study (but I do not know what).   Since I want to apply for Physics PhD I realized that I will need to have solid concepts and it would be best to correct my mistakes but I do not know how or even what could be the reason for my imperfect understanding.  Any direct suggestion would help or even certain general guidelines on what I can do.    Things I've tried recently -   1) I've started to written down almost everything I read. This is slightly laborious but is certainly helping. It also helps me to gloss over the things I read previously when I come back the next day.  2) I completely avoid smartphone when I'm library/study room so that I won't get distracted. Not sure if it helps me solve the above problem but certainly helps me study better in general.  3) I've tried to read the topics from several sources. The books I am reading is somewhat like a collection of research papers and hence does not have a exercises. So I though reading from various sources might help get better ideas but it's not really helping because most other sources are too high level as an introductory text. But this will probably help me in cases where it's practical to do this.  4) Somewhat similar to point (1)- I am trying reread, whenever I can, what I've done until that point. But not sure how much this will help me in filling the gaps. Clerical mistake in UK visa application: should I make a pen-and-ink correction or electronically edit the PDF? I've gone through all similar questions but I believe my specific question doesn't have an answer yet.  I've applied for a Standard Visitor visa. After I completed the application, made an appointment and paid the fee, I noticed that the way I spelled my name on the application differs from how it is spelled in the passport by 1 letter (this is partially because of myself being an idiot, but mainly because my new passport has an incorrect transliteration of my name, whereas my old passport and any other document in my life has the correct one).  So here are the options I see:   Print the application and make a pen-and-ink correction with a black ballpoint pen by crossing the printed name/letter and writing the correct one - as answers to other similar questions suggests. Edit the PDF electronically and print it so that there are no visible corrections. However, as the form is saved at their end, there will be a discrepance between the printed form and saved form with no visible signs of correction.   Which way has better chance for me to have my application accepted?  Also (probably doesn't matter much but still): if it's the pen-and-ink correction, is it better to cross-out the whole name or only the wrong letter? How are virtual functions and vtable implemented? We all know what virtual functions are in C++, but how are they implemented at a deep level?  Can the vtable be modified or even directly accessed at runtime?  Does the vtable exist for all classes, or only those that have at least one virtual function?   Do abstract classes simply have a NULL for the function pointer of at least one entry?  Does having a single virtual function slow down the whole class? Or only the call to the function that is virtual?  And does the speed get affected if the virtual function is actually overwritten or not, or does this have no effect so long as it is virtual. How to load and parse SVG documents Relation Between Bayesian Estimation and Maximum a posteriori estimation Is maximum a posteriori estimation some kind of Bayesian Estimation?   If yes, can you point out other Bayesian estimators?  Edit:  So I've come to know the following (don't know if they are correct):  MAP finds the mode of the posterior, and Bayesian Estimator finds the distribution of that posterior with respect to the estimating parameters. And in order for Bayesian Estimator to find the optimal parameters, some particular risk function (like Mean Squared Error, 0/1 error etc.) must be defined.  So it seems these two estimators have nothing in common except they both incorporate prior into their estimation. Or is it possible that MAP is some special case of Bayesian Estimator with some particular risk function. A Terms of Service update restricting companies that scrape your profile information without your permission Which objects can I use in a finalizer method? Perturbation property of Orthonormal basis for Hilbert space Optimizer not choosing index union plan Why is the following query slow?  select count(*)   from [dbo].[mt_dispatch_link]     , [dbo].[_mt_dispatch] [_mt_dispatch]  where   (mt_dispatch_link.contract_id_1 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_1 = _mt_dispatch.dispatch_id)     or   (mt_dispatch_link.contract_id_2 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_2 = _mt_dispatch.dispatch_id)     It takes over 10 minutes, and then I tend to stop it at that point. My question is more about how to make sense of the query plan.  Looking at the query plan I can see that the bottom clustered index scan is returning about 250000 records, but the cost is 0% and it is being put into a temporary table.  The top index scan is about 25000 records.  But the cost of 95% comes from the nested join. What conclusions should I draw from this?  The above query plan shows two index scans, does that mean it is doing 25000 + 250000 index scans, or does it mean that it is doing 25000 * 250000 index scans?  If I change the query to this (adding FORCESEEK):  select count(*)   from [dbo].[mt_dispatch_link]     , [dbo].[_mt_dispatch] [_mt_dispatch]       WITH (FORCESEEK)  where   (mt_dispatch_link.contract_id_1 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_1 = _mt_dispatch.dispatch_id)     or   (mt_dispatch_link.contract_id_2 = _mt_dispatch.contract_id       and mt_dispatch_link.dispatch_id_2 = _mt_dispatch.dispatch_id)   I end up with a much better plan and the query runs instantly:    I ran update statistics on both tables. Didn't fix it unfortunately. The table design is not very good, so I think SQL Server doesn't really understand and is thus coming up with a poor query plan. Some more info about the table design at .  Why is the query optimiser not coming up with the optimum plan? apt-get remove with wildcard removed way more than expected. why? I work behind an really annoying firewall, and I just want the net admin to add all the SE websites to the whitelist. Right now I've lost access to Stack Overflow's authentication, but not Meta's... so I have to come here before I log in there.  It's driving me nuts. Basically I just want to add an exclusion rule for all SE domains; not only the website domains, but also the content domains such as gravatar.com, quantserve.com, the domain that holds static content, etc... Calculate mean of ordinal variable I've read in a number of places that calculating the mean of an ordinal variable is inappropriate. I'm trying to get an intuition for why it might be inappropriate. I think it is because, in general, an ordinal variable is not normally distributed and so calculating the mean will give an inaccurate representation. Could somebody give more detailed reasoning for why calculating the mean of an ordinal variable might be inappropriate? How can I approach implementing the following in Drupal 7?  What I need to do is create a module which defines a new fieldable entity, called 'Company'. I have a list of, let's say, 20 fields that need to be filled out by each Company instance. These questions are predefined and some may contain custom validation.  At the moment, I'm at the point when I can add new fields to the Company entity. This works fine at the moment. My issue is that I need all these fields to be there as soon the module is installed, so adding them via the interface isn't an option.  I was wondering how can I approach this? I'd assume it comes down being able to do what can be done using the 'Manage Fields' UI programmatically. Google Spreadsheets Enter/Return Key Behavior In Microsoft Excel, the default behavior of pressing the Enter (return) key is this:     If you are in a cell, and tab over as   you input data, at the end of the   series when you click Enter, the focus   will go to the cell directly under the   cell that you began the series of   tabs.      For example, if you are in cell A1,   tab over to C1, and then click Enter,   the focus will go to cell A2.   Is there any way to get this behavior in Google Spreadsheets?