lkml.org 
[lkml]   [2001]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[OT] Re: source for ps command
On Thu, Jul 05, 2001 at 05:20:38PM +0530, Naveen Kumar Pagidimarri wrote:
> Please tell me where can i get the source of ps command or
>
> related source code for the implementation of ps command.

If you don't get an answer it might be that:

- your question is off topic for this list
- the answer is too trivial to tell
- nobody had time to answer it

In any case don't post the same question within 30 minutes.

Getting the source of a package is simple. On an RPM compatible system
(Red Hat, SuSE, Mandrake):

erik@merijn:~ >rpm -qf `which ps`
procps-2.0.6-5
(get the procps-2.0.6 SRPM from CD or download it from the web)

On a Debian system it's even easier:

erik@arthur:~ >dpkg -S `which ps`
procps: /bin/ps
erik@arthur:~ >apt-get -qq source procps
dpkg-source: extracting procps in procps-2.0.7


Erik

--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:56    [W:0.079 / U:18.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site