LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-05-2009, 11:18 AM   #1
hopefull
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian Etch/Lenny, RedHat Enterprise 5.2.
Posts: 20

Rep: Reputation: 0
show current setting of apache


I have need to show current setting of apache, mainly MaxClient and ServerLimit.
From httpd man page i read
Quote:
-S
Show the settings as parsed from the config file (currently only shows the virtualhost settings).
and nothing else
From http://serveraddress/server-status i read current requests, no max possible requests.....


Thanks

Last edited by hopefull; 03-05-2009 at 11:19 AM. Reason: correction
 
Old 03-05-2009, 11:21 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

The best approach is to look in your Apache.conf file.

Unfortunately, that can be any number of different files (depending on your Apache version and/or distro).

Here's one trick that might help:
Quote:
cd /etc/apache2
grep -i maxclient * */* */*/* 2>/dev/null
server-tuning.conf: # highest possible MaxClients setting for the lifetime of the Apache process.
server-tuning.conf: MaxClients 150
server-tuning.conf: MaxClients 150
server-tuning.conf: MaxClients 150
 
Old 03-05-2009, 11:25 AM   #3
hopefull
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian Etch/Lenny, RedHat Enterprise 5.2.
Posts: 20

Original Poster
Rep: Reputation: 0
i have also thought this solution but how you see comments, backups conf file and other can make not unique grep result.
I have need real value....
 
  


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
show the current keyboard layout tramni1980 Slackware 2 10-04-2007 08:40 AM
is there a KDE addon to show current user? davidguygc Linux - Desktop 2 05-05-2007 03:35 PM
command to show only dirs in current dir? Lordandmaker Linux - Newbie 3 01-06-2006 07:11 AM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 07:36 PM
show complete current paht creilar Linux - Newbie 1 05-24-2004 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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