[Devel] [ openser-Patches-1606005 ] change process name to
differntiate the threads
SourceForge.net
noreply at sourceforge.net
Thu Nov 30 13:17:34 CET 2006
Patches item #1606005, was opened at 2006-11-30 13:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1606005&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Klaus Darilion (klaus_darilion)
Assigned to: Nobody/Anonymous (nobody)
Summary: change process name to differntiate the threads
Initial Comment:
Hi!
Since long I am unhappy that it is not possible to identify openser's thread (which thread is doing what?).
I made a little patch which rewrites the argv[0] to reflect the usage of the process.
without patch:
5 S root 14133 1 /usr/sbin/openser
1 S root 14134 14133 /usr/sbin/openser
1 S root 14135 14133 /usr/sbin/openser
1 S root 14136 14133 /usr/sbin/openser
1 S root 14137 14133 /usr/sbin/openser
1 S root 14138 14133 /usr/sbin/openser
1 S root 14139 14133 /usr/sbin/openser
1 S root 14140 14133 /usr/sbin/openser
1 S root 14141 14133 /usr/sbin/openser
1 S root 14142 14133 /usr/sbin/openser
1 S root 14143 14133 /usr/sbin/openser
1 S root 14144 14133 /usr/sbin/openser
with patch:
5 S root 14133 1 /usr/sbin/openser
1 S root 14134 14133 fifo
1 S root 14135 14133 udp 0
1 S root 14136 14133 udp 1
1 S root 14137 14133 udp 2
1 S root 14138 14133 udp 3
1 S root 14139 14133 /usr/sbin/openser
1 S root 14140 14133 tcp 0
1 S root 14141 14133 tcp 1
1 S root 14142 14133 tcp 2
1 S root 14143 14133 tcp 3
1 S root 14144 14133 /usr/sbin/openser
apperently I missed some forks :-)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1606005&group_id=139143
More information about the Devel
mailing list