Category: Uncategorized

What is Python

December 9, 2016 by pranjal

Filed under Uncategorized

Last modified December 9, 2016

Introduction: •Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. •Python is Interpreted: Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP. •Python is Interactive: You can actually sit at a Python prompt and interact with …

Unix for Oracle Database Administrators

October 9, 2016 by S4

Filed under Uncategorized

Last modified October 9, 2016

Unix for Oracle Database Administrators The Article is a quick reference describing, how to create complex one-line Unix commands in addition to some most often used Unix commands used by Oracle database administrators.   Building Unix Commands   One of the most confounding things for the Unix neophyte is being confronted with a complex Unix command. The cryptic nature of Unix is such that even …

Sed Command – An Introduction

October 9, 2016 by S4

Filed under Uncategorized

Last modified October 9, 2016

Introduction to Sed How to use sed, a special editor for modifying files automatically. If you want to write a program to make changes in a file, sed is the tool to use. There are a few programs that are the real workhorse in the Unix toolbox. These programs are simple to use for simple applications, yet have a rich set of commands for performing …

Replacing Mirrored root disk on HP-UX 11i V3 (11.31)

October 9, 2016 by S4

Filed under Uncategorized

Last modified October 9, 2016

1.0 Replacing Mirrored root disk on HP-UX 11i V3 (11.31) 1.0  Due to persistent naming of disks in 11iV3, 2 different disks (inserted one after another) on the same internal slot will have different disk instance number and device file name. Hence, the procedure for replacing mirrored root disks is different from previous versions. The following checklist gives the step by step procedure for root …

Performance Monitoring and Reporting

October 9, 2016 by S4

Filed under Uncategorized

Last modified October 9, 2016

Performance Monitoring and Reporting Introduction The purpose of the document is to show how using scripts like awk and perl CPU performance data of a AIX system can be collected and reported in graphical form i.e. in form of charts. It uses graph module of Perl to create graphs. The graph module is not a part of standard Perl distribution but can be installed from …

Script for Filesystem Utilization Monitoring

October 9, 2016 by S4

Filed under Uncategorized

Last modified October 9, 2016

Script for Filesystem Utilization Monitoring #! /bin/ksh # # This script checks the filesystem utilization of local filesystems # and sends an email alert if disk space utilization is above the # defined threshold. # # Script: filesys_spchk.ksh # Version: 1.0 # Author: Santosh # Email: sales@s4techno.com   # MAILTO=”mention email ids whom the alerts need to be sent” # # MAILTO=sales@s4techno.com # # You …

Tips using AWK command

October 9, 2016 by S4

Filed under Uncategorized

Last modified October 9, 2016

Some Tips using AWK command Renaming within the name: ls -1 *old* | awk ‘{print “mv “$1” “$1}’ | sed s/old/new/2 | sh (although in some cases it will fail, as in file_old_and_old) remove only files: ls -l * | grep -v drwx | awk ‘{print “rm “$9}’ | sh or with awk alone: ls -l|awk ‘$1!~/^drwx/{print $9}’|xargs rm Be careful when trying this out …