Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK Beginning Linux Programming, 3rd Edition
This is the forum to discuss the Wrox book Beginning Linux Programming, 2nd Edition by Richard Stones, Neil Matthew, Alan Cox; ISBN: 9780764543739
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning Linux Programming, 3rd Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 21st, 2004, 07:58 AM
Registered User
 
Join Date: Jan 2004
Location: London, na, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jrichemont
Default /proc details?

Hi. I have just bought this book which looks useful; however, I am trying to find specific information on how to use the /proc filesystem to find cpu usage per process which is not covered. Any hint of where to look would be gratefully received!
I have worked exclusively in the Solaris environment up till this point so although I am not a unix newbie linux differs in certain ways including, sadly for me, a very different layout to /proc!

Thanks in advance...

Jeremy
  #2 (permalink)  
Old April 13th, 2004, 10:46 AM
Registered User
 
Join Date: Apr 2004
Location: Leicester, N/A, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are a few descriptions of /proc round the web, a fairly good one is at
http://www.linuxforum.com/linux-filesystem/proc.html

You are perhaps specifically looking for procinfo, which is usually in /usr/bin.

If you want to look at the source, then download a source source rpm and install it. By way of example one can be found in http://fr.rpmfind.net/linux/freshmeat/procinfo/.
Install it with rpm -iv, when it will appear in /usr/src/REDHAT/SOURCES, decompress with bzip2 -d, then extract the files with tar xvf.


Rick


Similar Threads
Thread Thread Starter Forum Replies Last Post
details about datagrid_itemdatabound preetham.sarojavenkatesh Visual Studio 2005 4 August 21st, 2007 12:32 PM
File Details ricespn Beginning VB 6 9 April 20th, 2007 01:48 PM
Regarding Details View aekta ASP.NET 2.0 Professional 0 March 10th, 2007 11:46 PM
Problem Details 3Moose BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 16th, 2005 10:42 AM
Box in details sporkman43 Crystal Reports 0 January 15th, 2004 03:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.