12-21-2012
How to Use a UNIX Shell Script to Create an HTML Web Page?
dear friends ,
in my work i have to monitor some system performance in hourly basis by runing some commands , for example (lpstat) to know that all the queue is ready
how can i create webpage and connect it with the server (AIX operating system) and make this page refreshed every 10 second and see the result of that command
your adviced is highly appreciated guys
thanks
---------- Post updated at 02:00 AM ---------- Previous update was at 01:27 AM ----------
please guys i need your help with that
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
....passing variable via list...
here 's the HTML code extract :
****************
<form method=post action=http://servername/cgi-bin/cgi-comptage_diff.ksh>
<table border...........>
.............. </table>
<table bgcolor=#FFFFFF width="980">
... (6 Replies)
Discussion started by: Nicol
6 Replies
2. Shell Programming and Scripting
I want to invoke shell script named bubesh.sh when submit button clicked on html/jsp page.I am using an apache server and the html & shell script are in the same working directory.Please help. (2 Replies)
Discussion started by: bubeshj
2 Replies
3. UNIX and Linux Applications
Hi All,
I need a basic overview of connecting a HTML web page to Unix
I will give a brief of my exact requirement.
There will be a front end HTML page - a web page which will have certain buttons.
Each button will have certain functionality.
For eg: There is a button for Disk Usage. When the... (1 Reply)
Discussion started by: abhilashnair
1 Replies
4. Shell Programming and Scripting
Dear all,
I am calling a korn shell script(CGI script) by a web-page. This shell script do some checking in a unix file and return true or false. Now within the same script, If it returns true then I want to redirect to another web-page stored in htdocs directory.
Example: Login page sends a... (3 Replies)
Discussion started by: ravi18s
3 Replies
5. Web Development
Hi,
I have html page in my unix machine(server), which I will open with firefox or mozilla available in unix machine. Firefox or mozilla will be opened using x windows.
Since I have access to unix machien(like other users) and this HTML page is for user having access to Unix machine, I see no... (7 Replies)
Discussion started by: vamanu9
7 Replies
6. HP-UX
First, let me state that I am completely out of my realm with this.
I have a server running HPUX. I'm not even sure if this can be considered a UNIX question and for that let me apologize in advance.
I need to create a web page where a client can input 2 variables (i.e. date and phone number).... (0 Replies)
Discussion started by: grinds
0 Replies
7. Shell Programming and Scripting
Hi,
Need Help, Recently I have thought to migrating my Korn Shell Scripts to html page..., already webserv is running on my unix machine.
How to migrate the shell scripts to html page..
Please refer any web portal or sample codes. Thanks in Adavce (2 Replies)
Discussion started by: l_gshankar24
2 Replies
8. Shell Programming and Scripting
Hi friends,
I m newbie to bash scripting , i m writing script(bash) that will display all processes which r running in my system in an html page, everything going fine but i m not able to get checkbox dynamically for each process in html page ,so that i can mark that process... (2 Replies)
Discussion started by: vagga06
2 Replies
9. Shell Programming and Scripting
Hello,
I need to monitor an html web page for ANY changes and should be able to know if it's modified or not (since last query). I do not need what modifications but just notification is enough.
This is a simple web page and I don't need to parse the links any further.
Is it possible to do... (10 Replies)
Discussion started by: prvnrk
10 Replies
10. Shell Programming and Scripting
Hi All.
This my first post to this forum, and i assuming it will be best out-of all.
I am quite new to Unix scripting so please excuse me for any silly questions -
I am trying to create on Unix script in which it telnet to my server, check the connectivity of the server and then it... (2 Replies)
Discussion started by: HHarsh
2 Replies
LEARN ABOUT DEBIAN
hobbit-statusreport.cgi
HOBBIT-STATUSREPORT.CGI(1) General Commands Manual HOBBIT-STATUSREPORT.CGI(1)
NAME
hobbit-statusreport.cgi - CGI program to report a status for a group of servers
SYNOPSIS
hobbit-statusreport.cgi --column=COLUMNNAME [options]
DESCRIPTION
hobbit-statusreport.cgi is a CGI tool to generate a simple HTML report showing the current status of a single column for a group of Xymon
hosts.
E.g. You can use this report to get an overview of all of the SSL certificates that are about to expire.
The generated webpage is a simple HTML table, suitable for copying into other documents or e-mail.
hobbit-statusreport.cgi runs as a CGI program, invoked by your webserver. It is normally run via a wrapper shell-script in the CGI direc-
tory for Xymon.
EXAMPLES
The Xymon installation includes two web report scripts using this CGI tool: The hobbit-certreport.sh script generates a list of SSL server
certificates that are yellow or red (i.e. they will expire soon); and the hobbit-nongreen.sh script generates a report of all statuses that
are currently non-green. These can be accessed from a web browser through a URL referencing the script in the Xymon CGI directory (e.g.
"/xymon-cgi/xymon-nongreen.sh").
OPTIONS
--column=COLUMNNAME
Report the status of the COLUMNNAME column.
--all Report the status for all hosts known to Xymon. By default, this tool reports only on the hosts found on the current page from where
the CGI was invoked (by looking at the "pagepath" cookie).
--filter=CRITERIA
Only report on statuses that match the CRITERIA setting. See the bb(1) man-page - in the "hobbitdboard" command description - for
details about specifying filters.
--heading=HTML
Defines the webpage heading - i.e. the "title" tag in the generated HTML code.
--show-column
Include the column name in the display.
--show-colors
Show the status color on the generated webpage. The default is to not show the status color.
--no-colors
Do not include text showing the current color of each status in the report. This is the default.
--show-summary
Show only a summary of the important lines in the status message. By default, the entire status message appears in the generated
HTML code. This option causes the first non-blank line of the status message to be shown, and also any lines beginning with "&COLOR"
which is used by many status messages to point out lines of interest (non-green lines only, though).
--show-message
Show the entire message on the webpage. This is the default.
--link Include HTML links to the host "info" page, and the status page.
--embedded
Only generate the HTML table, not a full webpage. This can be used to embed the status report into an external webpage.
--env=FILENAME
Load the environment from FILENAME before executing the CGI.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
SEE ALSO
xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-STATUSREPORT.CGI(1)