11-15-2002
starting out in unix
i am trying to learn cgi script (perl), i think to do this i need to download a unix system,/acccount, which i have tried to do on XP without success. Can any one point me in the right direction on how i get started.
i.e what do i need to do to actually write cgi script for my website.
cheers guys.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi there, sorry that this is a really dumb question from a UNIX newbie, but here goes.
How do I start MS Windows (I think it is NT) from UNIX?
The school I work for has a network server that has a UNIX shell (I think that is what it is called) and has some form of Windows on it (I think it... (5 Replies)
Discussion started by: gorilla
5 Replies
2. Shell Programming and Scripting
I was wondering if there is a unix version of an autoexec.bat, if there is where will it be?
I am new to unix so please be gentle!! (9 Replies)
Discussion started by: imshelpdesk
9 Replies
3. Shell Programming and Scripting
Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman;... (1 Reply)
Discussion started by: chature
1 Replies
4. Shell Programming and Scripting
Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers ?
The program should ask like enter first no and so on.
Also,i want to know a program which can display the digits entered in words.
Like if entered "1"... (2 Replies)
Discussion started by: chature
2 Replies
5. Shell Programming and Scripting
I am trying to delete key word starting with x in a unix text file.
example, I am trying to delete the words like xaa,xabxbb,xbd and so on....
my input file is some thing like this
xaaa w 1234 5678
rwsd ravi xw123
xbc3 ohrd
want to delete words xaaa,xw123 and xbc3 from the above... (10 Replies)
Discussion started by: rdhanek
10 Replies
6. UNIX for Advanced & Expert Users
Hi all,
I need to do scrip for printing starting and ending numbers along with count in given file.:wall:
Input: a.txt
10000030
10000029
10000028
10000027
10000026
10000024
10000023
10000021
10000018
10000018
10000017
10000016
10000015
10000014 (2 Replies)
Discussion started by: jackbell2013
2 Replies
7. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
8. UNIX for Advanced & Expert Users
I have been working on my UNIX box for just over 1 month.
The issue I am having, I cannot get my SSH to start on the system.
I have a few rsync programs that are depending on SSH.
Can anyone please let me know how to get SSH started back?
Any assistance will be much appreciated.
Thanks (2 Replies)
Discussion started by: T Long
2 Replies
9. UNIX for Beginners Questions & Answers
Morning All
So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question:
Currently I use Oracle VirtualBox, can... (8 Replies)
Discussion started by: GophusMeau
8 Replies
10. UNIX for Beginners Questions & Answers
Morning All
So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question:
Currently I use Oracle VirtualBox, can... (1 Reply)
Discussion started by: harveyclayton
1 Replies
LEARN ABOUT REDHAT
mrtg-rrd
MRTG-RRD(1) mrtg MRTG-RRD(1)
NAME
mrtg-rrd - How to use RRDtool with MRTG
SYNOPSIS
After using MRTG for some time you may find some limitations. Mostly in the areas of performance and graphing flexibility. These are
exactly the areas addressed by rrdtool. To learn more about RRDtool check out its website on
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool
RRDTOOL INTEGRATION
When using mrtg with RRDtool you are replacing rateup with the RRDtool perl module RRDs.pm. To enable RRDtool support in mrtg you have to
add the line
LogFormat: rrdtool
MRTG needs access to both the RRDtool perl module RRDs.pm and to the rrdtool executable.
If these two items are not installed in locations where perl can find them on its own, then you can use the following two parameters to
supply the appropriate directories.
For the location of the rrdtool executable you put
PathAdd: /usr/local/rrdtool/bin/
or
PathAdd: c:
rdtoolin
For the location of the perl module it would be:
LibAdd: /usr/local/rrdtool/lib/perl/
or
LibAdd: c:
rdtoolinlibperl
When you have made this modification to the configuration file, several things will happen when you run mrtg again with the new config
file:
1. mrtg will take all your old ".log" files and convert them to ".rrd" format. (The ".log" files don't get touched in the process, so if
things don't work out they are still there.)
2. mrtg will use rrdtool to update its databases. These will have a new format called rrd which is totally different than the native log
format of the classic mrtg.
3. mrtg will not create any webpages of graphs anymore. It will only query the routers for traffic information and update its rrd data-
bases.
The advantage of whole thing is that the mrtg will become much faster. Expect the runtime to drop to 20% of the previous value. (I would
like to get some feedback on this from folks with large installations)
Mind you though, while the logging process of RRDtool is very fast, you are also gaining some time by neither creating graphs nor updating
webpages. The idea behind this is that it is more efficient to create graphs and webpages on demmand. Using a cgi script.
At the moment there is no official script to do this, but two contributers have created such scripts:
14all.cgi
Was the first program to take over the webpage creation and graphing task. It has been developed by Rainer Bawidamann <Rainer.Baw-
idamann@informatik.uni-ulm.de>. You can find a copy on Rainers website:
http://www.uni-ulm.de/~rbawidam/mrtg-rrd/
The program comes with its own documentation
routers.cgi, servers.cgi and generic.cgi
are other cgi frontends to mrtg running with rrdtool. Thier main difference to 14all is, that the web pages it creates are much more
stylish than the ones from mrtg. These tools have been written by Steve Shipway <steve.shipway@adsweu.com>. You can find a copy in
http://www.cheshire.demon.co.uk/pub/
The scripts comes with their own installation instructions.
FUTURE
Just as a side note: MRTG-3 will be based entirely on rrdtool technology. But don't wait for it ... get going now!
AUTHOR
Tobias Oetiker <oetiker@ee.ethz.ch>
3rd Berkeley Distribution 2.9.17 MRTG-RRD(1)