Recent content by threesc

  1. T

    how to make process use all cpu time while sleeping (nice -n -20 not high enough priority)

    as an update I've used the timing as described here instead of python: https://stackoverflow.com/questions/16548528/command-to-get-time-in-milliseconds (I wasn't using it before because one of the other linuxes I was working with doesn't support %N in date formatting) it works much better, now...
  2. T

    how to make process use all cpu time while sleeping (nice -n -20 not high enough priority)

    That is just the timing, as I was unable to get ms resolution with shell script I think. I could look more into that, I remember it was possible and didn't work, but I guess raspian should probably have that. I can try either that or just a python script then.
  3. T

    how to make process use all cpu time while sleeping (nice -n -20 not high enough priority)

    Basically I am wanting to run a test where I cut power to something for some time with the time ranging from 100's of ms to a few seconds. The unreliability is not a dealbreaker (as long as my python calls from sh script to get reasonable timing, which I should measure with oscilloscope...
  4. T

    how to make process use all cpu time while sleeping (nice -n -20 not high enough priority)

    dpkg-query: no packages found matching xscreensaver not sure, but I think the screen blanking isn't relevant on lite configuration from that. From google it seems there is similar thing for console blanking I can disable.
  5. T

    how to make process use all cpu time while sleeping (nice -n -20 not high enough priority)

    sorry, should have specified I am running command line only version of raspian (mostly because I didn't want to find a mouse and have no need for gui)
  6. T

    how to make process use all cpu time while sleeping (nice -n -20 not high enough priority)

    Hello, I have been running some tests using embedded linux (specifically raspberry pi) to switch a relay off and back on with specific timing. I have been having trouble with the timing being a bit unreliable and when I time my script there is huge different between the real time and user time...
  7. T

    recovering from echo u > /proc/sysrq-trigger without restarting/rebooting/power cycle

    Is it possible if I run echo u > /proc/sysrq-trigger to get the linux back to the same state it was before without waiting for a restart. My use case is an embedded linux system that needs to deal with sudden (though with short notice because of supercapacitors) loss of power, and possibly...
Top