Mon, May 30 2005
12:11:48
|
|
Request created by msieczka
|
|
Subject: GUI stop/continue button
Michael
In 5.4 there was a handy button for stopping/continuing operation of a module.
Could it be ported to 6.1? I found it very practical - say there is a
v.surf.rst working which eats whole my CPU time and it is going to work whole
day long, while I need full power just for 15 minutes for another Grass program.
I bet this could be done with some unix commands, but having that
stop/continue button was very usefull, easy and quick in use.
Maciek |
|
Mon, May 30 2005
12:12:25
|
|
Area changed to wish6 by msieczka
|
|
Mon, May 30 2005
13:18:22
|
|
Mail sent by hamish_nospam@yahoo.com
|
|
Return-Path |
<hamish_nospam@yahoo.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Mon, 30 May 2005 23:18:04 +1200
|
From |
Hamish <hamish_nospam@yahoo.com>
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #3298] (grass) GUI stop/continue button
|
Message-Id |
<20050530231804.4ff11ddf.hamish_nospam@yahoo.com>
|
In-Reply-To |
<20050530101148.C4C571005B8@lists.intevation.de>
|
References |
<20050530101148.C4C571005B8@lists.intevation.de>
|
X-Mailer |
Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
|
X-Face |
M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=US-ASCII
|
Content-Transfer-Encoding |
7bit
|
X-Spam-Status |
No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
|
X-Spam-Level |
|
> In 5.4 there was a handy button for stopping/continuing operation of a
> module. Could it be ported to 6.1? I found it very practical - say
> there is a v.surf.rst working which eats whole my CPU time and it is
> going to work whole day long, while I need full power just for 15
> minutes for another Grass program.
>
> I bet this could be done with some unix commands, but having that
> stop/continue button was very usefull, easy and quick in use.
fyi, the UNIX commands you speak of:
top
then hit "r" and type in PID of process eating 99% of the CPU. Set in
the range of 1-19, where 19 means the lowest priority.
Then "q" to quit.
or before starting the run reset the current shell's priority:
renice +19 -p $$
I add this to .grass.bashrc so GRASS always runs at semi-low priority:
GRASS_PROC="`pgrep Init.sh`"
if [ -n "$GRASS_PROC" ] ; then
renice +15 -p $$
fi
(the pgrep test isn't really needed)
Hamish
|
|
Tue, May 31 2005
06:04:38
|
|
Mail sent by michael.barton@asu.edu
|
|
Return-Path |
<Michael.Barton@asu.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Mon, 30 May 2005 21:04:26 -0700
|
From |
Michael Barton <michael.barton@asu.edu>
|
Subject |
Re: [bug #3298] (grass) Transaction (msieczka)
|
In-reply-to |
<20050530101148.BF9591005AF@lists.intevation.de>
|
To |
Paolo Cavallini via RT <grass-bugs@intevation.de>
|
Message-id |
<BEC1305A.B87B%michael.barton@asu.edu>
|
MIME-version |
1.0
|
Content-type |
text/plain; charset=US-ASCII
|
Content-transfer-encoding |
7bit
|
User-Agent |
Microsoft-Entourage/11.1.0.040913
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Maciek,
Again, the module GUI and their operations is programmed with the module in
C. This is a part that I DON'T handle.
Michael
On 5/30/05 3:11 AM, "Maciek Sieczka via RT" <grass-bugs@intevation.de>
wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3298
>
> Mon, May 30 2005 12:11:48: Request 3298 was acted upon.
>
> Transaction: Request created by msieczka
>
> Queue: grass
> Area:
> Subject: GUI stop/continue button
> Owner: mbarton
> Requestors: werchowyna@epf.pl
> Status: open
>
> -------------------------------------------------------------------------
> Subject: GUI stop/continue button
>
> Michael
>
>
>
> In 5.4 there was a handy button for stopping/continuing operation of a module.
>
> Could it be ported to 6.1? I found it very practical - say there is a
>
> v.surf.rst working which eats whole my CPU time and it is going to work whole
>
> day long, while I need full power just for 15 minutes for another Grass
> program.
>
>
>
> I bet this could be done with some unix commands, but having that
>
> stop/continue button was very usefull, easy and quick in use.
>
>
>
> Maciek
>
> -------------------------------------------- Managed by Request Tracker
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
|
|
Wed, Jun 1 2005
08:52:21
|
|
Mail sent by werchowyna@epf.pl
|
|
Return-Path |
<werchowyna@epf.pl>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<003c01c56676$73bc9500$e6e41d3e@eustahiush>
|
From |
"Maciek Sieczka" <werchowyna@epf.pl>
|
To |
"Hamish" <hamish_nospam@yahoo.com>, "Request Tracker" <grass-bugs@intevation.de>
|
Cc |
"grass devel" <grass5@grass.itc.it>
|
References |
<20050530101148.C4C571005B8@lists.intevation.de> <20050530231804.4ff11ddf.hamish_nospam@yahoo.com>
|
Subject |
Re: [GRASS5] [bug #3298] (grass) GUI stop/continue button
|
Date |
Wed, 1 Jun 2005 08:50:23 +0200
|
MIME-Version |
1.0
|
Content-Type |
text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
|
Content-Transfer-Encoding |
7bit
|
X-Priority |
3
|
X-MSMail-Priority |
Normal
|
X-Mailer |
Microsoft Outlook Express 6.00.2900.2180
|
X-MimeOLE |
Produced By Microsoft MimeOLE V6.00.2900.2180
|
X-Antivirus |
avast! (VPS 0522-0, 2005-05-30), Outbound message
|
X-Antivirus-Status |
Clean
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Hamish
Thank you for this workaround. However, if possible, having stop/cont button
back would be very handy - one click instead of "top" and 4 keyboard
pressings (7 pressings alltogether) or "renice +19 -p $$" (17 pressings)
each time. Also modifying grass .grass.bashrc according to your listing will
be likely beyond knowledge of average Grass user, while everybody is capable
of using mouse.
I understand you wanted to help me and I'll make use of your suggestion,
thanks. However it would be wrong to take this as an ultimate solution for
all.
Maciek
From: "Hamish" <hamish_nospam@yahoo.com>
>> In 5.4 there was a handy button for stopping/continuing operation of a
>> module. Could it be ported to 6.1? I found it very practical - say
>> there is a v.surf.rst working which eats whole my CPU time and it is
>> going to work whole day long, while I need full power just for 15
>> minutes for another Grass program.
>>
>> I bet this could be done with some unix commands, but having that
>> stop/continue button was very usefull, easy and quick in use.
>
>
> fyi, the UNIX commands you speak of:
>
> top
>
> then hit "r" and type in PID of process eating 99% of the CPU. Set in
> the range of 1-19, where 19 means the lowest priority.
> Then "q" to quit.
>
>
> or before starting the run reset the current shell's priority:
>
> renice +19 -p $$
>
>
>
> I add this to .grass.bashrc so GRASS always runs at semi-low priority:
>
> GRASS_PROC="`pgrep Init.sh`"
> if [ -n "$GRASS_PROC" ] ; then
> renice +15 -p $$
> fi
>
>
> (the pgrep test isn't really needed)
>
>
> Hamish
|
|
Sat, Aug 13 2005
13:48:46
|
|
Taken by msieczka
|
|
Sat, Aug 13 2005
13:48:53
|
|
Untaken by msieczka
|
|
Wed, Jul 26 2006
14:40:02
|
|
User changed to tutey@o2.pl by msieczka
|
|