The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
job/process scheduling or control deiphon Shell Programming and Scripting 0 03-30-2008 06:37 PM
Control process from different terminal (over SSH) rakeshou UNIX for Advanced & Expert Users 3 12-19-2007 08:48 PM
init and process control dexfantasy UNIX for Dummies Questions & Answers 4 12-15-2006 10:45 PM
control the process ust UNIX for Advanced & Expert Users 2 09-25-2005 11:28 PM
unix process control nicko Filesystems, Disks and Memory 2 05-16-2002 07:39 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-28-2002
hmurali hmurali is offline
Registered User
  
 

Join Date: May 2002
Location: India
Posts: 7
Unhappy Reading a process control block

Hello,

I want to know what call to use to read the details of a process control block in solaris ?
  #2 (permalink)  
Old 06-01-2002
linuxpenguin's Avatar
linuxpenguin linuxpenguin is offline Forum Advisor  
Registered User
  
 

Join Date: May 2002
Location: India
Posts: 295
Re: Reading a process control block

Hi,

firstly, which unix are you using.
now if you are using a unix that supports the /proc area which stores all the info of the processes what ou can do is write a c program that reads the "pid number" file in the /proc area. now the process block info is stored in a structure in these files. you can simply go on reading these structures

also read "man proc" for more info

I hope this should solve your problem

rgds
penguin
  #3 (permalink)  
Old 06-03-2002
hmurali hmurali is offline
Registered User
  
 

Join Date: May 2002
Location: India
Posts: 7
Smile

Thanks for the info.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0