Unix Articles

Page 5 of 6

Difference between Pipes and Message Queues

Mahesh Parahar
Mahesh Parahar
Updated on 16-Apr-2020 3K+ Views

Unix PipesUnix Pipes are used in inter-process communication. A pipe as name suggests provides a unidirectional flow of information. Data flows from one end to another.Message QueuesMessage queue allows to share messages by a sender process to another process (es). A message queue is implemented as a linked list of messages and stored within kernel. Each message has a unique message queue identifier. The kernel keeps a record of message queues present in the system.The following are some of the important differences between Unix Pipes and Message Queues.Sr. No.KeyPipeMessage Queue1ConceptThe pipe is the Unix IPC form to provide a flow ...

Read More

How to call RFC in SAP using an ETL job?

Samual Sam
Samual Sam
Updated on 12-Mar-2020 464 Views

You need to expose RFC as Web Service in SAP system. To create a Web Service, you have to open Transaction SE80 and this will open ABAP Workbench.You can define Web Service for −RFC Capable function modulesFunction GroupsBAPIsMessage InterfacesIn Web Service Wizard, enter the name and short text and select Function Module as Endpoint TypeWhen you navigate to configure service, you need to select SOAP profile from drop down as below −

Read More

How to Create a New Ext4 File System in Linux?

Pradeep Elance
Pradeep Elance
Updated on 25-Feb-2020 6K+ Views

The hard disk in a computer is formatted with specific file system so that the operating system can read and write into it. For UNIX based systems we have various type of file systems. In this article we will see how to format a new partition in hard disk with ext4 file system.Available Filesystem typesFirst we see what are the different file systems available for the current operating system. The below command lists all those file systems.$ ls -1 /sbin/mkfs*Running the above code gives us the following result −/sbin/mkfs /sbin/mkfs.bfs /sbin/mkfs.cramfs /sbin/mkfs.ext2 /sbin/mkfs.ext3 /sbin/mkfs.ext4 /sbin/mkfs.ext4dev /sbin/mkfs.fat /sbin/mkfs.minix /sbin/mkfs.msdos /sbin/mkfs.ntfs /sbin/mkfs.vfatLook ...

Read More

Frequently Used Examples of ‘Fuser’ Command in Linux

Samual Sam
Samual Sam
Updated on 28-Jan-2020 391 Views

The fuser utility in Linux is a very smart Unix utility. As the name suggests, it offers knowledge about file user or the process that is currently utilizing the file or directory. This article explains about – Frequently used examples of ‘fuser’ Command in Linux.To get the more information about fuser, use the following command –$ fuserThe sample output should be like this –Usage: fuser [-fMuvw] [-a|-s] [-4|-6] [-c|-m|-n SPACE] [-k [-i] [-SIGNAL]] NAME... fuser -l fuser -V Show which processes use the named files, sockets, or filesystems. -a, --all             display unused files ...

Read More

Fish – A Smart and User-Friendly Interactive Shell for Linux

karthikeya Boyini
karthikeya Boyini
Updated on 20-Jan-2020 259 Views

The Pleasant Interactive Shell which is called and abbreviated as FISH is a shell for UNIX and UNIX-like operating systems. It is a unique and innovative command line environment with a number of priceless improvements. Fish is designed to work with any other shell like bash or ZSH. Unlike different shells which disables more than a few elements with the aid of default to save process resource, FISH maintains all of them enabled by means of default in an effort to make most out of it.FeaturesIt is a User-friendly and interactive shellIt has so many powerful featuresInbuilt Web-based configurationIt supported ...

Read More

Find the Largest Top 10 Files and Directories On a Linux

Sharon Christine
Sharon Christine
Updated on 20-Jan-2020 24K+ Views

Sometimes, it becomes important to find which files or directories are ingesting up, all of your disk area on a Linux. Similarly, we should be able to discover a particular directory location on file system such as /tmp/ or /var/ or /domestic/. This article will help you to use Unix and Linux commands for finding the most important or biggest files or directories on the file systems.Although, there is no shortcut command which is available to discover the largest documents/directories on a Linux/UNIX/BSD file system but there is a possibility which we will be showcasing you about.By aggregating the following ...

Read More

Top 10 UNIX Command Line Mistakes

karthikeya Boyini
karthikeya Boyini
Updated on 17-Jan-2020 508 Views

As the saying goes – A man must be big enough to admit his mistakes, smart enough to profit from them, and strong enough to correct them. In IT world too mistakes are commonly done by new comers in the field due to inexperience. The Unix world is no different from the rest, and system admins unknowingly tend to commit some avoidable errors in their early days in the beginning of their career. Here are a few mistakes which are made by new system admins or users while working at UNIX prompt.This article explains the 10 most common Linux mistakes.userdel ...

Read More

Performance Monitoring with Monitorix on Ubuntu 16.04

Sharon Christine
Sharon Christine
Updated on 17-Jan-2020 290 Views

Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as many services and system resources as possible. It has been created to be used under the production of Linux/UNIX servers but due to its simplicity and small size it can be used on embedded devices as well. This article explains about “How to install Minitorix on Ubuntu”.Adding the Monitorix RepositoryTo add the Monitorix Repository, open /etc/apt/sources.list file as shown below –$ sudo nano /etc/apt/sources.listThe sample output should be like this –# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted # See ...

Read More

Linux and Unix Test Disk I/O Performance with DD Command

Sharon Christine
Sharon Christine
Updated on 17-Jan-2020 9K+ Views

Do you know how to check the performance of a hard drive like checking the read and write speed on your Linux operating systems? then, this article is for you!! which is basically created to provide you an overview of DD command, which is geared towards better guidance to new users and as an exploration tour for getting started to the Linux world.What is DD Command?DD is a command-line utility for Unix and Unix-like operating systems where the primary purpose is to copy a file and converting the format of the data during the process.How to Test Hard Disk using ...

Read More

How to detect encoding and mixed line endings (Windows and Unix) in SAP?

seetha
seetha
Updated on 12-Dec-2019 360 Views

You can make use of CL_ABAP_FILE_UTILITIES => CHECK_FOR_BOM to define file encoding type and use constantly of class CL_ABAP_CHAR_UTILITIES to process the files.ClassCL_ABAP_CHAR_UTILITIESShort DescriptionUtilities for Processing Characters

Read More
Showing 41–50 of 56 articles
Advertisements