Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-09-2010, 06:33 PM   #1
LQ Newbie
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
getproc routine for Linux?


I am new to the forum and to Linux. Does anyone know of the Linux equivalent to the AIX getprocs() or getprocs64()routine for C language?

Thanks in advance!
Old 08-11-2010, 04:29 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Not familiar with AIX at all, but under linux, I guess the proc filesystem can give you process information.
When mounted, you can read the files from C.
Old 08-13-2010, 11:02 AM   #3
LQ Newbie
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the response...I was hoping for an existing C routine. I see the information in the proc filesystem but was hoping there was a Linux routine that can go out and retrieve the information like AIX's getproc() function. If not then I will have to create one...I just thought that there would be one already since getting process information is pretty common in application programming.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Coding an Interrupt Service Routine for the serial port in Linux !! TheIndependentAquarius Programming 12 01-01-2013 01:36 AM
Just a routine problem. wpbest Linux - Newbie 2 06-08-2008 10:21 PM
Driver interrupt routine problem in Gentoo Linux briek Linux - Kernel 0 08-31-2006 12:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 PM.

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