Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:21 PM.


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