Questions tagged [process]
For questions pertaining to CPU processes.
26
questions
2
votes
3
answers
70
views
How can I bring a proc started on a different shell in the background to my foreground and then put it back to background
Pfiew that was a long question...
So, during bootup, I am starting on the background a python script (it gets called in the launcher).
sh /home/pi/launcher.sh&
When I ssh to the rpi I can see the ...
0
votes
1
answer
96
views
Does there exist a list of all required processes, for a raspberry pi running raspbian, to continue proper operation? [closed]
I am using the htop command to get a list of all processes running on my raspberry pi 4 and I was curious if there exists a list of all processes that are required for the pi to continue running. I ...
0
votes
1
answer
238
views
Trying to kill all processes, but new processes keep spawning
I'm trying to rename the default pi username after getting a new raspberry pi 4. I am completely new to Linux, so my knowledge of the matter is small. From what I've discovered, one way to rename pi ...
0
votes
1
answer
49
views
Process in real time
I am building a Pov Display using Raspberry pi 4 and a code written in Go. The raspberry pi has a sensor (btn) to know when it displays the code. The problem is my raspberry won't execute the code at ...
0
votes
2
answers
894
views
nobody user running demon
My raspberry pi has been hacked and as result my samba files have been encrypted by the user nobody. There is a thy demon that keep running in my pi by the user nobody.
I have been searching ...
0
votes
1
answer
702
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 ...
2
votes
5
answers
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 ...
0
votes
1
answer
3k
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
0
answers
26
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
0
answers
58
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??
...
5
votes
2
answers
841
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 ...
1
vote
0
answers
42
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
1
answer
103
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
1
answer
598
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
2
answers
3k
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 ...
1
vote
1
answer
875
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 ...
9
votes
3
answers
16k
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
1
answer
532
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
0
answers
194
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
2
answers
1k
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 ...
13
votes
4
answers
8k
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
2
answers
96
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
1
answer
501
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
2
answers
277
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
1
answer
217
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
2
answers
124
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.
...