Questions tagged [process]

For questions pertaining to CPU processes.

Filter by
Sorted by
Tagged with
1
vote
1answer
584 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 ...
0
votes
1answer
119 views

How to restart/release rfcomm for bluetooth communication?

I am trying to connect raspberry pi to my galaxy note to use it for serial communication. I have somewhat succeeded at that. First I paired it and trusted through bluetoothctl. Then I run sudo rfcomm ...
0
votes
1answer
48 views

Plotting CPU and Ram utilization

I want to plot the CPU and memory utilisation of an Apache server hosted in Raspberry Pi 3B+ with Raspbian Stretch in it. For that I have followed the procedure mentioned here. The instructions work ...
5
votes
2answers
385 views

Can the Raspberry Pi 4 better distribute Python scripts to all four cores?

This relates to previous questions regarding the GIL (Global Interpreter Lock) for Python on the Raspberry Pi. My question has to do with the new processor on the Pi 4 - does it still have the same ...
2
votes
4answers
2k views

Why is cron needed for Raspbian?

I was looking for some sort of process that is lagging my device. While searching I found that cron is running. If I understand this correctly then cron is needed to run serials of command at a ...
6
votes
2answers
11k 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
0answers
20 views

How to prevent programs like Jenkins from stopping/sleeping/waiting

I know this is probably a silly question, but I'm trying to get Jenkins running on my pi for a project. I've installed jenkins, changed the port to 9080 and port forwarded so that I can view it ...
1
vote
0answers
17 views

Why the hourglass icon is showing?

After an update of with 'rpi-update' command, while I am opening this menu ,I am noticing a sand-glass icon with the pointer. This is not a very big problem. But I am confused ,what is happening?? ...
1
vote
0answers
36 views

Is it possible to take a picture with the top half of a camera feed, then the bottom half?

Is it possible to take a picture with the top half of a camera feed, then the bottom half? and would it require half as much processing power?
1
vote
1answer
82 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
389 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
2answers
2k 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
1answer
383 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
178 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
828 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 ...
0
votes
1answer
347 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 '...
12
votes
4answers
7k 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
88 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
2answers
258 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
149 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
107 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. ...