In this article, we will know how to count the number of threads in a process on Linux environment, there are several ways to do it, but we will learn using ‘/proc’ and ‘ps’ command.Using ‘/proc’In Proc pseudo file system, this resides in /proc directory, and this is the easiest way to see the thread count of the task or active process. The ‘proc’ directory exports the form of readable text files to give the information related to the existing processes and the system hardware such as Interrupts, CPU, memory, disk, etc.# cat /proc//statusThe above command is the general syntax ... Read More
Binding is a mechanism creating link between method call and method actual implementation. As per the polymorphism concept in Java , object can have many different forms. Object forms can be resolved at compile time and run time. If linking between method call and method implementation is resolved at compile time then we call it static binding or If it is resolved at run time then it dynamic binding. Dynamic binding uses object to resolve binding but static binding use type of the class and fields. Sr. No.KeyStatic BindingDynamic Binding1Basic It is resolved at compile time It is resolved at run time 2 ... Read More
In this article, we will be covering about the installation of Nagios 4, a very popular and open source monitoring tool on Centos 6.7. We shall cover some basic configuration steps which might be useful to monitor a host of resources via the web interface. Here, we shall also utilize the Nagios Remote Plugin Executor (NRPE) that is installed as an agent on remote hosts to monitor the local resources of Servers/clients.Nagios is useful for keeping an inventory of your servers, and making sure your critical services are up and running. Using a monitoring system, Nagios is an essential tool ... Read More
Oracle golden gate and oracle active data guard is the data replication technologies. They both are used for data replication but with different strategy. As per the oracle docs −Oracle Active Data Guard provides the best data protection and availability for Oracle Database in the simplest most economical manner by maintaining an exact physical replica of the production copy at a remote location that is open read-only while replication is active. GoldenGate is an advanced logical replication product that supports multi-master replication, hub and spoke deployment and data transformation, providing customers very flexible options to address the complete range of replication requirements. ... Read More
In our most recent Mobile Updates, we told you about the widespread rumors of upcoming Moto 360. And now Lenovo confirms this by sending an invite out to the launch conference in Shanghai on September 8th, accompanied by the words “it’s time”.And by the looks of it, the Watch button is at 2 ‘O’ Clock position.New Moto 360The new Moto360 might come in two sizes and different colors, which is clearly logical. The Watch button is at 2 O Clock position, which is definitely more convenient than a button at 3 O Clock position.
In this article, we will learn about how to configure the mod_rewrite for Apache on CentOS 7, Apache is a very popular web server which allows us to customize and enable its capabilities and disable them. if we now needed more, the Apache administrator has permissions to change according to our needs of the web application.PrerequisitesWe needed a Linux machine installed with CentOS 7.We need a non-root user with sudo permissions.Installing the Apache Web ServerWe will install the Apache Web Server using yum as, Apache is available with the default packages with the management utility of the CentOS repository.The Apache ... Read More
Logical standby and physical standby database in two different types of standby database. In case of any failure of primary database Oracle transfer data from primary database to the standby database. This approach helps us to recover data from standby database in case of any failure.Logical standby database is not the exact copy of the primary database. Logical standby uses LogMiner techniques to transform the archived redo logs into native DML statements (insert, update, delete). This DML is transported and applied to the standby database.Primary standby database is the exact copy of primary database so it helps to minimize the ... Read More
Whatsapp – “how did it all begin?” I remember when WhatsApp was in a corner on my Blackberry but without any notifications, I would use it for the people who did not have BBM. And now, BBM sits in a forgotten corner in my mobile. Here comes the story behind the scenesThe Story of WhatsAppJan Kuom had a dream of building the perfect app that doesn’t require asking for personal information and Jan, a simple guy who lived with his mother and grandmother in a small apartment, supported himself and entered into university and met his business partner, Brian Acton ... Read More
This article provides a basic understanding of Ansible technology along with steps to install it. Ansible is an open source IT automation software for configuring, managing and installing software’s on the clients or nodes without any downtime and agent installed on the nodes. It uses SSH to communicate with the clients.Currently, most of the IT Automation tools runs as an agent in remote host, but Ansible needs only an SSH connection, a user and a Python (2.4 or later).Environment Setup DetailsServer Operating System: Centos 6.7 IP Address: 192.168.87.140 Host-name: ansible.hanuman.com User: root Remote Nodes Node 1: 192.168.87.156 Node 2: 192.168.87.157Installing ... Read More
In Relational database tables are associated with each other and we used foreign key to maintain relationships between tables. We used join clause to retrieve data from associated tables. The join condition indicates how column in each table are matched against each other. There are two types of joins clause in SQL Inner join Outer joinOuter join is again divided into parts −LEFT OUTER JOIN - It will return all data of the left table and matched records in both table RIGHT OUTER JOIN - it will return all the data of the right table and matched records in both tableSr. No.KeyInner joinOuter join1Basic It ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP