LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2003, 01:42 AM   #1
grub
Member
 
Registered: Mar 2003
Location: Kurnool, India.
Distribution: Redhat 9
Posts: 67

Rep: Reputation: 15
Getting a Process Details


How can I get the details related to a particular proccess.

Like

1. Flags associated with the process
2. Faults not needing I/O
3. Swaps
4. Number of read operations
etc.

Is there any System call that gives me the details (atleast some of the above)

If I can get from /proc/<process id>/
Please suggest me how to read the files, as most are only the values and there is no name associated with value.

Grub
 
Old 05-28-2003, 02:13 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
man ps
is your friend

you could check the source code to top or ps
if you wanted.
 
Old 05-28-2003, 02:34 AM   #3
grub
Member
 
Registered: Mar 2003
Location: Kurnool, India.
Distribution: Redhat 9
Posts: 67

Original Poster
Rep: Reputation: 15
From where I can down load the source for these commands.
I have kernel source for 2.7.10 can this help me.
 
Old 05-28-2003, 03:54 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
are you from the future?
i bet you meant kernel source 2.4.10

ftp://ftp.groupsys.com/pub/top
 
Old 05-28-2003, 04:02 AM   #5
grub
Member
 
Registered: Mar 2003
Location: Kurnool, India.
Distribution: Redhat 9
Posts: 67

Original Poster
Rep: Reputation: 15
Sorry it is 2.4.7
I will be back for the doubts.
Thanks
Grub
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how a father process know which child process send the signal SIGCHLD icoming Programming 10 07-20-2010 07:26 AM
Configuration details nagu Slackware - Installation 8 07-11-2005 02:40 AM
Mount in details cyrius Linux - General 3 12-15-2004 12:46 PM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 01:19 PM
problem with binding process and than execute another process chapa Programming 0 08-27-2003 03:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration