Install via rpm, its helpful to edit/create a screenrc (either in /etc/screenrc of ~/.screenrc)
simple screenrc:
read the MAN so you know how to reattach disconnected sessions, etc. Basic key bindings start with Ctrl-a then the key-combo you want to send to screen (ex, Ctrl-a then ctrl+c will create a new psuedo terminal, Ctrl+a then Ctrl+A will allow you to name the new terminal something useful in the statusbar)
screen is useful as it grabs the hup message, if you get disconnected from your session your psuedo terms will still be running so your programs don't get the hup and continue to run.
helpful args for this -
screen -ls
screen -rd "session-name" = reconnect the session and disconnect it from elsewhere if needed.
Hi,
i have a problem with turning a job into backgrund.
When i enter this at the shell:
spice -b darlington.cir -r output.raw > screenout.tmp &
and then let me show the currently running jobs, i get the following output:
+ Suspended (tty output) spice -b darlington.cir -r output.raw >... (4 Replies)
Hi there,
I'm quite new to UNIX for programming. I have a script that does this:
Shows on screen real-time results taken from phone calls and logs them in a file.
However, when I start my script, I want my script to start logging in the file in the background, so I can continue working on... (1 Reply)
I have the following sample script to run a script the jobs with the same
priority(in this case field3) in parallel; wait for the jobs to finish
and run the next set of jobs in parallel.When all the lines are read
exit the script.
I have the following script which is doing evrything I want... (1 Reply)
i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help.
$cat run_job.ksh
#!/usr/bin/ksh
####################################
typeset -u SCHEMA_NAME=$1
... (1 Reply)
Reposting, as it got lost during the database backup. :(
Via a shell script a spawn 3 background jobs namely a, b & c.
These will take different times to complete.
I want to print a different message on completion of each.
How can i find out when each one has completed independently.
... (19 Replies)
Hi All,
I have requirement. I am running a job every 30mins. before starting the process, i need to check the process, if the process is still running then i need not trigger the process again, if it is not running then trigger the process again. I am using cron to trigger the shell script. Can... (7 Replies)
Hi,
I'm trying to write a script to decompress a directory full of files. The decompression commands can run in the background, so that many can run at once. But I want to limit the number running at any one time, so that I don't overload the machine.
Something like this:
n=0
for i in *.gz... (15 Replies)
We had a generic process where the jobs are scheduled to run sequentially and in background. We are noticing the problems with the background jobs.
Error Message:
/bin/ksh: /home/suren/bin/GenericReportScript.sh: cannot execute
The same script is existing in bin and it had enough... (2 Replies)
Hi All,
Can someone help me in knowing the exact difference between nohup and &.
The definition is quite clear but i only want to know if i run my job using & and in between i hung up my terminal. (10 Replies)
Discussion started by: Uinx_addic
10 Replies
LEARN ABOUT CENTOS
ttk::sizegrip
ttk::sizegrip(n) Tk Themed Widget ttk::sizegrip(n)
__________________________________________________________________________________________________________________________________________________NAME
ttk::sizegrip - Bottom-right corner resize widget
SYNOPSIS
ttk::sizegrip pathName ?options?
_________________________________________________________________DESCRIPTION
A ttk::sizegrip widget (also known as a grow box) allows the user to resize the containing toplevel window by pressing and dragging the
grip.
STANDARD OPTIONS -class-cursor-state
-style-takefocus
See the ttk_widget manual entry for details on the standard options.
WIDGET COMMAND
Sizegrip widgets support the standard cget, configure, identify, instate, and state methods. No other widget methods are used.
PLATFORM-SPECIFIC NOTES
On Mac OSX, toplevel windows automatically include a built-in size grip by default. Adding a ttk::sizegrip there is harmless, since the
built-in grip will just mask the widget.
EXAMPLES
Using pack:
pack [ttk::frame $top.statusbar] -side bottom -fill x
pack [ttk::sizegrip $top.statusbar.grip] -side right -anchor se
Using grid:
grid [ttk::sizegrip $top.statusbar.grip]
-row $lastRow -column $lastColumn -sticky se
# ... optional: add vertical scrollbar in $lastColumn,
# ... optional: add horizontal scrollbar in $lastRow
BUGS
If the containing toplevel's position was specified relative to the right or bottom of the screen (e.g., "wm geometry ... wxh-x-y" instead
of "wm geometry ... wxh+x+y"), the sizegrip widget will not resize the window.
ttk::sizegrip widgets only support "southeast" resizing.
SEE ALSO
ttk::widget(n)
KEYWORDS
widget, sizegrip, grow box
Tk 8.5 ttk::sizegrip(n)