Friday, 26 July 2013

Need of Cloud Based Data Backup and Protection Solutions and Services for Your Enterprise and Business

Need of Cloud Based Data Backup and Protection Solutions and Services for Your Enterprise and Business

Why do you need Cloud Based Data Backup Solutions and Services for your Business?

The purpose of this article is to discuss the importance and need of online cloud storage, backup, encryption and protection of your business critical sensitive data. As the cloud services are getting popular day by day, you should consider using these cloud services to benefit your enterprise. Use cloud based backups for your important files, documents, images, videos etc. to compete with your rivals.

The purpose of backing up your data is to protect yourself in the event of a data-loss disaster. But if your backups are stored in the same building as your source data, you're only covered against a limited number of problems. A fire, flood or theft could permanently remove all copies of your data.

This is one reason why some companies are turning to off-site backups over the internet. Such cloud solutions should keep all your data out of harm's way and safe. 

As your business grows to multiple locations or satellite offices, and your mobile workforce continues to expand, cloud-based data protection and backup services provide you with secure, reliable and easy-to-use backup options. By using existing network infrastructure or by connecting to the internet, you can automatically back up data to a highly secure off-site data center, helping save time and expense.

Whether you’re a developer or a business owner, you need to prepare for the unexpected. Cloud based Backup safeguards your business by protecting the important files that your website or application needs. Get back to normal operations quickly with the ability to rapidly restore files after a hard drive fails or you lose a file.

Whether you need a single laptop backed up or large-scale server protection, cloud-based backup solutions can help ensure your business has an anywhere, anytime backup solution.

Cloud-based backup solutions and services encrypt and back up your important data to secure off-site data centers using your internet connection to help protect against software corruption, accidental file deletion, hard drive crashes, theft and natural disasters.

Using Cloud based Backups, you can easily create, schedule, and manage file-level backups. In just a few minutes, you can begin protecting your important files and folders since Cloud based Backup is integrated with Managed Cloud Servers. Managing and restoring the backups are just as easy.

Cloud based backup has block-level compression and de-duplication which make backups more efficient and reduces storage costs up to 10-20x compared to traditional uncompressed backups. 

Encryption and Security provided by Cloud based Backups

Enterprise-grade encryptions are used for cloud storage and backups. When encryption is enabled, your data will be encrypted with a pass phrase that only you know. Once you create your encryption key, your data is encrypted before it leaves the server and remains safely encrypted while stored.

Cloud Based Data Backup Service Providers

Here is the list of some of the major cloud based backup service providers. 

VMWare
Microsoft
Citrix
Verizon
Salesforce
Rackspace
Amazon
Dell
Symantec

You can browse a lot but before choosing any cloud based service provider you must ensure some parameters like storage space, speed, availability, security, cost etc. I have written a complete article on this topic. Please click here to read more...

Sunday, 7 July 2013

Big Data Business Analytics, Storage, Integration, Challenges and Opportunities

Big Data Business Analytics, Storage, Integration, Challenges and Opportunities

As the life is getting complex day by day, big data is going to be mismanaged and creating a lot of challenges and obstacles for technical people to analyse, store and integrate this big data which may be in several formats like text, video, image, binary, xml etc. Following article discusses why big data is complex and hard to manage? What are the technical challenges and obstacles we are facing to analyse, integrate and store this big data? What are the future opportunities which big data is creating for us? Lets have this big data discussion in detail:

Big Data is really very big and complex

Lets have a simple example to understand how big data is really very big and complex. 

Consider a simple trip to a child’s birthday party. You send a tweet that you’re headed to the party and you create data. You get in the car, stop to get gas, pay at the pump and you create data. You buy a card at the store, scan your frequent shopper card, pay with cash and you create data.  You take pictures and a short video at the party, post them on Facebook, Flickr and YouTube and you create data. You send a text message while at the party and you create data. Throughout the entire trip, your cell phone creates data as it continually sends out GPS signals and your car creates data as it tracks fuel efficiency. Take the data for this one activity, multiply it by the number of activities you have, multiply that by the number of people who have activities, and you probably have only a small fraction of the data that’s constantly being generated. 

According to IBM, we create 2.5 quintillion bytes of data every day. Ninety percent of the data we have has been created in the past two years and the amount of data is expected to increase exponentially. The data we create is expanding rapidly as enterprises capture more data in greater detail, as multimedia becomes more common, as social media conversations explode and as we use the Internet to get things done. This is “big data,” and it’s getting even bigger.

How is Big Data complex?

Big data is complex. It’s complex because of the variety of data that it encompasses – from structured data, such as transactions we make or measurements we calculate and store, to unstructured data such as text conversations, multimedia presentations and video streams. Big data is complex because of the speed at which it’s delivered and used, such as in “real-time.” And obviously, big data is complex because of the volume of information we are creating. We used to speak in terms of megabytes and gigabytes of home storage – now we speak in terms of terabytes. Enterprises speak in terms of petabytes. 

Big Data Market

"Big data" has increased the demand of information management specialists in that Software AG, Oracle Corporation, IBM, Microsoft, SAP, EMC, and HP have spent more than $15 billion on software firms only specializing in data management and analytics. In 2010, this industry on its own was worth more than $100 billion and was growing at almost 10 percent a year: about twice as fast as the software business as a whole.

Developed economies make increasing use of data-intensive technologies. There are 4.6 billion mobile-phone subscriptions worldwide and there are between 1 billion and 2 billion people accessing the internet. Between 1990 and 2005, more than 1 billion people worldwide entered the middle class which means more and more people who gain money will become more literate which in turn leads to information growth. The world's effective capacity to exchange information through telecommunication networks was 281 petabytes in 1986, 471 petabytes in 1993, 2.2 exabytes in 2000, 65 exabytes in 2007 and it is predicted that the amount of traffic flowing over the internet will reach 667 exabytes annually by 2013.

Big Data Analytics

Big data requires exceptional technologies to efficiently process large quantities of data within tolerable elapsed times. The practitioners of big data analytics processes are generally hostile to slower shared storage, preferring direct-attached storage (DAS) in its various forms from solid state disk (SSD) to high capacity SATA disk buried inside parallel processing nodes. The perception of shared storage architectures—SAN and NAS—is that they are relatively slow, complex, and expensive. These qualities are not consistent with big data analytics systems that thrive on system performance, commodity infrastructure, and low cost.

Real or near-real time information delivery is one of the defining characteristics of big data analytics. Latency is therefore avoided whenever and wherever possible. Data in memory is good—data on spinning disk at the other end of a FC SAN connection is not. The cost of a SAN at the scale needed for analytics applications is very much higher than other storage techniques.

There are advantages as well as disadvantages to shared storage in big data analytics, but big data analytics practitioners as of 2011 did not favour it.

Big Data Challenges and Obstacles

Big data presents a number of challenges relating to its complexity. 

1. One challenge is how we can understand and use big data when it comes in an unstructured format, such as text or video. 

2. Another challenge is how we can capture the most important data as it happens and deliver that to the right people in real-time. 

3. A third challenge is how we can store the data, and how we can analyze and understand it given its size and our computational capacity. 

4. Scarce talent

One topic that came up frequently during the discussions is the shortage of Big Data talent. The good news is that a growing number of Data Science undergraduate, graduate, and certificate programs are launching around the world. A corporate-based model for building Big Data talent can be the more expedient route for countering the issue of talent scarcity. Corporate/higher education collaboration is key to the success of such programs.

5. And there are numerous other challenges, from privacy and security to access and deployment.

According to the latest report Mind the Digital Marketing Gap, produced by the Economist Intelligence Unit (EIU) in partnership with digital marketing software vendor Lyris, 37 per cent of marketing executive surveyed see their difficulty in interpreting big data as the biggest challenge to an effective marketing strategy, while 45 per cent claim to lack sufficient big data analytics capabilities.

In addition, just 24 per cent of marketers said they always use data analysis to develop actionable insights for their overall marketing strategy, although the majority of respondents use data analytics at least some of the time for actionable insights and to personalise consumer communications.

Other key obstacles include a lack of financial resources (43 per cent of respondents); too much emphasis on digital tools and social media; the proliferation of channels; and inadequate human resources (33 per cent apiece).

Big Data Opportunities

But even greater than the challenges are the opportunities that big data presents. Big data is the next frontier for innovation, competition and productivity. We can answer questions with big data that were beyond reach in the past. We can extract insight and knowledge, identify trends and use the data to improve productivity, gain competitive advantage and create substantial value for the world economy. The challenges with big data are limited 

compared to the potential benefits, which are limited only by our creativity and ability to make connections among the trillions of bytes of data we have access to.

Big data provides an opportunity to find insight in new and emerging types of data.  How will you take advantage of this opportunity?

Friday, 28 June 2013

Amazon Cloud Drive: An Efficient Online Cloud File Storage Software and Service

Amazon Cloud Drive: An Efficient Online Cloud File Storage Software and Service

Amazon Cloud Drive provides a lot of features and benefits which will make you to choose amazon cloud drive to store your important files, documents, photos, videos etc. on cloud. You can store and access your files with ease anywhere anytime securely. You will get 5GB of free file storage space when you install Amazon Cloud Drive for Windows and Mac. Following are some of the features of Amazon Cloud Drive discussed in detail.

Online Quick and Reliable File Storage

Never worry about losing a precious memory or not having access to your important files on the go. Amazon Cloud Drive makes storing your photos, videos, documents, and other digital files in the Cloud quick and easy. Get started with 5 GB of free storage--enough space to store up to 2,000 photos.

File Storage Security

Protecting your files in the Cloud is as easy as moving files to your Cloud Drive folder after installing the Cloud Drive app for Windows and Mac. You can also install Cloud Drive Photos for Android and iPhone to easily upload photos from your phone or tablet so you never have to worry about losing precious memories if your phone is lost or damaged. If you're on the go and need a file stored in Cloud Drive, you can quickly access it from any web browser.

Easy Access to Your Files

Your photos are always close at hand on your Kindle Fire, iPhone, or Android phone or tablet. Kindle Fire (latest-generation) and Kindle Fire HD put documents stored in Cloud Drive within easy reach and bring your photos to life in stunning fashion. Using your iPhone or Android phone or tablet you can also browse your photos on the go with Cloud Drive Photos.

Friday, 21 June 2013

Apple iCloud Features: A Cloud Storage Service Provided by Apple

Apple iCloud Features: A Cloud Storage Service Provided by Apple

If you want to store your documents, files, photos, videos, email, business services and operations online on the cloud, you should consider Apple iCloud. iCloud is the one of the best cloud online file storage service available in the cloud market. As this is the product of Apple, iCloud is equipped with a lot of exciting features and functionalities. Following is the list of features provided by iCloud like Mobile Access, Ease of Use, Technical Support etc. Lets discuss all these iCloud features in detail:

Mobile Access:

Naturally, access to iCloud primarily falls within the realms of the Apple ecosystem; the cloud service is compatible with the iPhone, iPad and iPod Touch, and will be with any future iOS device. You can also sync a Mac with iCloud, and in a most surprising compromise, a Windows-based PC as well. Additionally, you can access the web interface of your iCloud account from any web browser.

Still, iCloud remains at the bottom of the pack with its limited mobile access. You can’t log in via a mobile browser and the service is not compatible with competing mobile devices, such as Android and Blackberry.

Ease of Use:

When it comes to ease of use, iCloud easily outpaces the competition. It’s not so much that the other cloud services are difficult to use (they aren’t), it’s merely that iCloud has done it the simplest. All of your files are in one place and it doesn’t require any hands-on management; you simply download or save a file once and it is instantly available on all of your devices. The service is intuitive and easy to navigate, and even those timid about using cloud services will find this one accessible and remarkably uncomplicated. Furthermore, iCloud, like all of Apple’s products, is sleek, stylish and sophisticated.

Help & Support:

As one of the most well-known technology companies in the world, Apple continually scores high marks in customer satisfaction, providing comprehensive tech support for all of its products and services. iCloud is no exception, supplemented with useful online resources and direct technical support. If you want to learn more about the service, peruse the iCloud support center, where you’ll find answers to your questions about using iCloud. For troubleshooting assistance, you can contact Apple directly via toll-free telephone or email, or participate on threads in the iCloud customer communities.

Summary:

As expected, the cloud service works beautifully and seamlessly within the Apple ecosystem. It’s sleek, robust and extremely user-friendly. iCloud is a must if you are a consumer or small business already using Apple products; you’ll be able to access all your digital files and media anytime and from any one of your Apple devices without having to manually sync them.

Thursday, 20 June 2013

How to Choose Best Cloud Storage / Hosting Service Provider?

How to Choose Best Cloud Storage / Hosting Service Provider?

As the market demand for cloud hosting is increasing day by day. A lot of cloud hosting service providers have jumped into the cloud storage market who claim they are best in cloud hosting. Major cloud storage service providers are Amazon, Cisco, Citrix, Apple, Google, Microsoft, IBM, Rackspace, Salesforce and Verizon. So I think this is the time to compare the cloud hosting services provided by various cloud hosting providers. There are a lot of factors like security, reliability, storage space, cloud hosting cost, technical support to be considered before choosing a cloud storage service provider.

Factors to be considered before choosing any Cloud Storage / Hosting Service Providers

As we know Amazon, Cisco, Citrix, Apple, Google, Microsoft, IBM, Rackspace, Salesforce and Verizon are the big cloud storage and hosting service providers in the cloud market. Before choosing any cloud service providers you need to keep some points and features which you need in your cloud service provider. Lets discuss them first.

1. Cloud Storage Security

As you are going to host / store your critical business operations like emails, documents, business services etc on the cloud to reduce your software maintenance cost and streamline your business operations, you must think of security first. Is your critical data which is stored on the cloud secured? If yes, then think for other features, otherwise if you have doubts, don't go for that cloud storage service provider. Cloud providers should have several standard security measures in place and constantly update them.

Security measures to look for include firewalls, anti-virus detection, multifactor user authentication and data encryption, and routine security audits. It's also important to ask who at
the cloud company will have access to your data in the cloud and whether the cloud provider does employee background checks to weed out potential cybercriminals or identity thieves.

Cloud service providers also should answer questions about compliance with government legislation specific to your industry. For example, if your business is in the healthcare industry, you'll want to be sure your cloud provider is compliant with the Health Insurance Portability and Accountability Act (HIPAA), which deals with patient data privacy and security.

CSA (Cloud Security Alliance) is an organization which provides certificates to the cloud service providers if CSA feels that cloud service is secure. So must check for these kind of security certifications that your cloud service provider has.

The location and security of the data centers and servers where your company's information will be stored are as important as online security. You should ask how a potential cloud vendor protects its data center from natural disasters, including fires, floods, earthquakes and storms. Also, find out how the facilities are protected from thieves who could walk away with your sensitive data.

You must ask for SSAE 16 certification of cloud hosting provider. SSAE 16 certification demonstrates that a company's products, systems and data are compliant with the industry security standards for customer access and privacy, data center physical security and data redundancy.

On the off chance your cloud provider accidentally deletes or loses your precious data, you need to know how it will rectify the problem. Will the provider compensate you for losses? What data redundancies does it have in place to mitigate the risks of data loss? It's also important to ask if the company has experienced any significant issues resulting from the loss of customer data.

2. Cloud Storage Reliability

Reliability for cloud storage is another consideration. Your data, documents, emails, business services should always be available and accessible to you at any time. You must read SLA (Service Level Agreement) of the cloud service providers carefully and enquire about the service outages. Cloud service provider should compensate you in case the outage is longer than mentioned in SLA. So you should have this idea in your mind that how much outage is feasible for your business.

Because cloud outages can be disruptive and costly for your business, it's best to choose a provider with as few as possible. Some vendors post their downtime history logs online. If not, be sure to ask for a cloud provider's track record.

3. Cloud Storage Space

You must ensure how much storage space is provided by the cloud hosting service provider and is that much storage space is okay for your business needs. What if in future you need more space? What would be the extra cost for that space?

To ensure that you're choosing a flexible cloud provider, find out what additional storage capacity and other services can be offered over time and for how much. If you plan to increase your staff, you'll want to make sure that you can easily add additional users to your account.

4. Cloud Hosting Cost

After ensuring all above, consider cost of the cloud service. Is that cost comes into your budget or not. The cloud storage cost can be based on pre-user utility model but there can be many other factors and variations. The physical location of the servers may also be a factor for sensitive data. You should confirm the pricing structure beforehand. You should only pay for what you use. The pricing scheme should be pay-as-you go from the outset, with the ability to add services as needed. Fees can typically be charged hourly, monthly, semi-annually or annually, depending on the vendor.

5. Customer Support Service

Technical support should be available to you online or by phone 24 hours a day, every day, including holidays. You should also inquire about the average response and resolution time, and whether you'll be interacting with knowledgeable engineers or customer service reps reading scripts when you call the customer help line or use a live chat feature.

Saturday, 15 June 2013

Types of Bindings in WCF: Encoding Methods and Protocols

Types of Bindings in WCF: Encoding Methods and Protocols

Bindings in WCF define that how to communicate with the service. So, WCF Binding specifies that which communication protocol and encoding method should be used to communicate with the service.

WCF comes with a number of built-in bindings that we can use to expose our service, but WCF is extensible so we can define our own custom bindings to fulfill specific needs. WCF Binding can be BasisHttpBinding, WsHttpBinding, WsDualHttpBinding, WsFederationHttpBinding, NetNamedPipeBinding, NetTcpBinding, NetPeerTcpBinding, NetMsmqBinding. Lets look at them in detail:

Types of WCF Bindings

1. BasicHttpBinding is designed to replace ASMX Web services. It supports both HTTP and Secure HTTP. As far as encoding is concerned, it provides support for Text as well as MTOM encoding methods. BasicHttpBinding doesn’t support WS-* standards like WS-Addressing, WS-Security and WS-ReliableMessaging.

2. WsHttpBinding also supports interoperability. With this binding, the SOAP message is, by default, encrypted. It supports HTTP and HTTPS. In terms of encoding, it provides support for Text as well as MTOM encoding methods. It supports WS-* standards like WS-Addressing, WS-Security and WS-ReliableMessaging. By default, reliable sessions are disabled because it can cause a bit of performance overhead.

3. WsDualHttpBinding has all features of WsHttpBinding with addition that it supports Duplex MEP (Message Exchange Pattern). In this MEP, service can communicate with client via callback. Its basically a two way communication.

4. WsFederationHttpBinding is a specialized form of WS Binding that offers support for federated security.

5. NetNamedPipeBinding is secure and reliable binding on a single WCF computer across process communication. It provides support for binary encoding which is the best 

6. NetTcpBinding supports reliability, transactions and security. It also supports TCP protocol and binary as encoding method. We can say that it’s the most optimized or fastest binding because both client and service are on the same WCF technology.

7. NetPeerTcpBinding supports features as that of netTcpBinding but it provides secure binding for peer-to-peer environment with WCF Services.

8. NetMsmqBinding is required in a cross machine environment with secure and reliable queued communication. This uses MSMQ as transport.

Tuesday, 11 June 2013

Unix Basic Commands Interview Questions and Answers

Unix Basic Commands Interview Questions and Answers

Following is the list of unix basic commands interview questions and answers. These are very basic unix commands and you must know these commands if you are going to appear in a unix interview. I have listed down 31 unix interview questions with answers which cover basic unix commands like ls, banner, cat, date, tee, who, man, head, pg, cmp, diff, grep, kill, echo, su etc. So lets have a look on following unix interview questions and commands.

1. Construct pipes to execute the following jobs.

1. Output of who should be displayed on the screen with value of total number of users who have logged in displayed at the bottom of the list.

2. Output of ls should be displayed on the screen and from this output the lines containing the word ‘poem’ should be counted and the count should be stored in a file.

3. Contents of file1 and file2 should be displayed on the screen and this output should be appended in a file. From output of ls the lines containing ‘poem’ should be displayed on the screen along with the count.

4. Name of cities should be accepted from the keyboard . This list should be combined with the list present in a file. This combined list should be sorted and the sorted list should be stored in a file ‘newcity’.

5. All files present in a directory dir1 should be deleted any error while deleting should be stored in a file ‘errorlog’.

2. Explain the following commands.

$ ls > file1
$ banner hi-fi > message
$ cat par.3 par.4 par.5 >> report
$ cat file1>file1
$ date ; who
$ date ; who > logfile
$ (date ; who) > logfile

3. What is the significance of the “tee” command?

It reads the standard input and sends it to the standard output while redirecting a copy of what it has read to the file specified by the user.

4. What does the command “ $who | sort –logfile > newfile” do?

The input from a pipe can be combined with the input from a file . The trick is to use the special symbol “-“ (a hyphen) for those commands that recognize the hyphen as std input. In the above command the output from who becomes the std input to sort , meanwhile sort opens the file logfile, the contents of this file is sorted together with the output of who (rep by the hyphen) and the sorted output is redirected to the file newfile.

5. What does the command “$ls | wc –l > file1” do?

ls becomes the input to wc which counts the number of lines it receives as input and instead of displaying this count , the value is stored in file1.

6. Which of the following commands is not a filter man , (b) cat , (c) pg , (d) head

Ans: man
A filter is a program which can receive a flow of data from std input, process (or filter) it and send the result to the std output. 

7. How is the command “$cat file2 “ different from “$cat >file2 and >> redirection operators?

8. Explain the steps that a shell follows while processing a command.

After the command line is terminated by the key, the shell goes ahead with processing the command line in one or more passes. The sequence is well defined and assumes the following order.

Parsing: The shell first breaks up the command line into words, using spaces and the delimiters, unless quoted. All consecutive occurrences of a space or tab are replaced here with a single space.

Variable evaluation: All words preceded by a $ are avaluated as variables, unless quoted or escaped. 

Command substitution: Any command surrounded by backquotes is executed by the shell which then replaces the standard output of the command into the command line.

Wild-card interpretation: The shell finally scans the command line for wild-cards (the characters *, ?, [, ]). Any word containing a wild-card is replaced by a sorted list of filenames that match the pattern. The list of these filenames then forms the arguments to the command.

PATH evaluation: It finally looks for the PATH variable to determine the sequence of directories it has to search in order to hunt for the command.

9. What difference between cmp and diff commands?

cmp - Compares two files byte by byte and displays the first mismatch
diff - tells the changes to be made to make the files identical

11. What is the use of ‘grep’ command?

‘grep’ is a pattern search command. It searches for the pattern, specified in the command line with appropriate option, in a file(s).
Syntax : grep
Example : grep 99mx mcafile

12. What is the difference between cat and more command?

Cat displays file contents. If the file is large the contents scroll off the screen before we view it. So command 'more' is like a pager which displays the contents page by page.

13. Write a command to kill the last background job?

Kill $!

14. Which command is used to delete all files in the current directory and all its sub-directories?

rm -r *

15. Write a command to display a file’s contents in various formats?

$od -cbd file_name
c - character, b - binary (octal), d-decimal, od=Octal Dump.

16. What will the following command do?

$ echo *
It is similar to 'ls' command and displays all the files in the current directory.

17. Is it possible to create new a file system in UNIX?

Yes, ‘mkfs’ is used to create a new file system.

18. Is it possible to restrict incoming message?

Yes, using the ‘mesg’ command.

19. What is the use of the command "ls -x chapter[1-5]"

ls stands for list; so it displays the list of the files that starts with 'chapter' with suffix '1' to '5', chapter1, chapter2, and so on.

20. Is ‘du’ a command? If so, what is its use?

Yes, it stands for ‘disk usage’. With the help of this command you can find the disk capacity and free space of the disk.

21. Is it possible to count number char, line in a file; if so, How?

Yes, wc-stands for word count.
wc -c for counting number of characters in a file.
wc -l for counting lines in a file.

22. Name the data structure used to maintain file identification?

‘inode’, each file has a separate inode and a unique inode number.

23. How many prompts are available in a UNIX system?

Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).

24. How does the kernel differentiate device files and ordinary files?

Kernel checks 'type' field in the file's inode structure.

25. How to switch to a super user status to gain privileges?

Use ‘su’ command. The system asks for password and when valid entry is made the user gains super user (admin) privileges.

26. What are shell variables?

Shell variables are special variables, a name-value pair created and maintained by the shell.
Example: PATH, HOME, MAIL and TERM

27. What is redirection?

Directing the flow of data to the file or from the file for input or output.
Example : ls > wc

28. How to terminate a process which is running and the specialty on command kill 0?

With the help of kill command we can terminate the process.
Syntax: kill pid
Kill 0 - kills all processes in your system except the login shell.

29. What is a pipe and give an example?

A pipe is two or more commands separated by pipe char '|'. That tells the shell to arrange for the output of the preceding command to be passed as input to the following command.

Example : ls -l | pr

The output for a command ls is the standard input of pr.
When a sequence of commands are combined using pipe, then it is called pipeline.

30. Explain kill() and its possible return values.

There are four possible results from this call:

‘kill()’ returns 0. This implies that a process exists with the given PID, and the system would allow you to send signals to it. It is system-dependent whether the process could be a zombie.

‘kill()’ returns -1, ‘errno == ESRCH’ either no process exists with the given PID, or security enhancements are causing the system to deny its existence. (On some systems, the process could be a zombie.)

‘kill()’ returns -1, ‘errno == EPERM’ the system would not allow you to kill the specified process. This means that either the process exists (again, it could be a zombie) or draconian security enhancements are present

(e.g. your process is not allowed to send signals to *anybody*).

‘kill()’ returns -1, with some other value of ‘errno’ you are in trouble! The most-used technique is to assume that success or failure with ‘EPERM’ implies that the process exists, and any other error implies that it
doesn't.

An alternative exists, if you are writing specifically for a system (or all those systems) that provide a ‘/proc’ filesystem: checking for the existence of ‘/proc/PID’ may work.

31. What is relative path and absolute path.

Absolute path : Exact path from root directory.
Relative path : Relative to the current path.