pProcess 2.3.2 - Process manager

Core libraries and systems
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

pProcess 2.3.2 - Process manager

#1 Post by zigbert »

pProcess is just a tiny Process manager.

Sigmund Berglund


Download
username: puppy
password: linux

pProcess-2.3.2.pet (3 kb). gtkdialog-0.8 and gettext
pProcess-2.2.5.pet (3 kb). Last version with old NLS-standard

Language support

Image

Changelog
version 2.3.0-2.3.2 - 30. July 2012
- Use gettext for NLS (thanks to rodin.s)
version 2.2.5 - 27. July 2012
- Bugfix: Call for gtkdialog4
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)
version 2.2.4 - 21. August 2011
- Bugfix: End all pids after quit. (thanks to playdayz)
- Bugfix: Detect macrolanguage (fr, en..) when lang contains utf or similar post info.
version 2.2.3 - 23. January 2011
- Bugfix: While-loop kept running after pprocess was closed.
version 2.2.2 - 14. December 2010
- Bugfix: show value of $LOC_SERACHTEXT
version 2.2.1 - 13. December 2010
- Improved language detection (thanks to wow)
- Localize 'Search text' (thanks to eastler_dart)
- Do not center Xdialog tailbox
- NLS: Added: LOC_SEARCHTEXT
version 2.2 - 5.August 2010
- New ui
- Cleanup in language file (thanks to potong)
- Improved scaling of gui
- NLS: added LOC101, 102, 103, 112, 113, 1145, 115, 116, 120
version 2.1 - 5.June 2010
- monofont in list to get better aligment.
- 'Power off/reboot' button with -s switch
- German and Norwegian translations
- NLS added: LOC119
- NLS removed: LOC110, 117
- Bugfix: Language detection (thanks to mave)
version 2.0 - 27.May 2010
- Process-list updates every forth second.
- Simplified gui.
- Replaced search-funtion with instant filtering.
- Simplified structure for language support.
- Remove --center parameter. - is not suited for gui-scaling. (thanks to panzerpuppy)
- NLS Added: LOC200, 131
- NLS Changed: LOC108
- NLS Removed: LOC_REFRESHED, QUIT, LOC101, 102, 103, 109, 110, 112, 113, 114, 115, 130
version 1.0 - 10.Apr 2009
- Language support
- No need of gtklogfileviewer. Uses Xdialog instead.
- Dynamic path to executable script
version 0.6 - 6.May 2008
- Default kill signal is now -9
- Bugfix: 'Kill signal' has become 'End process with signal' (thanks to disciple)
version 0.5 - 3.Mar 2008
- Watch top (thanks to mikeb)
- Wider tree to prevent horizontal scroll (thanks to mikeb)
- 'KILL process' has become 'End process' (thanks to Lobster)
version 0.4 - 28.Feb 2008
- 'init' is removed from the list.
- Watch log-files
- Optional kill-signals
- Error msg: No selected process
version 0.3 - 11.Feb 2008
- Reorganized gui.
- Maximize window works.
- Define cpu priority of process. (Thanks to mikeb)
- search field.[/url]
Last edited by zigbert on Wed 01 Aug 2012, 09:22, edited 34 times in total.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

A while ago I modified kp to include process priority setting and tidied the output a little but fancied doing a gtk version.
So what did I stumble accros but another zigbert special . So with the aid of this i've added in the mods from kp...I've attached both for anyone to try out

mike
Attachments
kp.tar.gz
(2.06 KiB) Downloaded 1959 times
pprogress.tar.gz
(1.16 KiB) Downloaded 1986 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

excellent!!!
I will add this soon. This is good stuff, but my todo-list for Pprocess is not empty yet.

Thank you
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#4 Post by zigbert »

Version 0.3 is uploaded. See main post.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#5 Post by mikeb »

Love the new layout.

Nice one with the search function too. :)

and that award winning 'kill' button says everything :D

mike

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#6 Post by disciple »

One of the things that always annoyed me about kp is that it truncates long process names (or whatever they are), so I can have several with the same name (as far as I can tell), so I need to use htop to kill the one I want. Pprocess seems to have the same problem.
Is this a limitation of the tools pprocess has to use?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

good work (I am using it in Puppy Lassie)
http://puppylinux.org/wikka/TalkingStickLassie

but I assume it would work in any Puppy from 2.10 onward?
Fortunately I am a heretic Buddhist so I accept killing
as part of life :roll:

A very useful program for me as I am often running Betas, Alphas
and experimental Puppies that need to have their bugs
deloused . . .

On the whole I do not kill insects
unless I intend to eat them.

OK off for a quick sedative . . . before I start rambling about ahimsa 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#8 Post by mikeb »

One of the things that always annoyed me about kp is that it truncates long process names (or whatever they are), so I can have several with the same name (as far as I can tell), so I need to use htop to kill the one I want. Pprocess seems to have the same problem.
good question...ps truncates according to the console width but why this is occuring for pprocess is unclear to me...ps is sent to a temporary file in this case.


Zigbert...I wonder about removing init from the list or moving it (I tried reversing the order but found it confusing) as the default behaviour is that init is initially selected so if that chunky kill button is accidently pressed then everything shuts down :oops:

mike

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#9 Post by zigbert »

mikeb
'init' will be removed

Lobster
To be less aggressive, should we rename 'KILL process' to 'Make process sleep to the end of eternity' :)

disciple
I haven't noticed this before. Ps inside Pprocess truncates input as default rxvt-size. Also tried it in Puppy 4 since I mean to remember that Barry has put in the full ps-command. Not only the one from busybox. Right now, I don't have any idea.... :?

Sigmund

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#10 Post by ttuuxxx »

hi zigbert

Excellent process application, tried it last night and worked just fine :)
I noticed you had sliding scroll-bar, and when i seen that, the lightbulb went on again, Basically a few people have noticed that in "Pmount" if you have 12+ partitions or drives you can't view the bottom ones because of no sliding up/down scroll-bar. Any chance of maybe adding one? Man I would ike to learn this code, any good ebooks? When i look at the source code it reminds me a bit of html.
well keep up the excellent work.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#11 Post by zigbert »

Basically a few people have noticed that in "Pmount" if you have 12+ partitions or drives you can't view the bottom ones because of no sliding up/down scroll-bar. Any chance of maybe adding one?
Maybe I don't understand your question, but have you noticed this one: http://www.murga-linux.com/puppy/viewtopic.php?t=21200

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#12 Post by ttuuxxx »

zigbert wrote:
Basically a few people have noticed that in "Pmount" if you have 12+ partitions or drives you can't view the bottom ones because of no sliding up/down scroll-bar. Any chance of maybe adding one?
Maybe I don't understand your question, but have you noticed this one: http://www.murga-linux.com/puppy/viewtopic.php?t=21200
The forum url I was talking about is http://www.murga-linux.com/puppy/viewto ... 97&t=26328
Basically the topic you showed me looks excellent, But it seems to in in a early alpha stage, what the orginal poster wanted was just pmount with a right-hand up/down scrollbar to see all of his partitions. Nothing fancy, lol
I personally like the new ones your making very nice, one thing i like is eye candy.
and this was a picture of his problem.
http://i30.tinypic.com/2w6bhuu.png
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#13 Post by zigbert »

Basically the topic you showed me looks excellent, But it seems to in in a early alpha stage
Pdrive should do the same as the latest rewrite of Pmount (+ some more). Mostly, it is the same code.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#14 Post by zigbert »

Version 0.4 is uploaded. See main post.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#15 Post by mikeb »

hmm the word sophisticated comes to mind :)

I noticed you have scrapped the list height code as unecessary...I set the width to around 520 which eliminates the horizontal scrollbar as ps truncates everything neatly anyway.

I also removed pprocess from the list...just my warped way of thinking.

hmm a button to conveniently launch top?

mike

now where is that cpu/memory monitor going to fit..... :D

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#16 Post by zigbert »

You have a lot of good ideas here. There must come a 0.5 :wink:

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#17 Post by Lobster »

Zigbert
To be less aggressive, should we rename 'KILL process' to 'Make process sleep to the end of eternity'


:lol:

'End Process' is fine. Have you ever had someone say,
'I don't want to kill. Kill what anyway?'

We take these terms for granted. I am used to the term 'packages'
but most people know packages as 'software'

These geek names and idiosyncrasies add up
Removing one or two where we can makes a difference
to new users and Window refugees . . . 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#18 Post by zigbert »

Version 0.5
See main post

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#19 Post by disciple »

The labelling is confusing now:
You select the "kill signal" (which may or may not end a process) to control the signal sent by the "end process" button. Or did I misunderstand something?

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#20 Post by zigbert »

Thank you, Disciple!

Let's say: End process with signal

Post Reply