LinuxQuestions.org
Review your favorite Linux distribution.
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 10-20-2011, 03:02 AM   #1
moonmanp
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
System Info output to html


Hi

I am trying to create a Linux system report from command like /proc/cpuinfo and output the information to an html document. Can this type of operation be done? The items I need to capture are the following:

Model Name
cpu MHz
hard drive size
total memory
Numbers of processors
OS version
BIOS
 
Old 10-20-2011, 03:14 AM   #2
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
this would do it, or at least explain how:
http://www.cyberciti.biz/tips/execut...ge-part-i.html
This one is interesting too: http://www.cfg2html.com/

Last edited by 16pide; 10-20-2011 at 03:20 AM.
 
Old 10-20-2011, 04:50 AM   #3
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
You could try

Code:
cat /proc/cpuinfo >cpu-info.html
 
Old 10-20-2011, 06:13 AM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Have you seen phpsysinfo, it's free.

Demo here
 
Old 10-20-2011, 06:30 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
lshw, which should be available for the most distributions can output that information in HTML, may be you should try that.
 
  


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
getting cpu info, system info thru system calls naveenisback Programming 7 06-11-2010 02:06 PM
[SOLVED] Getting xdebug 2.0.5 switch text output to html output lhorace Linux - Server 1 11-01-2009 05:23 PM
Sanitizing HTML output in PHP CoderMan Programming 2 06-13-2009 02:04 PM
LXer: Conky-like Desktop Info Application With Html Support (gtk-desktop-info) [Ubunt LXer Syndicated Linux News 0 05-01-2009 11:50 PM
Convert an info file(bash.info.gz) to a single html file Darwish Linux - Software 2 09-24-2005 06:51 AM

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

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