Questions tagged as 'processo'

3
answers

Isolate processor to run only my program

How can I isolate the processor to run only my program in C? It is more a didactic and academic question passed by my teacher of AI. He asked us to run millions of real-number sum operations, and take the time the processor took to run the...
asked by 14.09.2017 / 02:19
2
answers

How to display the PGID of running processes?

On Linux, I would like to know which command I use to display the PGID of running processes. I saw in an answer here in SOePT that we could kill a process (kill command) using the PGID of the process. But using the command ps I see o...
asked by 19.02.2014 / 18:50
1
answer

How to know what is the PID of a Python script currently running?

I have a certain Python script that I want to know what the current PID is through the script itself. How can I do this? Through this too, can I determine that it runs only once?     
asked by 22.03.2017 / 15:20
2
answers

Get partial name of a process

Is there any way I can get a process that is running by a partial name, like what happens with like in a SQL search? Why I ask this: I have a team viewer custom here for the company. The problem is that if I happen to h...
asked by 07.01.2016 / 20:40
2
answers

Error creating child - Scheduling processes using fork

Write a C / C ++ program called novela.cpp that does the following: The Parent process creates a Son1 process in 10 seconds and a Son2 process in 20 seconds and then runs indefinitely. Well, I developed the code, he creates the father, he...
asked by 22.06.2017 / 01:51
2
answers

How to instantiate objects in shared memory?

I have an application in which there are several modes of parallelization. However, when I am going to parallelize through fork () the barrier is not shared between the processes, is there any difference of Shm in dealing with instantiation via...
asked by 20.11.2018 / 13:33
1
answer

Why is the class attribute unchanged?

I just need to send a command from one process to another, but I wanted to understand why when modifying the variable within a function, it does not appear in another function. from multiprocessing import Process import time ComandoSerial =...
asked by 18.12.2017 / 12:47
2
answers

How to capture information from a 64-bit process that is running?

Well, I need help in capturing information from a running process. I can accomplish this task by accessing mainmodule of 32-bit processes, however, I can not do the same with 64-bit processes. I do not know if the reason is I'm trying to...
asked by 01.07.2016 / 08:02
1
answer

Error opening application with process.start

I have an application that tries to execute with process.start or even directly by cmd of Windows, does not start correctly (the application itself presents an error), but if I go to the folder of it and open the executable, it ope...
asked by 12.04.2016 / 17:33
1
answer

Processes in Python

I am studying the multiprocessing module and in all the examples in the Python documentation There is always a% checking in the examples, I know this checks to see if the file is being executed directly or being imported but has some...
asked by 08.08.2018 / 19:49