I want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.
How can I get the app to load, terminate immediately and give me the startup time?
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
how can I measure time of N processes and N threads and then compare this time to prove that threads are faster than processes. understanding C code, or also for some good way to measure time of N processes and N threads for C.
I want to know how much CPU time spent on CODE_BLOCK. Since the process executing CODE_BLOCK may be preempted during execution, this CPU time may not be equal to the (wall-clock) time elapsed from the beginning of CODE_BLOCK to the end of it.
I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output?I tried looking around /proc, but didn't find anything of relevance. There's also a line like this on my dmesg: [ 0.673492] rtc_cmos rtc_cmos: setting system clock to 2011-03-14 14:26:52 UTC (1300112812), but I'm wondering if this method is distribution and kernel version agnostic.
I just wanted to glean some sort of a general average and compare my system with everyones. post your computers:boot time of course hardware specifications (processor, HDD, RAM, etc.) distribution if it's a laptop or desktop (or a netbook ) Mine is 43 seconds, running Ubuntu 9.10 on a netbook. My hardware specs: Intel Atom 1.6 GHz 320 GB 7200 rpm HDD 2 GB RAM
I have one Linux server equipped with WiFi . I want to measure data rate speed on this connection . Is there any utility on my Linux that can measure data speed on one specific Ethernet connection when transferring large size files through WiFi connection?
I've experienced this problem with a distribution upgrade and then subsequently with a clean install of Ubuntu 10.04. Basically half the time that I boot up Ubuntu, it completely locks up with the following messages on screen (Sorry, I had to take a picture since it was locked up)However, when it does boot correctly, it pauses for just a moment after displaying the above text, and then displays a few additional lines, after which it goes on to boot 'normally'.
The next lines show 'plymouth' and 'ureadahead' processes being killed. If these lines show up the boot continues normally, otherwise the boot process hangs at the first picture.It is pretty frustrating to have to perform a hard restart during nearly every other boot, and the hangs seem almost completely random. Sometimes, it happens a couple times in a row, sometimes I can boot normally several times in a row. It also doesn't seem to be related to a cold start, versus a restart.
I'm working on a homeserver which is backupping all the (windows) pc's using cron and mount+rscync every 15 minutes. But between 23:00 PM and 8:00AM or till someone says START I want the PC to Hibernate. Automatically. How can I get this done?
We have seen with the release of Fedora 15, systemd is the new start-up services, which will replace SysVinit and Upstart on most Linux distributions. Here are some tips based on the order systemd-analyze, for analyzing the startup time of your OS.On commence avec l'option time, qui affiche le temps total de d�marrage de votre syst�me : (One starts with l' option time, which posts the total time of starting of your system: )
Code: $ systemd-analyze time Startup finished in 6385ms (kernel) + 3228ms (initrd) + 49335ms (userspace) = 58949ms
I was wondering if there is any tool or program that stores a copy of frequently used files eg. Binarys, program library's etc. in memory so when they are requested by the OS they load instantly. I'm asking because I have a system with plenty of ram but very slow hard disks. Having programs like opera and java/eclipse load from ram would greatly speed up their start time. Ideally they would be loaded into ram in the background after I log in. Of course all writes made to these files would have to be made to the files on disk for obvious reasons.I don't want the entire OS in ram because it will not fit, just frequently accessed files.
I'm running Ubuntu 10.10 in a computer with a 7200rpm HD, 8Gb Ram, and a Core i7, and the time it takes to load the desktop is insane. There are threads that mention the problem of gnome looking for nonexistent floppy drives and to solve the problem by disabling that in the BIOS (option I don't have). Anyway, besides that problem, by running at startup a gnome-terminal with the iotop command, I noticed that two processes have a huge i/o load on the system: google desktop and ubuntu one. I would like those programs to run as part of the startup process, but be launched after several seconds (to allow the rest of the programs to load). Is there any way I can achieve this? I think there should be a way modifying the commands under startup application, but I cannot find anything that works.
I'm having a problem with a server I just got. The first thing I did when I got it was to format the drive and install ubuntu server, but on booting up I got a black screen and my monitor (samsung syncmaster914v) displayed a bouncing notification with the text "not optimum mode recommended mode: 1280 x 1024 60hz". However at one by using a combination of plugging in the monitor after booting, and pressing random keys on the keyboard I was albe to boot into the server, and was able to access the monitor meu, which told me it was running at 640x480, and 60 hertz. having access to the console I stupidly tried changing the resolution and then rebooted, getting the same black screen.
I got a message today telling me that there where 78 updates available. One of them was Kernel 126.96.36.199-213.fc11.i586 and when I installed all the updates and rebooted, my startup time was very slow. And when I checked the boot.log I noticed this:
Me and my mom are sharing a laptop.My mom likes to use Google Chrome. I like to use Opera. Is there any way I can tell the system to start the Opera application , but then instantly minimize it to the tray bar? I want that because : if my mom starts the computer and I'm not around , I still want all the tabs in my Opera to load , without my mom knowing anything about my "malefic" plan ...
According to the manual of "sar" in Unix systems (computerhope.com/unix/usar.htm), it allows to determine the number of accesses to system buffers (lread and lwrite). Thus, we can easily calculate the cache hit ratio of I/Os via the system buffer.
However, "sar" in Linux only measures I/Os to physical devices (as bread and bwrite), instead of those to the system buffer (linux.die.net/man/1/sar)
I need to measure cache hit ratios for I/Os on Linux system buffer, and was wondering if there's a way to use "sar" or any other similar tools to determine such ratios.