iostat and vmstat – Awesome System Statistics for Linux | Two excellent Linux apps are iostat and vmstat. These provide realtime statistics of system IO and memory usage. Here’s how it works! iostat iostat is useful to view realtime stats of disk IO. I suggest running ‘iostat 1′ to have the command refresh each second. $ iostat 1 Linux 3.2.0-2-amd64 (brahms) 09/12/2012 _x86_64_ (4 CPU)
Apache Server Status with mod_status
Apache Server Status with mod_status | Apache has a built-in web-based server status module called mod_status. Here’s how it works! In Ubuntu / Debian, first enable the apache status module: $ sudo a2enmod status An existing config file is already in place for Debian and Ubuntu. Edit as follows: $ sudo nano /etc/apache2/mods-available/status.conf It looks like this:
Apache List Loaded Modules
Apache List Loaded Modules | Use apache2ctl -M or httpd -M to list loaded apache modules. The output will look similar to: $ sudo apache2ctl -M Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_worker_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgid_module (shared) deflate_module (shared)
