Ubuntu Servers :: Run A Terminal Command With Pause And Resume?
May 17, 2011
I need to run a script that I build to build a word list. Essentially what it does is run through a base list and expands that into billions of words. This way I can keep a small dictionary file and a script to expand it into a larger file (about 500 gigs). This script should take anywhere from 12-14 days to run and on my last day the power went out at my house. Is there anyway I can run this again with a fail over system? I know a battery back up is an ideal addition to my home server but if the power is out for an hour it wouldn't have made a difference. Also if I had the ability to pause the script do a reboot and resume it again that would be amazing.
View 5 Replies
ADVERTISEMENT
Sep 4, 2010
Using smplayer from Packman in 11.3 - If I play a video (.avi, mp4...whatever) Use space bar to pause. Press to resume fails, but only if you have watched a fair bit or have moved on in the movie.Interestingly the pause symbol comes off as if play has resumed but it's not actually playing. You can press pause again and it shows it as if pausing again.
Darn, this hard to explain.I switched to VLC and it's fine but I can't seem to get that to pick up where I left off (enqueue).ie; if you have the same experience I'd be interested to know.or you know the setting in vlc to resume a movie where you left off..
View 9 Replies
View Related
Dec 7, 2010
is it possible to pause the downloading from terminal.n how can i resume from same status.
View 3 Replies
View Related
Jan 22, 2010
how to send any pause process into running condition from one terminal to other terminal in linux!
View 1 Replies
View Related
Jan 19, 2011
what i need to do is to be able to place a command to slow down the sequence of commands in an Ubuntu script.
normally, the system will attempt to execute them all as fast as it can, but i need to be able to specify short pauses between commands
anyone know of a useful command to do this?
btw, the "sleep" command i saw somewhere hasn't quite worked in my scripts for some reason.
View 2 Replies
View Related
Apr 4, 2010
I have a task that I need to let run while I'm away from the computer. It's very CPU intensive and I've even had to throttle down my processor to 3GHz to keep it from overheating. I'm using a combination of GNOME Sensors App and CPU Frequency Scaling Monitor to control the overheating problem. I have the sensors app set to alarm and "killall" at 61 Degrees Celsius. The sensors app has an option where you can enter a command that it will run for you. All I need is to know what command to run that can pause this task. So later I can resume it.
I know it can be done. System Monitor has an option to "stop" a task. It also has "continue". This is how I've been doing it while I'm at the computer. So if anyone knows what the commands are that System Monitor uses, that would be a huge help. By the way, I'm using Ubuntu 9.10 with all current updates.
NOTE: For anyone who is about to flame me for having a computer that overheats and wants to tell me that this is the problem I should be after. It only overheats during this process. Not for any games or compiling or rendering or encoding. Nothing else. I have even bought a new heatsink and fan. I have redone the thermal compound on the Processor. My processor usually runs at idle around 36-39 Celcius and under normal load around 47-53 Celsius.
View 3 Replies
View Related
Jun 26, 2010
Im looking for the command to pause or sleep a process by pid.I dont want to use the kill -STOP
View 1 Replies
View Related
Feb 28, 2011
#1 Ubuntu-10.04-x86_64 (its a form of liunx)
#2 OS 64 bit
#3 java 1.6.0_20
#4 java 64 bit
[Code]....
i need it to look like this below, and load the program called "craft".jar
@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%Javajre6injava.exe" -Xms512M -Xmx512M -jar "%~dp0craft.jar"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms512M -Xmx1000M -jar "%~dp0craft.jar"
View 4 Replies
View Related
Mar 10, 2010
I need a hand with a line of terminal commands. I need to be able to search a given .sh file in a given location for a string, and when found, add a "#" to the start of that string and save the file back to it's original location.
View 1 Replies
View Related
Jan 4, 2009
Im running samba on fedora core 7, im abit new to the server part of fedora, i set up samba and it runs well, only issue i have now is resolving permissions( User Rights)i have a shared folder which has alot of files and many subfolders in it, the files and folders in this shared foldr were copied from our old Novell Server through samba, i need to assign permissions to this folder where by a defined usergroup can have full read and write permissions to all the files and folders and sub-folders in the shared folder. i tried doing it in GUI but i realized there were over 1000 subfolders.is there a command i can run in the Terminal to help me assign the permissions?
View 1 Replies
View Related
Jan 23, 2010
(yes a,vim a,copying data etc) via any terminal .please dont give me kill fg,bg at some instances kill -STOP pid,kill -CONT pid .
View 2 Replies
View Related
Apr 6, 2011
this has been driving me crazy all week, no matter what I try it just wont work.I have written a script that installs several programs, half way through it requires the machine to be rebooted.what I've been trying do do without success, is when the system restarts a terminal window opens and the script resumes.I've googled this, and it seems other people have aslo tried and failed to acheive the desired result.ok, I know it would be easy to just run the script without the terminal window (using cron @reboot or rc.local), but I really need the verbose output as the user must make 2 selections on the remaing installations.
View 3 Replies
View Related
Jan 13, 2010
how to call or resume a paused process in to another terminal.
View 1 Replies
View Related
Jan 1, 2011
The man page seems to indicate no. There is /etc/rc.d/init.d/halt on Fedora. It has a hard coded pause in it, but there's got to be a better way than to change that script.
View 2 Replies
View Related
Mar 3, 2010
I have printer in CUPS that due driver problems (hp 1010) form time to time goes into pause. I would like to write a shell script that will be once per hour resuming printer in cups.But I have no idea after googling for couple of minutes how to resume printer from shell command line.
View 5 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
May 10, 2010
Is it possible to make terminal (xfce4-terminal) transparent from bash script?
Maybe by enabling compostion?
View 1 Replies
View Related
Feb 17, 2010
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 1 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Feb 16, 2010
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 4 Replies
View Related
May 10, 2010
i found this video, and i really want to do the same. *newbie needs to learn [URL]...my question is, what need to be installed and how?
is there any specific configuration to make it works?
and will it work if i want to connect from Ubuntu to Fedora ?
View 1 Replies
View Related
Jul 23, 2010
I'm using Git to get my self an enourmous (2.5 gig) repository. Is there anyway I can PAUSE it?
OR is there anyway I can "half" download it, and keep what I have?
View 3 Replies
View Related
Aug 18, 2009
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
View 7 Replies
View Related
Mar 12, 2010
trying to use the dd command from terminal but having a problem cant get the vertical line needed in the command ( | ) ( did this one from character map ) in a winhosed system
View 3 Replies
View Related
Aug 26, 2010
I've already install the GTK+ library development files (libgtk2.0-dev) but I don't understand the following instructions:Then to compile the Equinox engine, extract the corresponding archive in your home folder. In the new directory, run the following commands: ./configure --prefix=/usr --enable-animationmakeWhat is the corresponding archive? Where do I run the command? On the terminal?
View 1 Replies
View Related
Feb 1, 2010
Is there a way to pause installations/updates? If there is not, would it be possible to implement that?It seems these days that installations through synaptic seem to take ages to download files. While downloading the files, ubuntu will not let you run any other package manager. So if I am updating my system or installing several programs through synaptic, I am unable to install anything else. For example a deb file ive downloaded, or i would like to install a single program while all these other files download.
I can understand not being able to install multiple things at once, but why is it not possible to install things while it downloads the files? Sometimes it days several hours/days to download the files.
View 2 Replies
View Related
Apr 21, 2010
Can I Remove Pause in BitTorrent?
View 2 Replies
View Related
May 3, 2010
I'm using a MacBook 2.1 with Lucid.
After i hit Enter in GRUB, there is a message on top of the screen saying "booting up", and it stays there for 20 to 30 seconds. Then everything proceeds normally. I think i caught a message saying that something couldn't be found, but it flashed too rapidly.
Here is an extract of my dmesg. I'm assuming the part between [] is timestamps, and it takes about 40 seconds to go from GRUB to the Login screen, so it fits. Nothing is happening during 32 seconds.
Code:
[ 2.690053] usb 5-1: new full speed USB device using uhci_hcd and address 2
[ 2.894315] usb 5-1: configuration #1 chosen from 1 choice
[ 35.053835] udev: starting version 151
[ 35.059728] Adding 1999992k swap on /dev/sda3. Priority:-1 extents:1 across:1999992k
[Code]....
View 9 Replies
View Related
Oct 17, 2010
My system after installing Ubuntu 10.04 has an annoying 30 second pause during the boot process. It comes after BIOS checks and before the splash screen, the monitor is just black with a flashing cursor. The system has two IDE drives (/boot and /home) and a SCSI drive (/). There is a SCSI MO drive on it's own controller.
Partial lspci:
01:09.0 SCSI storage controller: Adaptec AIC-7892B U160/m (rev 02)
01:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 23)
I attached a clip from bootchart and a boot log file.
View 9 Replies
View Related
Jan 8, 2010
I know how to make things run at startup, and obviously know how to run a command in terminal (type and enter... duhhhh). However I would like to be able to run vnstat in terminal when my computer logs in, this is very handy for seeing how much I have downloaded. I have a terminal embedded on the desktop and would very much like to run vnstat in it for me when it starts, I know I could just type in vnstat when I've logged on, but where is the fun in that? Just having it already there for me would be far better.
The command for starting my desktop terminal is as follows:
Code:
gnome-terminal --window-with-profile=trans --geometry 90x40+280+30
View 2 Replies
View Related