Hai All,
Please tell me where can i get the source of ps command or
related source code for the implementation of ps command.
Advance Thanks for all
Naveen
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: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/