This is a discussion on HTML variable within the Linux software forums, part of the Linux Getting Started category; I'm meassuring the commited RAM on my server It gives perfect values but.... let's say you've got 6000 mb total ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
I'm meassuring the commited RAM on my server
It gives perfect values but.... let's say you've got 6000 mb total and MRTG measures 1500 used then there's 4500 avaiable I want to let this value get calculated automaticly in my HTML page Any ideas on how this can be accomplished A=total B=commited C= available A - B = C Is it possible to use these values as a variable one???????? and make it appear next to the graph in my html page |
| Sponsored Links | ||
|
|
|
|||
|
Some way to make calculations would be good as wel
for example that i can take my maxbytes value minus my target value so i got the available bytes but i don't have any idea how this could be done in the cfg file for example : i've got 6000 max bytes and the OID logs a value of 1200 is it possible to do : maxbytes - OID value = what I Need and then place that value in an alternative place in my HTML file |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to strip all slack from php, html, js | meowing | Shell scripting | 4 | 05-03-2008 03:37 AM |
| environmental variable | myfoot | CentOS / RHEL / Fedora | 1 | 02-01-2008 07:14 AM |
| Perl simple html mail | chiku | Coding in General | 3 | 08-17-2007 08:59 PM |
| How to pass shell variable to awk program | Shell scripting | 4 | 06-23-2006 06:11 AM | |
| HTML Program cannot open in cgi-bin folder | sonaikar | Linux software | 5 | 02-04-2005 05:45 PM |