I started a 'dd copy�ng' of one disk drive to another. Both disks are hooked to a remote machine and I initiated the dd command by ssh_ing into it.I have to shut down the box from which i initiated the ssh session.Is there any way I can keep monitoring the status (shell script)of the copy process, ie know when the dd command terminates and whether it terminated successfully .I could then ssh into the macine from another box and still know the status.
I am having some problems with rsync,I put the rsync command in a shell script, and I am calling the shell from a 3rd server, but it stops midway through.s anyone else experienced these problems?
I started a process in a PuTTY session that I want to survive after I've disconnected. I issued a `disown` on the process (forgot to add the -h option). I've attached a small summary of the commands issued within the PuTTY session as well as an excerpt from the pstree (essentially switched user contexts twice, issued command, suspended program, disown'ed, resumed program
Command summary
Code: > su - > ... > su -l <useraccount> > ./myprogram
gkrellm process starts automatically without me indicate. In auto-run system preferences kde is not configured to start automatically, set at the time but removed it and just beginning the process continues in the background
Consider I am logged on a machine via SSH.I execute a process having "&" at the end from a shell - I run the process in background.Then I log off from the machine.I am just wondering if it is possible to bring that process to front after I log onto the machine again?I would like to check the output of my running process.Or is there any different approach to have a process running in background and to be able to view its output (i.e. printf)
Centos 5.4 64bitWould like to know when a particular process was started.1.Quote:ll -d /proc/4014/dr-xr-xr-x 5 mysql mysql 0 Nov 28 07:34 /proc/4014/2.Quote:ps -o pid,lstart -p 4014 PIDSTARTED 4014 Tue Nov 17 23:10:13 20091) Which one should I consider?2) why do both have such a difference?
I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root.Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process?
This causes Tomcat to be run as myuser, which is expected. However after issuing the reboot command the system starts up and root is now the owner of this process. How can I force the process to be started off as myuser on reboot?
We have a Oracle 11.2 database running on Red Hat 5.5. The database have a scheduled job to fetch some files from another server using ftp, and herein lies the problem.he job runs a pl/sql that runs the function in an (by us compiled) external libraryThe ftp-functionality itself is done by using libncftp and it's API's.The process starts correctly, but then trying to login to the actual ftp host, ncftp only reports "Unknown username/password" (which is not the case).I have the exact same code in an executable and when run from an interactive shell, it works fine.So the only thing I can come up with, is there are differences when the process is started by Oracle, rather then being ordinary" process.And I am stuck.If there are any environment variables, paths etc missing when running the extproc-process, how do I find out which?Because the real problem is NOT wrong user or password.
I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx
I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.
Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!
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
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.
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.
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.
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
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?
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...?
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
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.
I recently installed Ubuntu and I came across Conky.I was fascinated with this software and installed it using terminal codes. At first it rand with the default config file loaded. then i PC shutdown due to a power failure. now conky does not start and after searching over the net i found out that my conky config file is missing. I pasted the conky config fiel yet to no avail.
It gives me this error while running it in Terminal
Code: Conky: /home/shazzy/.conkyrc: 30: no such configuration: 'on_bottom' Conky: /home/shazzy/.conkyrc: 63: no such configuration: 'border_margin' Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
[Code]....
Here's the link to the site. I'm not sure how do i set this up as my conky config.
My problem is the following : I have a certain Internet connection for a certain network. So many people are sharing this network. What i need is a software on Linux (preferably Ubuntu) that will enable me to monitor the bandwidth usage PER IP Like : ip x.x.x.x using 20Kb upload 200Kb download , connected to this site for example.. The main goal is to know from which IP is the high Upload traffic or download traffic is coming , because i have a certain quota and I'm always getting over the quota (in upload and download) and end up paying extra for the ISP , so i would need to know who is using lots of upload/download bandwidth .
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
I've got a Macbook Air and a verified 9.10 liveCD in the external superdrive. I can successfully boot to the CD, but when I choose "try ubuntu without installing", all I get is a blinking cursor in the upper-left of the screen forever. Any idea why it won't start? CD works fine on my Dell, that's why I say it's verified.