Software :: Full Detaching Process Inside Script
Mar 5, 2011
I want to change Xfce layout on-the-fly :I created an install script.If i launch it, it does not work.If i execute it manually, it works like a charm.I searched for days, but i now give up TT.Does someone has an idea about how to "isolate" this script from it's dependency ?
View 4 Replies
ADVERTISEMENT
Jun 6, 2010
If I run a graphical(or any process) process like music player "exaile" from terminal ,Is there a way without using "nohup" or "screen"(terminal multiplexer) to detach "exaile " from the terminal when ran without appending "&" on to exaile(like "exaile &"). If I press CTRL-Z to stop ,some programs errs out , "watch dog time out" and "aborts" the process.
The problem is bg,disown or jobs etc does not list the process if I ran from another terminal. I want to know ways by Which I can detach a graphical/non-graphical process from a terminal as well as to re-attach to the terminal.
View 2 Replies
View Related
Dec 19, 2009
I have recovered a whole dying hard drive using the command ddrescue, only 8192 byte out of 4.3 gigabyte are unreadable.I have used the command (gnu) ddrescue /dev/sdb DiskImage.img..But unfortunatly this way i have a full-disk image that is not mountable... ( or at least i don't know how to mount it ), and the disk doesn't seem to work anymore that good... ( crack crack crack... ).To see the partitions inside the "big" file, i have used fdisk -l, and damn there is only one partition, but how can i mount the content???
I know i could use photorec foremost or similar software, but since the disc image is almost perfect, i would be able to preserve file names, paths and dates...The last idea would be to mount it as a full-drive image with Virtualbox... But transferring data would be quite annoying.
View 10 Replies
View Related
Jan 9, 2010
Using Ubuntu 9.10 I open up Firefox and run a video from ......com web page. How can I monitor if flash player is running using terminal ps (process) command? What is the flash player process name?
View 8 Replies
View Related
Oct 5, 2010
The first call to "somefunction" works as expected. The function prints "endfunction" and a process in background sleeps 30 seconds. In the second call I thought it should work in the same way, but the script sleeps 30 seconds before it prints "endfunction".Does someone know the reason of this behavior? Is there another way to do a command substitution of a function that has a background process without have to waiting for that process?
View 2 Replies
View Related
May 17, 2011
I have a PDSI TS230 server running redhat. I inadvertantly unplugged the mouse cable from the back. When I re insert it, the mouse not longer works. It looks like the system does not detect it anymore. Does anyone know how I can get the system to notice the mouse without rebooting the entire system?
View 6 Replies
View Related
Jul 11, 2011
I have a requirement where I want to extract the full name of the process running in my box. I tired various options of ps. The wide option gave me the full command but that contains command, the interpreter and also the arguments passed.
Code:
XX XX XX XX XX XX /usr/bin/sh /path/to/exe/myexe.sh arg1 arg2 arg3.
Is there any way from ps or any other command I can extract the full name of the command
Desired Output :
Code:
/path/to/exe/myexe.sh or myexe.sh
View 12 Replies
View Related
Oct 20, 2009
I am trying to install Fedora 11 from a DVD. Not the live DVD, the full DVD and it hangs constantly. I had to wait 10 minutes for it to Find Storage Devices, 10 minutes to input a root password and now I am waiting for the drive shares to be setup. It's already been 10 minutes. I verified the disk and everything was fine. Why is this taking so long?
View 4 Replies
View Related
Mar 18, 2011
I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.
View 1 Replies
View Related
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
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
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
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
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
Jan 25, 2011
This obnoxious bar has just appeared in Smplayer at the top of the screen. It stays there even when I go full screen. Now full screen isn't full screen and there are black edges on both sides of the screen. I have not be able to figure out how to hide it. I do not need or want this onscreen display. How can I configure Smplayer to make this go away? How can I get my 16:9 full screen aspect ratio back? I have done nothing to mplayer or smplayer as far as editing any or changing any configuration files. I tried several videos and it displays on all of them. It was not there last time I used Smplayer.
View 9 Replies
View Related
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
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
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
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
View Related
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
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
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
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
Oct 20, 2010
My server is showing as 95% full, but when I check any folders underneath and files, they add up to about only a few percentage of the space.
- /tmp - 2GB LUN
- currently using 1.8GB of the 2GB
- files in the directory add up to only 50MB (I've checked for hidden files as well.. 'ls -lah'
Anyway else of telling how /tmp can have so much usage when there appears there is hardly anything in it?
What will happen to the server if /tmp is full?
View 2 Replies
View Related
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
May 2, 2010
In Ubuntu 9.04 and 9.10, KTorrent worked just fine for me. However, this time whenever I launch it, it is for some reason full screen and I have no idea how to get out of full screen.it's of the entire screen when KTorrent is in focus (so no panels or other things were cut out of the image).URL...
View 4 Replies
View Related
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
Dec 7, 2009
Consider the following code:
Code:
int main()
{
int i=0;
pid_t pid;
for(i=0;i<2;i++)
[code]....
I get the following output:
Parent: chid_pid=4356 i=0 parent's pid=4355
This is child 4356 i=0
This is child 4357 i=1
[code]....
I can observe instead of two children(as I expect) processes there are three. This is because child process 4356 creates its own child. Why all the messages of the type "This is child X i=Y" are concentrated one under another? How exactly fork works? Is affected by the fact that I have a dual-core processor?
View 3 Replies
View Related
May 17, 2011
I have installed dogtag PKI in my redhat machine using EPEL repo. I am only using CA agent right now. I have generated certificates for my Redhat Directory Server using this CA instance. Now by mistake, Admin Certificate which was stored in my web browser for Certificate based login inside CA Agent has been deleted. Now i can't go inside CA Agent. Is there a way i can go inside CA Agent?
View 2 Replies
View Related
Jun 22, 2010
I am not able to access Amazon's Look Inside - the facility to inspect a few pages of books. (I have never been able to do this.) I have tried both at work (via a direct connection to a high-speed backbone) and at home (via Sky ISP). I can see the cover of the book but nothing beyond that - it says the page has expired or is invalid. But using Firefox on WinXP, I can access Look Inside happily both at home and at work.
Does anyone else have this problem with Ubuntu? Amazon's technical people just sent me a load of flannel blaming my ISP, my software, etc. They say no one else has raised this.
If somebody could try it and let me know, I'd be grateful for the results. Am I missing a plug-in?
Lucid + Firefox 3.6.3 on both sites
View 1 Replies
View Related