-n 9000 : Number of requests to perform for the benchmarking session -c 900 : Number of multiple requests to perform at a time Show Sample Output
This let you know which modules has loaded the Apache server, very useful to know if the mod_rewrite is ready to use. Show Sample Output
Lists virtualhosts currently enabled for apache2, showing the ServerName:port, conf file and DocumentRoot
Checks the apache configuration syntax, if is OK then restart the service otherwise opens the configuration file with VIM on the line where the configuration fails.
Like the original version except it does not include the parent apache process or the grep process and adds "sudo" so it can be run by user.
Strip a password from a openssl key to use with apache httpd server
This command will return a full list of Error 404 pages in the given access log. The following variables have been given to awk Hostname ($2), ERROR Code ($9), Missing Item ($7), Referrer ($11) You can then send this into a file (>> /path/to/file), which you can open with OpenOffice as a CSV
GoAccess is an open source real-time Apache web log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly. http://goaccess.prosoftcorp.com/ Show Sample Output
Grabs the Apache config file (yielded from httpd) and returns the path specified as DocumentRoot. Show Sample Output
Easiest way to check which modules are loaded in apache. Show Sample Output
Send apache log to syslog-ng server without change configuration of syslog. Just add in httpd.conf or vhost conf.
The command will read the apache log file and fetch the virtual host requested and the number of requests.
Show only specific process id's using Top Show Sample Output
Simply add this to whatever apache startup script you have, or if you are on a MAC, create a new automator application. This will show a pretty growl notification whenever theres a new Apache error log entry. Useful for local development
Use this command to watch apache access logs in real time to see what pages are getting hit. Show Sample Output
Sort Apache access logs by date and time using sort key field feature
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: