Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [process]

For questions pertaining to CPU processes.

1
vote
1answer
46 views

raspberry pi zero w process load handling

this is my first project with Raspberry pi. i want to make a Testing chamber for growing micro greens(small plants). What this chamber does is following: 1- weigh the the 4 growing pods with load-...
0
votes
1answer
49 views

System Freezing Up, Bad SD?

I have a Pi 3 B running Raspbian Stretch. Recently, I started experiencing lag logging in with SSH, and sporadically during use. It really became apparent when I tried zipping my 2GB Plex library ...
0
votes
0answers
37 views

Python script (datalogger) produces different data when run from a separate script (button) to when it is run as itself [duplicate]

I've created a datalogger script that continuously records every rise and fall in a square wave signal (connected to pin 26 on a Pi 3B+) to a CSV file. The data recorded in the CSV is either a 0 or 1, ...
0
votes
2answers
352 views

How to properly implement threading within a function toggled by a button [closed]

I need a little help if possible. I'm trying to make a threaded function which will make my LEDs blink randomly as long as the button is pushed. when it is released it should exit the function and ...
0
votes
0answers
27 views

Raspi Python thread, animation and waiting for mic

I'm trying to develop a robot... This robot has: a gui interface (that has some images, text,fonts etc) ; a gtts voice that keeps listen to my mic, and after that , send the text to google, and it ...
0
votes
0answers
176 views

Kernel panic - not syncing:VFS unable to mount fs on unknown block (179,7) [duplicate]

At startup raspberry pi 3B gets the above response
1
vote
1answer
349 views

How to check for alive process in an infinite loop and use LED as status indicator?

Clearly I'm a beginner when it comes to setting up a script. I'm trying to check if a process is alive and running, and if so, switch on an LED. I need help with the following: Check if a process is ...
4
votes
1answer
4k views

Can't delete pi user on Raspbian

I have made a new Raspbian installation. All good. I wanted to delete pi user and make another user with same privileges (lets say gordon). So first I enabled direct ssh access to user root by doing ...
0
votes
1answer
231 views

Kernels running SCHED_FIFO and SCHED_RR scheduling policies respectively for Raspberry Pi 3

I want to create two kernels for the Raspberry Pi 3. One running all the processes with only the SCHED_FIFO policy, the second running the processes with only the SCHED_RR policy. Can somebody help ...
1
vote
0answers
94 views

Setting maximum process pause time - need to read spi data with less time gaps

I am using a raspberry pi to grab data through a SPI port. Attached to the SPI port is a PIC, programmed so that it samples on an A/D at 12.8kHz, and stores the samples in a 256 long buffer. (to cope ...
5
votes
2answers
553 views

How many cores does the Pi 2 model B use by default?

How many cores does the Pi 2 model B use by default when executing a command? The reason I am asking this is my friend told me to use the suffix -j4 when I ran the code sudo make. He told me that it ...
11
votes
4answers
5k views

Can I have 1 processor core just for my program?

I have to time the time difference between high -> low and low -> high signal edge on GPIO pins. I have written simple program that does this. After running it for some time I was quite happy with the ...
-1
votes
2answers
86 views

bash vs. & in startup, is there a difference? [closed]

When I get around to making my internet radio (still waiting for parts), I will want the command line available to startx the GUI to edit the playlist (or whatever) while the radio continues playing ...
0
votes
1answer
231 views

No print output on raspberry IDLE

I've been trying to create a program that split few different section of my main OpenCV program to increase fps. The first thing i ever think of is the Pipe() function from my friend. I've tried this '...
0
votes
2answers
220 views

Raspberry Pi 2 BCM2836 working but new Raspberry Pi 2 BCM2837 stuck on Rainbow Screen

I have an old image from my Raspberry Pi 2 (Jessie Lite) and this works fine on my Raspberry Pi 2 running the BCM2836 processor, however I ordered a new Pi 2 and it seems that they have changed to the ...
1
vote
1answer
119 views

Is there any way to further increase the speed of clk in spi?

At first, i tried to communicate with MCP3008 with raspberry using wiring Pi library and as it communicates through the spi driver, the data retrival of it is quite slow. Then, i opt for the next ...
1
vote
2answers
100 views

First and Last things it does

I'd like to display an LED which comes on as early as possible in the Pi's boot sequence to let me know things are progressing. I'd like to switch it off when the Pi has been appropriately shut down. ...