Answer: To check your top command version and variant use the -v option $ top -v procps-ng version 3.3.9 This post focuses on the top command coming from the procps-ng project. This is the version available on most modern distros …
1. Open the ssh configureation file vi /etc/ssh/sshd_config port 217 PermitRootLogin no You can disable root login by finding the line that says “PermitRootLogin yes” you can change it to “PermitRootLogin no” 2.Then you’ll just need to restart ssh service …
This scripts are using to tar(zip compress) and remove more than 1 month old postgresql log and linux log file 1.This script used for moving and compressing older than 30 days log files: vi /home/postgres/eds/tarlog.sh find /data/emut16_slavedata/pg_log/ -mtime +30 | …
Step 1 – Installation of CFS dependencies CSF script requires perl modules , it is a csf dependencies module [root@nijam ~]# yum install perl-libwww-perl Loaded plugins: auto-update-debuginfo, fastestmirror, protectbase, refresh- : packagekit, security Setting up Install Process Loading mirror speeds …
How to Clear Cache in Linux? Every Linux System has three options to clear cache without interrupting any processes or services. 1. Clear PageCache only. # sync; echo 1 > /proc/sys/vm/drop_caches 2. Clear dentries and inodes. # sync; echo 2 > /proc/sys/vm/drop_caches …
I.TAKING TABLE STRUCTRE BACKUP WITH THEIR’S OBJECT FILE NAME : In this script helpful to take backup (DDL’s) of procedure, function & table definition with seperate file system (object name) based on postgres schema , this script is mostly used …
Crontab file consists of command per line and have six fields actually and separated either of space or tab. The beginning five fields represent time to run tasks and last field is for command. Minute (hold values between 0-59) Hour (hold values …