LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2004, 04:26 AM   #1
srivatsan
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Collecting System Information


Hi,

I would like to collect general System information like

OS, Version,

all the n/w adapters present,

thru a C program.


Please provide some light on how this can be done....any useful resource available on the net??
I do not want to use "uname" and "ifconfig".

-Srivatsan
 
Old 06-30-2004, 05:51 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
uname, ifconfig, route etc all collect their information from the /proc filesystem

Have a look at http://www.redhat.com/docs/manuals/l...e/ch-proc.html
 
Old 06-30-2004, 08:28 AM   #3
RINO2004
LQ Newbie
 
Registered: Jun 2004
Location: Lithuania
Distribution: Slackware 9.x
Posts: 21

Rep: Reputation: 15
the best way is to set the Php sys info


http://phpsysinfo.sourceforge.net
 
  


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
System Information RedHatCore Linux - Newbie 3 08-16-2005 02:19 PM
System Information cranky Linux - Newbie 8 10-28-2004 05:26 AM
How do I get system information by C/C++ cs87668 Programming 7 06-15-2003 05:51 AM
System Information Command? Pete Dogg Linux - General 16 05-13-2003 01:58 PM
system information killi Linux - Hardware 2 05-10-2003 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:48 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