Sponsored Content
Top Forums Shell Programming and Scripting running script in background on remote machine Post 302260651 by hcclnoodles on Friday 21st of November 2008 10:26:10 AM
Old 11-21-2008
cheers Minkie youre a legend
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

leave a process running in a remote machine

Hi, I would like to run a process in my gentoo machine from a consolte (putty) in Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session). The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
Discussion started by: pbasil
3 Replies

2. UNIX for Advanced & Expert Users

Running script on remote machine

if i have a script in my system which i need to run on remote system using ssh, how shall i do it? One easy way to to first scp it to remote machine and then run it on remote machine using ssh. Is there any one step way to do it. Preferably one in which i should give password only once (3 Replies)
Discussion started by: vickylife
3 Replies

3. UNIX for Advanced & Expert Users

Script running on remote machine - How ??

Hi All, This was an interview question " There is a clean-up shell-script in one UNIX machine and it is connected to 100 other UNIX machines. Howe can we run the script on all the 100 machines without ftping/copying the script to target machines ? I was unable to answer, please answer if... (5 Replies)
Discussion started by: coolbhai
5 Replies

4. Shell Programming and Scripting

check web server running on local and on remote machine

Hi , How to check whether web server is running from remote machine How to check whether web server is running on web server itself Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies

5. Shell Programming and Scripting

running the script in background

I have a script called startWebLogic.sh which I was running in the background but the problem is which I used the command :- ps -elf | grep "startWebLogic.sh" | grep -v grep to find the process id but I was unable to find the process id for this script and when I checked from the front end the... (3 Replies)
Discussion started by: maitree
3 Replies

6. Shell Programming and Scripting

Needing guidance, running xargs on remote machine

I am trying to run the follow command. I am running this from a korn shell script. rsh foobar ps -fu dram | grep sshd: | grep -v grep | awk '{print $2}' | xargs -I xx kill xx I get the PID back excluding the xargs part but after adding on the xargs part it fails to locate the PID and is... (2 Replies)
Discussion started by: juredd1
2 Replies

7. Shell Programming and Scripting

Running remote system shell script and c binary file from windows machine using java

Hi, I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine. From a windows machine, I want to run the shell script program (If possible using java). I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies

8. OS X (Apple)

Quit a shell script thats running on a remote machine

I'm in a situation where I am executing a shell script(Bash) on another machine remotely using ssh, and for various reasons sometimes need to quit it and restart it. The shell script being run does many different things, so its hard to know what process to kill on the remote machine, and even if I... (2 Replies)
Discussion started by: TheDrizzle
2 Replies

9. Shell Programming and Scripting

Keep a script on remote machine running (nohup?)

Hi, I'm using expect to ssh into remote machine (i know its not the best practice), and run script "script.sh". This "script.sh" checks whether an other process (some another script) is running and if not, it runs it as some other user. #!/bin/bash /usr/bin/expect << EOD set... (5 Replies)
Discussion started by: oseri
5 Replies

10. Shell Programming and Scripting

Running script in background

Hi, I wrote a KSH script and running it on HP-UX machine I am running one script in background. My script is at location $HOME/myScript/test/background_sh When I view my script in background with psu commend > psu | grep background_sh I see following output UID PID PPID C ... (1 Reply)
Discussion started by: vaibhav
1 Replies
QwtLegendItem(3)						 Qwt User's Guide						  QwtLegendItem(3)

NAME
QwtLegendItem - A legend label. SYNOPSIS
#include <qwt_legend_item.h> Inherits QwtTextLabel. Public Types enum IdentifierMode { NoIdentifier = 0, ShowLine = 1, ShowSymbol = 2, ShowText = 4 } Public Slots void clear () void setChecked (bool on) void setText (const QString &, QwtText::TextFormat textFormat=QwtText::AutoText) Signals void checked (bool) void clicked () void pressed () void released () Public Member Functions const QPen & curvePen () const virtual void drawIdentifier (QPainter *, const QRect &) const virtual void drawItem (QPainter *p, const QRect &) const virtual int heightForWidth (int) const int identifierMode () const int identifierWidth () const int indent () const bool isChecked () const QwtLegend::LegendItemMode itemMode () const int margin () const virtual QSize minimumSizeHint () const QwtLegendItem (QWidget *parent=0) QwtLegendItem (const QwtSymbol &, const QPen &, const QwtText &, QWidget *parent=0) void setCurvePen (const QPen &) void setIdentifierMode (int) void setIdentifierWidth (int width) void setIndent (int) void setItemMode (QwtLegend::LegendItemMode) void setMargin (int) void setSpacing (int spacing) void setSymbol (const QwtSymbol &) virtual void setText (const QwtText &) virtual QSize sizeHint () const int spacing () const const QwtSymbol & symbol () const const QwtText & text () const QRect textRect () const virtual ~QwtLegendItem () Protected Member Functions virtual void drawContents (QPainter *) virtual void drawText (QPainter *, const QRect &) bool isDown () const virtual void keyPressEvent (QKeyEvent *) virtual void keyReleaseEvent (QKeyEvent *) virtual void mousePressEvent (QMouseEvent *) virtual void mouseReleaseEvent (QMouseEvent *) virtual void paintEvent (QPaintEvent *) void setDown (bool) Detailed Description A legend label. QwtLegendItem represents a curve on a legend. It displays an curve identifier with an explaining text. The identifier might be a combination of curve symbol and line. In readonly mode it behaves like a label, otherwise like an unstylish push button. See also: QwtLegend, QwtPlotCurve Member Enumeration Documentation enum QwtLegendItem::IdentifierMode Identifier mode. Default is ShowLine | ShowText See also: identifierMode(), setIdentifierMode() Constructor &; Destructor Documentation QwtLegendItem::QwtLegendItem (QWidget *parent = 0) [explicit] Parameters: parent Parent widget QwtLegendItem::QwtLegendItem (const QwtSymbol &symbol, const QPen &curvePen, const QwtText &text, QWidget *parent = 0) [explicit] Parameters: symbol Curve symbol curvePen Curve pen text Label text parent Parent widget QwtLegendItem::~QwtLegendItem () [virtual] Destructor. Member Function Documentation void QwtLegendItem::checked (bool) [signal] Signal, when the legend item has been toggled. void QwtTextLabel::clear () [slot, inherited] Clear the text and all QwtText attributes. void QwtLegendItem::clicked () [signal] Signal, when the legend item has been clicked. const QPen & QwtLegendItem::curvePen () const Returns: The curve pen. See also: setCurvePen() void QwtTextLabel::drawContents (QPainter *painter) [protected, virtual, inherited] Redraw the text and focus indicator. void QwtLegendItem::drawIdentifier (QPainter *painter, const QRect &rect) const [virtual] Paint the identifier to a given rect. Parameters: painter Painter rect Rect where to paint void QwtLegendItem::drawItem (QPainter *painter, const QRect &rect) const [virtual] Draw the legend item to a given rect. Parameters: painter Painter rect Rect where to paint the button void QwtLegendItem::drawText (QPainter *painter, const QRect &textRect) [protected, virtual] Redraw the text. Reimplemented from QwtTextLabel. int QwtTextLabel::heightForWidth (intwidth) const [virtual, inherited] Returns the preferred height for this widget, given the width. Parameters: width Width int QwtLegendItem::identifierMode () const Or'd values of IdentifierMode. See also: setIdentifierMode(), IdentifierMode int QwtLegendItem::identifierWidth () const Return the width of the identifier See also: setIdentifierWidth() int QwtTextLabel::indent () const [inherited] Return label's text indent in pixels. bool QwtLegendItem::isChecked () const Return true, if the item is checked. bool QwtLegendItem::isDown () const [protected] Return true, if the item is down. QwtLegend::LegendItemMode QwtLegendItem::itemMode () const Return the item mode See also: setItemMode() void QwtLegendItem::keyPressEvent (QKeyEvent *e) [protected, virtual] Handle key press events. void QwtLegendItem::keyReleaseEvent (QKeyEvent *e) [protected, virtual] Handle key release events. int QwtTextLabel::margin () const [inherited] Return label's text indent in pixels. QSize QwtTextLabel::minimumSizeHint () const [virtual, inherited] Return a minimum size hint. void QwtLegendItem::mousePressEvent (QMouseEvent *e) [protected, virtual] Handle mouse press events. void QwtLegendItem::mouseReleaseEvent (QMouseEvent *e) [protected, virtual] Handle mouse release events. void QwtLegendItem::paintEvent (QPaintEvent *e) [protected, virtual] Paint event. Reimplemented from QwtTextLabel. void QwtLegendItem::pressed () [signal] Signal, when the legend item has been pressed. void QwtLegendItem::released () [signal] Signal, when the legend item has been relased. void QwtLegendItem::setChecked (boolon) [slot] Check/Uncheck a the item Parameters: on check/uncheck See also: setItemMode() void QwtLegendItem::setCurvePen (const QPen &pen) Set curve pen. Parameters: pen Curve pen See also: curvePen() void QwtLegendItem::setDown (booldown) [protected] Set the item being down. void QwtLegendItem::setIdentifierMode (intmode) Set identifier mode. Default is ShowLine | ShowText. Parameters: mode Or'd values of IdentifierMode See also: identifierMode() void QwtLegendItem::setIdentifierWidth (intwidth) Set the width for the identifier Default is 8 pixels Parameters: width New width See also: identifierMode(), identifierWidth() void QwtTextLabel::setIndent (intindent) [inherited] Set label's text indent in pixels Parameters: indent Indentation in pixels void QwtLegendItem::setItemMode (QwtLegend::LegendItemModemode) Set the item mode The default is QwtLegend::ReadOnlyItem Parameters: mode Item mode See also: itemMode() void QwtTextLabel::setMargin (intmargin) [inherited] Set label's margin in pixels Parameters: margin Margin in pixels void QwtLegendItem::setSpacing (intspacing) Change the spacing Parameters: spacing Spacing See also: spacing(), identifierWidth(), QwtTextLabel::margin() void QwtLegendItem::setSymbol (const QwtSymbol &symbol) Set curve symbol. Parameters: symbol Symbol See also: symbol() void QwtLegendItem::setText (const QwtText &text) [virtual] Set the text to the legend item Parameters: text Text label See also: QwtTextLabel::text() Reimplemented from QwtTextLabel. void QwtTextLabel::setText (const QString &text, QwtText::TextFormattextFormat = QwtText::AutoText) [slot, inherited] Change the label's text, keeping all other QwtText attributes Parameters: text New text textFormat Format of text See also: QwtText QSize QwtLegendItem::sizeHint () const [virtual] Return a size hint. Reimplemented from QwtTextLabel. int QwtLegendItem::spacing () const Return the spacing See also: setSpacing(), identifierWidth(), QwtTextLabel::margin() const QwtSymbol & QwtLegendItem::symbol () const Returns: The curve symbol. See also: setSymbol() const QwtText & QwtTextLabel::text () const [inherited] Return the text. QRect QwtTextLabel::textRect () const [inherited] Calculate the rect for the text in widget coordinates Returns: Text rect Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtLegendItem(3)
All times are GMT -4. The time now is 06:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy