Found 1437 Articles for Linux

How to Find the List of Daemon Processes and Zombie Processes in Linux

karthikeya Boyini
Updated on 21-Jan-2020 11:08:44

5K+ Views

This article will guide you to understand the Zombie process and Daemons, and also help us to find the process which is running in the background.What is Zombie Process?When a process ends the execution, then it will have an exit status to report to its master process. Because of that little bit of information, the process will remain in the OS process table as a zombie process, which indicates that it is not to be scheduled for future, but this process cannot be completely removed or the process ID will not be used until the exit has been determined and ... Read More

How to Create/Add a New Virtual Disk for an Existing Linux Virtual Machine

karthikeya Boyini
Updated on 21-Jan-2020 10:27:50

11K+ Views

This article helps you to create and add a new virtual disk to an existing Linux virtual machine on VMware. Here are some steps for adding a new SCSI based virtual disk on a CentOS Linux virtual machine. We are assuming that you are already familiar with Linux system administration skills and having knowledge of vCenter Server or vSphere Client. For a full description of the utilities mentioned in this article, please refer to the manuals.SolutionTo add a new virtual disk for an existing Linux virtual machine, Log in as root on your Linux virtual machine. Run this below command ... Read More

How to Create a Cron Job and Execute at a Given Time in Linux

Sharon Christine
Updated on 21-Jan-2020 10:11:47

2K+ Views

In this article, we will teach you on – how to schedule a corn job to execute at a specific time.General Syntax of a Cron JobMIN    HOUR    Day of month    Month    Day of Week    Command 0-59   0-23       1-31          1-12       0-6       linux command or scriptTo see a list of Cron Jobs which exists on the machine, run the below command –# crontab -l no crontab for rootTo add the new cron job, run the below command –#crontab -e no crontab for root - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/ed 2. /bin/nano

How to Count the Number of Threads in a Process on Linux

karthikeya Boyini
Updated on 21-Jan-2020 10:08:26

602 Views

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

How to Add Disk Storage to Oracle Virtual Box on Linux

Sharon Christine
Updated on 21-Jan-2020 07:39:00

16K+ Views

This article is for those who are looking to install software on your Virtual Box but running low disk space issue. At the same time, you might also feel the need to add disk storage to Oracle VirtualBox by creating a new and larger drive to build the existing drive. Below are the steps to allocate more space by adding a virtual drive to a Virtual Box, The Guest VirtualBox is running the Red Hat Linux 6.7.Adding the Virtual DriveOpen Oracle VM Virtual Box Manager, select the Virtual Box for which you want to add the new disk and click ... Read More

How to Add Cron Jobs to A Specific User in a Linux System

karthikeya Boyini
Updated on 21-Jan-2020 07:29:21

3K+ Views

This article we will teach you to schedule a cron job to be executed at a specific time in a day.General Syntax of a Cron JobMIN    HOUR    Day of month    Month    Day of Week    Command 0-59   0-23       1-31          1-12       0-6       linux command or scriptTo see the list of cron jobs which exists on the machine, run the below command# crontab -u test1 -l no crontab for test1To Add the New Cron Job to Test1 User, run the below Command #crontab -u test1 ... Read More

How to Add a New Disk Drive to a Linux Machine

Sharon Christine
Updated on 21-Jan-2020 07:26:11

10K+ Views

This article helps you to configure and add a new disk to the Linux box. This is one of the most common problems encountered by system administrators these days since the servers are tending to run out of disk space to store excess data. Fortunately, disk space is now one of the cheapest. We shall look at the steps necessary to configure on Red Hat Enterprise Linux 6. x to add more space by installing the disk.ContentsMounted Filesystems or Logical VolumesGetting StartedFinding the New Hard Drive in RHEL 6Creating Linux PartitionsCreating a Filesystem on an RHEL 6 Disk PartitionMounting a ... Read More

Learn How to Setup Email Services using Postfix in Linux

karthikeya Boyini
Updated on 21-Jan-2020 06:01:12

548 Views

There are a number of reasons why you would want to set up your own Linux mail server. These days more people than ever are compelled to get their email fixed – if it ever fails. Postfix is an MTA (Mail switch Agent), a software used to send and receive mail. It is Wietse Venema’s mail server that began life at IBM research alternatively to the largely used Sendmail application. Now at Google, Wietse continues to support Postfix. This article explains about – How to setup Email Services using postfix in Linux.To install Postfix and test mail utilities, use the ... Read More

How to Protect Files and Directories from Deleting in Linux

karthikeya Boyini
Updated on 21-Jan-2020 05:50:28

1K+ Views

Are you working as a Linux Admin? Do you generally defend script documents or any important files? You might be aware that, Chattr (change Attribute) is a command line Linux utility that is used to set/unset exact attributes to a file in Linux process to comfortable unintended deletion or change of major files and folders, although you’re logged in as a root user.This article helps you to look after your records or folders that may support in disallowing an unauthorized user to delete your touchy contents.Protecting FileIn the below example abc.txt is the file nameProtecting a fileTo protect file, use ... Read More

Learn How to Manage Various Logs using Logrotate in Linux

karthikeya Boyini
Updated on 21-Jan-2020 05:47:52

107 Views

Logrotate is designed for administration of Ubuntu systems that generate giant numbers of log records. It allows automatic rotation, compression, removal, and mailing of log records. Each log file could also be handled every day, weekly, monthly, or when it grows. This article explains about -“Learn how to manage various log using logrotate in Linux”To install logrotate, use the following command –$ sudo apt-get install logrotateThe sample output should be like this –Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libecap3 squid-common squid-langpack Use 'sudo apt ... Read More

Advertisements