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:

#46 Post by zigbert »

version 2.2.2
- Bugfix: show value of $LOC_SERACHTEXT

User avatar
wuwei
Posts: 800
Joined: Sat 15 Sep 2007, 11:59
Location: formerly de; now in tranquility

Pprocess 2.2.2

#47 Post by wuwei »

In Wary 5.0 pprocess 2.2.2 behaves very unexpectedly.

When I try to run pprocess it opens for a split second and crashes immediately. Terminal gives me a reference to line 146.
This is a frugal install of Wary with a pupsave file.

When I install the tar.gz of version 0.3 from page 1 of this thread it runs fine.

Pprocess 2.2.2 works when I boot Wary with pfix=ram. So it is not a bug in pprocess.

Consequently I must have done something which causes this behavior and which is retained in the pupsave file.
Short of reinstalling and building a fresh pupsave file, do you have any idea for a possible remedy of this situation?

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: Pprocess 2.2.2

#48 Post by sc0ttman »

Pprocess crashes for me using Puppy 4.2 (specifically puplite 3.0)

It appears for a second, and then disappears..

I checked the terminal. it reports many errors similar to this:

Code: Select all

gtkdialog:1941 **: gdk_pixmap_new: assertion [blah]
Although it did work when I updated libc, glib, and many others
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

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

#49 Post by disciple »

FWIW I booted 4.1.1 with pfix=ram and installed Pprocess 2.2.2 and it worked fine.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#50 Post by zigbert »

Version 2.2.3
See main post

Changelog
- Bugfix: While-loop kept running after pprocess was closed.

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

#51 Post by zigbert »

Version 2.2.4
See main post

Changelog
- Bugfix: End all pids after quit. (thanks to playdayz)
- Bugfix: Detect macrolanguage (fr, en..) when lang contains utf or similar post info.

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#52 Post by Makoto »

Are there any archives of the previous versions of pprocess? I'm using Puppy 4.3.1, and the latest version doesn't work for me (I'm guessing, because of the updated gtkdialog requirement).

What would be the latest version that would work with Puppy 4.3.1, as I think I was also told, a while back, that updating gtkdialog on 4.3.1 wasn't an easy thing to do... :oops:
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

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

#53 Post by zigbert »

Makoto
Please try 2.1.1
I think that one should be good for you
Attachments
pprocess-2.1.1.pet
(3.3 KiB) Downloaded 635 times

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#54 Post by Makoto »

Thanks!

I'll try to take a look at it later, today. :)
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#55 Post by Makoto »

...Sorry for the late reply; spent nearly the entire day helping someone move. Argh. @_@

Actually, I found my archive of downloaded versions - I have 2.2.0, 2.2.2 and 2.2.4, the versions before 2.2.4 I was using with my previous Puppy 4.3.1 setup. :oops: 2.2.2 seems to be working fine. :)

(...well, I hope. I'm assuming that's the version I had been using, since my archive only has those three versions in it. I'd installed it some time ago on my previous setup, and it's since gone down for good, so I can't check. :( )
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

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

#56 Post by zigbert »

Version 2.2.5
See main post

Changelog
- Bugfix: Call for gtkdialog4
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)

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

#57 Post by zigbert »

Version 2.3.0
See main post

Changelog
- Use gettext for NLS (thanks to rodin.s)

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

#58 Post by zigbert »

Version 2.3.1
See main post

Changelog
- Adjust gettext to work with updated MoManager (thanks to L18L)

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#59 Post by BarryK »

zigbert wrote:Version 2.3.1
See main post

Changelog
- Adjust gettext to work with updated MoManager (thanks to L18L)
I may have been too hasty putting that solution into Woof, see discussion in my blog.
I will reconsider this again this evening.
[url]https://bkhome.org/news/[/url]

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

#60 Post by zigbert »

No problem at all.
I'll keep an eye on it

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

#61 Post by zigbert »

Version 2.3.2
See main post

Changelog
- Adjust gettext to work with updated MoManager (thanks to BarryK)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#62 Post by technosaurus »

I was playing around with awk to learn how to store associative arrays and ended up coming up with a way to replace ps that is almost as fast but with better configurability option ... so in case it is useful:

Code: Select all

#usage: my_ps [Options]
#Options
#Name:State:Tgid:Pid:PPid:TracerPid:Uid:Gid:FDSize:Groups:VmPeak:VmSize:VmLck:VmPin:VmHWM:VmRSS:VmData:VmStk:VmExe:VmLib:
#VmPTE:VmSwap:Threads:SigQ:SigPnd:ShdPnd:SigBlk:SigIgn:SigCgt:CapInh:CapPrm:CapEff:CapBnd:Seccomp:Cpus_allowed:
#Cpus_allowed_list:voluntary_ctxt_switches:nonvoluntary_ctxt_switches
my_ps(){
echo $@ | awk 'BEGIN{FN=0}
	FNR==1{FN++}
	FN==1{
		argc=NF
		for(j=0;j<NF;j++){
			argv[j]=$(j+1)
			field[FN][$(j+1)]=$(j+1)
		}
	}
	FN>1{
		title=substr($1,0,length($1)-1)
		$1=""
		field[FN][title]=$0
	}
	END{
		for(i=1;i<FN;i++){
			for(j=0;j<argc;j++){
				printf "%-20s\t", field[i][argv[j]]
			}
			printf "\n"
		}
	}
' - /proc/*/status
}
for gtkdialog you'd probably want to change the formatting fron printf "%-20s\t", field[argv[j]] to printf "%s|", field[argv[j]]
and replace the last printf "\n" with printf "<something useful>\n"
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

#63 Post by zigbert »

technosaurus
Thank you.
your alternative ps is noted, and will be considered by a major upgrade.

Your awk-thread is very helpful, and I am getting some basic knowledge of awk. Used in the right places, awk is like speed-of-light compared to bash.
I am thankful


Sigmund

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#64 Post by technosaurus »

zigbert wrote:Used in the right places, awk is like speed-of-light compared to bash.
Its not really faster per se, but its faster than using bash + all the extra utilities to get the same functionality as awk.

btw if you decide you want to use it let me know and I can rework it to play well with busybox awk (switch from using 2d arrays)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply