Skip to contentSkip to conversation

OT: ps source?

DISCUSSION Fred Fleck 4 participants 5 messages May 6, 2001 – May 8, 2001

lore
Share & tools
lore

Fred Fleck

author
#0 lore raw

Sorry for asking on this mailing list.

Can someone please tell me where to find the source code for the ps command?

Thanks

Fred

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

#2 lore raw
Quoted 7 lines · Pierre Rousselet
Quoted 6 lines · Fred Fleck

Sorry for asking on this mailing list.

Can someone please tell me where to find the source code for the ps command?

Quoted 8 lines
Quoted 3 lines

Thanks

Fred

http://www.cs.uml.edu/~acahalan/procps/

From the procps man page:

Albert Cahalan <[email protected]> rewrote ps for full Unix98 and BSD support, along with some ugly hacks for obsolete and foreign syntax.

Michael K. Johnson <[email protected]> is the current maintainer.

Michaels' ftp for procps is at ftp://people.redhat.com/johnsonm/procps/

Regards,
Jim

Quoted 2 lines

Pierre

Signature · 3 lines
James Bourne, Supervisor Data Centre Operations
Mount Royal College, Calgary, AB, CA
www.mtroyal.ab.ca
#3 lore raw
Quoted 9 lines · James Bourne
Quoted 1 line

From the procps man page:

Albert Cahalan <[email protected]> rewrote ps for full Unix98 and BSD support, along with some ugly hacks for obsolete and foreign syntax.

Michael K. Johnson <[email protected]> is the current maintainer.

Michaels' ftp for procps is at ftp://people.redhat.com/johnsonm/procps/

Right. For international support procps-2.0.7 is the one to choose with the patch procps-2.0.7-intl.patch.

Pierre

Signature · 3 lines
------------------------------------------------
 Pierre Rousselet <[email protected]>
------------------------------------------------
#4 lore raw
Quoted 9 lines · Pierre Rousselet
Quoted 7 lines · James Bourne

From the procps man page:
Albert Cahalan <[email protected]> rewrote ps for full Unix98 and BSD support, along with some ugly hacks for obsolete and foreign syntax.

Michael K. Johnson <[email protected]> is the current maintainer.

There has been a bit of a fork actually... sorry.

Quoted 2 lines

Right. For international support procps-2.0.7 is the one to choose with the patch procps-2.0.7-intl.patch.

That one is quite buggy. The parser is broken ("ps -o %p" fails), you can get a core dump if you get unlucky with the System.map file, the BSD-style process selection is incorrect... I've fixed about 100 bugs and introduced only a few.

What you really ought to use is the Debian package. That gives you my source plus a few fixes that I don't have yet. Head over to www.debian.org and drill down to the "unstable" package. There you will find a source tarball and a patch file for it.