Sponsored Content
The Lounge What is on Your Mind? Status of UNIX.COM Forum Transformation Post 303024943 by Neo on Saturday 20th of October 2018 06:52:08 AM
Old 10-20-2018
OK... added CPU totals for:

Server (All)
Apache2
MySQL

Image

Maybe later will add some "cybersecurity" indicators too Smilie
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix port status

disregard solved (0 Replies)
Discussion started by: calamine
0 Replies

2. Shell Programming and Scripting

file name transformation

I've got a multitude of text data files that carry exactly the same kind of data. Unfortunately some of them have a different filename format some are: 'category'_'month'-'year'_act.txt an example being: daf_Apr-1961_act.txt and some are: 'category'_ 'year'-'month'_act.txt an... (16 Replies)
Discussion started by: vrms
16 Replies

3. Shell Programming and Scripting

XML to csv transformation

Hi, I want to write a perl script. Which should accept the xml file, one xsl file and the loaction. The perl script should process the xml file using the xsl file and puts the out put in specified location. For example: My.perl is perls cript. my.xml is like this <?xml version="1.0"... (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

4. Shell Programming and Scripting

xslt transformation through Unix

Hi .. I have one input XML and I want to convert into another XML using parameter mapping through Database through Unix shell script. But I dont have idea how to do that. And how can I create xsl sheet if mapping is through database tables. Please help me on this. (1 Reply)
Discussion started by: srinu19
1 Replies

5. UNIX for Advanced & Expert Users

Need help in xslt transformation

Hi I have one input xml file <param name="EXTR_COL" valueDesc="AUTHD_RFLL" value="rx.AUTHD_RFLL" /> There is a mapping parameters in Database. if EXTR_COL is present in input XML then it is mapped to fieldlist. so the o/p XML looks like <fieldlist> <datasource... (1 Reply)
Discussion started by: srinu19
1 Replies

6. Programming

Need best forum site for java (as for unix its unix.com)

Hi All, Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question. Thanks (1 Reply)
Discussion started by: aish11
1 Replies

7. Shell Programming and Scripting

Data transformation

I do have an input text file of the following format with 1000's of lines input file: 3386(11:11,Ani:0,Bri:1,ch:1,Jwe:0,Jor:0,LP:0,Lo:0,NS:1,al:1,bo:0,boy:0,bru:0,sh:0,cor:1,dum:0,ery:0,mac:0,mic:0)... (3 Replies)
Discussion started by: Kanja
3 Replies

8. What is on Your Mind?

YouTube: Forum Moderation @UNIX.com | The UNIX and Linux Forums

Forum Moderation @UNIX.com | The UNIX and Linux Forums https://youtu.be/WGwgibE4Rq0 Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items: ... (0 Replies)
Discussion started by: Neo
0 Replies
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUseraContributinstall::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::Module(3)

NAME
Apache2::Module - Perl API for creating and working with Apache modules Synopsis use Apache2::Module (); #Define a configuration directive my @directives = ( { name => 'MyDirective', } ); Apache2::Module::add(__PACKAGE__, @directives); # iterate over the whole module list for (my $modp = Apache2::Module::top_module(); $modp; $modp = $modp->next) { my $name = $modp->name; my $index = $modp->module_index; my $ap_api_major_version = $modp->ap_api_major_version; my $ap_api_minor_version = $modp->ap_api_minor_version; my $commands = $modp->cmds; } # find a specific module my $module = Apache2::Module::find_linked_module('mod_ssl.c'); # remove a specific module $module->remove_loaded_module(); # access module configuration from a directive sub MyDirective { my ($self, $parms, $args) = @_; my $srv_cfg = Apache2::Module::get_config($self, $parms->server); [...] } # test if an Apache module is loaded if (Apache2::Module::loaded('mod_ssl.c')) { [...] } # test if a Perl module is loaded if (Apache2::Module::loaded('Apache2::Status')) { [...] } Description "Apache2::Module" provides the Perl API for creating and working with Apache modules See Apache Server Configuration Customization in Perl. API
"Apache2::Module" provides the following functions and/or methods: "add" Add a module's custom configuration directive to Apache. Apache2::Module::add($package, $cmds); arg1: $package ( string ) the package of the module to add arg2: $cmds ( ARRAY of HASH refs ) the list of configuration directives to add ret: no return value since: 2.0.00 See also Apache Server Configuration Customization in Perl. "ap_api_major_version" Get the httpd API version this module was build against, not the module's version. $major_version = $module->ap_api_major_version(); obj: $module ( "Apache2::Module object" ) ret: $major_version ( integer ) since: 2.0.00 This methid is used to check that module is compatible with this version of the server before loading it. "ap_api_minor_version" Get the module API minor version. $minor_version = $module->ap_api_minor_version(); obj: $module ( "Apache2::Module object" ) ret: $minor_version ( integer ) since: 2.0.00 "ap_api_minor_version()" provides API feature milestones. It's not checked during module init. "cmds" Get the "Apache2::Command" object, describing all of the directives this module defines. $command = $module->cmds(); obj: $module ( "Apache2::Module object" ) ret: $command ( "Apache2::Command object" ) since: 2.0.00 "get_config" Retrieve a module's configuration. Used by configuration directives. $cfg = Apache2::Module::get_config($class, $server, $dir_config); $cfg = Apache2::Module::get_config($class, $server); $cfg = $self->get_config($server, $dir_config); $cfg = $self->get_config($server); obj: $module ( "Apache2::Module object" ) arg1: $class ( string ) The Perl package this configuration is for arg2: $server ( "Apache2::ServerRec object" ) The current server, typically "$r->server" or "$parms->server". opt arg3: $dir_config ( "Apache2::ConfVector object" ) By default, the configuration returned is the server level one. To retrieve the per directory configuration, use "$r->per_dir_config" as a last argument. ret: $cfg (HASH reference) A reference to the hash holding the module configuration data. since: 2.0.00 See also Apache Server Configuration Customization in Perl. "find_linked_module" Find a module based on the name of the module $module = Apache2::Module::find_linked_module($name); arg1: $name ( string ) The name of the module ending in ".c" ret: $module ( "Apache2::Module object" ) The module object if found, "undef" otherwise. since: 2.0.00 For example: my $module = Apache2::Module::find_linked_module('mod_ssl.c'); "loaded" Determine if a certain module is loaded $loaded = Apache2::Module::loaded($module); name: $module ( string ) The name of the module to search for. If $module ends with ".c", search all the modules, statically compiled and dynamically loaded. If $module ends with ".so", search only the dynamically loaded modules. If $module doesn't contain a ".", search the loaded Perl modules (checks %INC). ret: $loaded ( boolean ) Returns true if the module is loaded, false otherwise. since: 2.0.00 For example, to test if this server supports ssl: if (Apache2::Module::loaded('mod_ssl.c')) { [...] } To test is this server dynamically loaded mod_perl: if (Apache2::Module::loaded('mod_perl.so')) { [...] } To test if "Apache2::Status" is loaded: if (Apache2::Module::loaded('Apache2::Status')) { [...] } "module_index" Get the index to this modules structures in config vectors. $index = $module->module_index(); obj: $module ( "Apache2::Module object" ) ret: $index ( integer ) since: 2.0.00 "name" Get the name of the module's .c file $name = $module->name(); obj: $module ( "Apache2::Module object" ) ret: $name ( string ) since: 2.0.00 For example a mod_perl module, will return: mod_perl.c. "next" Get the next module in the list, "undef" if this is the last module in the list. $next_module = $module->next(); obj: $module ( "Apache2::Module object" ) ret: $next_module ( "Apache2::Module object" ) since: 2.0.00 "remove_loaded_module" Remove a module from the list of loaded modules permanently. $module->remove_loaded_module(); obj: $module ( "Apache2::Module object" ) ret: no return value since: 2.0.00 "top_module" Returns the first module in the module list. Usefull to start a module iteration. $module = Apache2::Module::top_module(); ret: $module ( "Apache2::Module object" ) since: 2.0.00 See Also mod_perl 2.0 documentation. Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. Authors The mod_perl development team and numerous contributors. perl v5.18.2 20install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::Module(3)
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy