General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies


ADVERTISEMENT

General :: Big Cpu Usage But Top Shows No Heavy Use Process

May 6, 2011

I have been running to a strange problem. For a few days, a few times a day something seems to take over my machine. Suddenly I can't type, or the key shows up about 5 seconds are being pressed, music players halt, etc. In anticipation, I had top and htop running. Sure enough, when this business begins htop reports all 8 cores firing at near 100% for a few minutes. However, top is telling me nothing about who is too blame. The cup%sy on top shows heavy usage, but the top processes are nothing remarkable, mostly just top and htop and conky, all running at around 1 or 2% on average. I am a bit puzzled as to why I can't see the cpu hog so that I figure out what is going on. My question then: Are there some processes (in kernel space?) that don't show up in top, yet which could be hogging the cpu?

View 3 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: How To Run The Process On Multiple Core

Oct 26, 2009

How can we run the linux process like tar on multiple core? For example if we want to build the kernel we can use -j4 to distribute process of 4 different core. Is it possible to run long time consuming process on mulitple core?

View 1 Replies View Related

General :: Regarding Fork() Multiple Process?

Aug 2, 2011

trying to fork multiple child but the program does not go as i want...

My code :

Code:

#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

[code].....

View 14 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Renaming Multiple Files In Batch Process

Feb 21, 2010

I have some random files in a folder. I want to rename all of the files in a batch process. I have a text file that contains the Currentname of all the files in the folder, as well as a text file with all of the Newname of files in the folder. I want to replace Currentnames with Newnames.

For example, here are the names of the files in the folder:
1.mp4
2.mp4
3.mp4

I have a text file with the Currentname of all the files in the folder:
1.mp4
2.mp4
3.mp4

I have a text file with the proper Newname of the file:
a.mp4
b.mp4
c.mp4

I want to rename Currentname with Newname in the folder. So when I go to the folder the Newname of the files are:
a.mp4
b.mp4
c.mp4

View 14 Replies View Related

General :: Ran New Process After Sungrid Process Finished?

Mar 23, 2010

I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.

View 9 Replies View Related

General :: Save The Process And Log Out Then Log In And Continue The Process?

Nov 16, 2010

I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.

View 5 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 Replies View Related

General :: Create BASH Script To Process Multiple Inputs On Read

May 26, 2010

First post from a very new Linux user....I am trying to create a BASH script that will allow user to provide multiple directory names, Checks if the directory exists and if not create the directory.

I am using the following code:

Which works fine as long as the user enters a single directory name. How can I modify this so it will process all directory names user enters on the read response?

View 5 Replies View Related

Ubuntu :: VLC Ends Log Shows Kill Process?

Feb 9, 2011

My swag is that my VLC has a memory leak and that is why itkeeps dying on my system while playing audio .m3u Playlists of flac filesVLC 1.1.4 Jan 25 2011, ubuntu 10.10, Dell Lattitude laptop D600This is what I see in the syslog

Feb 9 09:24:12 ubugj-DellD600 kernel: [ 4995.881387] Out of memory: kill process 2353 (vlc) score 239282 or a child
Feb 9 09:24:12 ubugj-DellD600 kernel: [ 4995.881401] Killed process 2353 (vlc)

[code]...

View 3 Replies View Related

General :: Download Scheduler Program Code Which Creates Multiple Threads Of The Downloading Process?

Apr 30, 2010

I have created a simple download schedular with source-code give below :

---------------------record_strokes.sh-------------------
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile

[code]....

View 1 Replies View Related

Ubuntu :: Process Without Name Or Description Shows On System Monitor

Oct 4, 2010

there's this process on my system monitor that opens and closes by itself it does not have a description or a name and makes my hard drive spin like hell

View 1 Replies View Related

General :: Killing Parent Process Without Killing Child Process (Linux C Programming)?

Mar 10, 2011

I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]....

View 1 Replies View Related

Programming :: Displaying Process Id In Shell Script But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash

result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];

[code]...

View 4 Replies View Related

Programming :: Difference Between Init.rc Process And Normal Process?

Mar 31, 2011

Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?

View 1 Replies View Related

Programming ::get The PID Of The Process Giving Kill Signal To A Process?

Nov 26, 2008

I tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out

View 2 Replies View Related

Ubuntu :: CPU 100% On Boot / Multiple Instances Of Same Process

Jul 30, 2010

I tried the google and browsing the known bugs in the sticky before posting this thread.On boot the machine is pegged at 100%. It is a dual-core with 4GB of ram and is running 10.04, 64bit. Also, as time goes on it eats up all the ram till theres maybe 32mb free. What happens is there are multiple 4-10+ identical processes running. seem to be gnome related.The machine sits idle on my floor and runs samba and apache/mysql/gallery for my test website that no on but myself visits.

View 5 Replies View Related

Ubuntu :: Multiple Copies Of 'lt-httpd' Process

May 9, 2011

I recently inherited a server that I'm now looking after, and when browsing the running processes I came across a number of processes labelled:"/usr/local/apache-2.2.6/bin/.libs/lt-httpd -k start"

At any one time there are between 10 and 15 of them running.Googling the issue has been surprisingly unhelpful... can anybody even tell me what this process is, much less what sort of issue might result in multiple running copies? I'm running Debian Etch (release 4.0).

View 1 Replies View Related

Networking :: Creates Multiple Threads Of The Downloading Process?

Apr 30, 2010

I have created a simple download schedular with source-code give below :

---------------------record_strokes.sh-------------------
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile

[code]....

So, this is a simple download scheduler program code. Which creates multiple threads of the downloading process - wget (i could also have used 'curl' instead 'wget').Can you debug this code?

View 1 Replies View Related

Programming :: Application Process Starts Multiple Times?

Jul 15, 2011

I'm porting C++ application from ARM to MIPS platform. It works now, but I see some strange timing problems. I've seen now that My app process is called multiply time. Here is "top" output:

Mem: 24592K used, 102084K free, 0K shrd, 0K buff, 16864K cached
CPU: 0% usr 99% sys 0% nice 0% idle 0% io 0% irq 0% softirq
Load average: 4.02 2.17 0.95
PID PPID USER STAT VSZ %MEM %CPU COMMAND
1888 1875 admin R 12096 10% 98% ./my_app.exe
code....

I don't see something like this when I compile it for x86, nor ARM.On MIPS I use uClibc instead of glibc.

View 6 Replies View Related

General :: Get Process Name By Process Id?

Sep 17, 2010

I need a command to get the process name by process id.

View 2 Replies View Related

Ubuntu :: Gimp Batch Process Multiple Files Index To B&W?

Apr 15, 2010

I scanned hundreds of pages in gray scale and would like to batch process them to B&W. You can do this using the gimp GUI. what it does is get rid of all the gray shading from reflections off the paper when scanned. So you get crisp white backgrounds with black text and diagrams. I would like to simply do this to the entire group directory at one time as it would be quite a lot of effort to open them and do them one by one.

View 3 Replies View Related

Programming :: Showing Process Id But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh

Code:
#!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')

[code]...

View 14 Replies View Related

Fedora Installation :: F13 On HP ML350 G6 - Installation Process Get The Screen That Shows The Files Copied - Freezes ?

Sep 30, 2010

I'm trying to install on HP ML 350 F13 G6 with standard array controller and 3 drives in raid 5. Well, when the installation process get the screen that shows the files copied (all copied...) , it freezes and does not advance more. Perhaps groped a firmware update? Other distributions are installed correctly.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved