Tag Info

New answers tagged


It doesn't work because time is a shell keyword. There are external time binaries, but you don't appear to have one installed. This will likely work: nohup bash -c 'time sleep 2'


Possibly not a CPU bottleneck but slow flash media access time? Found this thread below on the TI forums talking about flash throughput being limited to 0.6 MB/sec. OMAP-L138 EVM SPI Flash read performance and boot time For a test (as Janus suggested), see if you can compress a kernel image and/or the initramfs with gzip -0 if possible. Or might be simpler ...


If you have systemtap installed, which is likely the case on a CentOS system, it's easy to trace any system call system-wide. # cat clock.stp probe nd_syscall.stime, nd_syscall.settimeofday, nd_syscall.clock_settime { printf("process %d (%s) called %s(%s) at %d\n", pid(), execname(), name, argstr, gettimeofday_us()); } # stap clock.stp To ...


For this answer, I'll assume that there may be several elements working hard to set your time straight. Since I don't really want to wild-guess about which one is working against you, I'll try and give you an answer which should help you find it yourself instead. On a UNIX system, the clock can typically be set using the stime system call. As things ...


a workaround by inserting sed -i '/1970-1/d' /var/lib/logrotate.status in the logrotate script /etc/cron.daily/logrotate


Your happy hacky solution is something along these lines (as root): export NOW=$(date); watch -n1 date --set=\"$NOW\" But it's probably not a grand idea :)


There'a a very neat tool called warp that makes it possible to adjust how the time for a given process is to be adjusted in arbitrary ways - e.g. shifted and even scaled! - while the global system time is unaffected. The time adjustment formula is time = time + warp + (time - base) * (factor - 1). Details are described on the warp manpage. The method it uses ...


I don't think you can pause system time. Lots of programs wouldn't like it anyway, because they generally expect time to go forward. If you paused the time, then any program going into sleep would never wake up. I don't understand exactly what you're trying to do, but I suspect that faketime would do what you're after. It lets you run programs with a fake ...

Top 50 recent answers are included