Skip to content
Advertisement

Tag: process

Scripting to see if specific process is running as root [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 6 years ago. Improve this question I am currently trying to right a shell script which will

Improve mysql Speed?

I have mysql/php script running on my linux machine. Its basically migrating files content to MySql table. there are about 4400,000 Files, Account files each file`s content is places in a table in one row. It have been 14 hours and so far it have only done 300,000 Accounts. At first it was very fast and was doing about 1000

how to identify source of frequent process startup

Some months ago I used to play around with Python and Django, finally setting up a Django web service running python manage.py … on a RaspberryPi. Now, I’d like to use the Linux device for other things. Unfortunately, there seems to be a frequent startup of some process (every couple of seconds) that eats up the available processing power. And

Using Fork for Command Line Arguements

I’m trying to execute the command “ls -l” but I’m not exactly sure how to approach it. This is what I’ve tried: However, the command doesn’t seem to work here. It works if I just simply use “ls” but I want to use “ls -l” is there another argument I have to pass to get this to work? Answer First

Read noonnamed pipe in terminal

Hellow. I have very simple C program. I create pipe in program (standard, non-named). Can I read pipe of existing process in terminal (stream with > or cat?). I try it but my command do nothing. Im know tkat i can create named pipe who is very easy for external I/O. I have number of pipe for /proc/number/fd Why I

How to end a process in another linux terminal

Background Info: I’m trying to set up a remote display using a raspberry pi. Currently I’m using fbi (frame buffer image viewer) to display the image. The device is going to be controlled via ssh or web interface – not sure which, but definitely not from the actual device. The Problem is I cant seem to find an easy way

How to kill a process by its pid in linux

I’m new in linux and I’m building a program that receives the name of a process, gets its PID (i have no problem with that part) and then pass the PID to the kill command but its not working. It goes something like this: Can someone tell me why it isn’t killing it ? I know that there are some

Advertisement