Skip to main content

Get Your Website Response TIME #Centos #LINUX


Get Your Website Response TIME

For HTTP Site

Copy the following command and run it from your shell

for X in `seq 6`; do curl -Ik -w "HTTPCode=%{http_code} TotalTime=%{time_total}\n" http://example.com/ -so /dev/null; done

For HTTPS Site

for X in `seq 6`; do curl -Ik -w "HTTPCode=%{http_code} TotalTime=%{time_total}\n" https://example.com/ -so /dev/null; done

Comments

Popular posts from this blog

A Basic Understanding Of screen On Centos

Description Screen allows you to run scripts or commands in their own virtual window within the terminal, essentially allowing you to have a terminal multi-tasking environment where you can switch between your windows or another users at will. This howto will give you the basics of screen plus some other useful features that may help you in your daily administration tasks. This howto is intended to get you up and running with basic screen functionality within just a few minutes. Please read the manpage for a far more in-depth description of features and options. Requirements These are requirements for successfully completing this document. Root or appropriate sudo access to the system. Doing the Work Basic description of what will be done and what is expected. Install screen if it’s not already installed. yum install screen Setup screen for multi-user mode. Multi-user mode is helpful for sharing a terminal and showing something in real-time because multi-user mode ...

Troubleshooting DRBD #Centos #DRBD

Troubleshooting DRBD  This article presents common DRBD problems and solutions. DRBD (Distributed Replicated Block Device) runs on the master and slave nodes only, and is responsible for mirroring the contents of a partition between master and slave.  Typical problems in DRBD include: A lack of Primary-Secondary connectivity The Secondary operating in standalone mode Both nodes reporting connectivity but neither one in the role of master Both nodes reporting themselves in the role of master Verify the DRBD status The following command is used to verify that DRBD is operating normally on the master and slave nodes. drbd-overview When run on the master node, the output should look like the following: 1:r0/0 Connected Primary/Secondary UpToDate/UpToDate C r----- /mnt/drbd  ... When run on the slave node, the output should look like the following: 1:r0/0 Connected Secondary/Primary UpToDate/UpToDate C r----- The following sections are exampl...

How To Set Up an NFS Mount on CentOS 6 #RHEL #6 #LINUX

About NFS (Network File System) Mounts NFS mounts work to share a directory between several servers. This has the advantage of saving disk space, as the home directory is only kept on one server, and others can connect to it over the network. When setting up mounts, NFS is most effective for permanent fixtures that should always be accessible. Setup An NFS mount is set up between at least two servers. The machine hosting the shared network is called the server, while the ones that connect to it are called ‘clients’. This tutorial requires 2 servers: one acting as the server and one as the client. We will set up the server machine first, followed by the client. The following IP addresses will refer to each one: Master: 12.34.56.789 Client: 12.33.44.555 The system should be set up as root. You can access the root user by typing sudo su Setting Up the NFS Server Step One—Download the Required Software Start off by using apt-get to install the nfs programs. yum install...