AppCrawler

Tying data to business excellence

Main menu

Skip to content
  • Who Is This Guy?
Linux, Operating Systems

awk silliness

by Steve • September 15, 2010 • 0 Comments

This one-liner will print every other character in upper case. oracle@emgrid01 ~ >echo “the quick brown fox jumped over the lazy dog” | awk -F “” ‘{for (i=1; i

Read more →

Linux, Operating Systems

instr() in awk

by Steve • September 15, 2010 • 0 Comments

If you have a long command line string, as you may find with java processes with a lot of properties, what is below will allow you to print those “columns” with a certain value as delimited by a space in…

Read more →

Database, Linux, Operating Systems, Oracle

Who is the big load on my server?!

by Steve • September 13, 2010 • 0 Comments

What is below will show SQL statements for a given window (the last four days in the example below) that are tightly correlated with load average on a server. In general, a statistical correlation greater than 60 means there is…

Read more →

Database, Oracle

A simple example of a custom component managed by CRS

by Steve • August 27, 2010 • 0 Comments

You can add custom components to CRS if you have a need. You basically need a program (perhaps as simple as a shell script) that accepts three command line arguments: start stop check Below is an example of a shell…

Read more →

Linux, Operating Systems

Using awk with group by functionality

by Steve • August 12, 2010 • 0 Comments

You can use the following example if you need to total numbers over a group in a given file. We first show our sample file… 14:30:57 oracle@emgrid01 ~ >cat list.txt steve:61 steve:14 becky:57 steve:19 jenna:69 stephen:57 maddie:54 jenna:53 abby:41 jenna:21…

Read more →

Development, Python

Python script to print out table data in name/value pairs

by Steve • August 6, 2010 • 0 Comments

Simple today. I just wanted to ensure I had this in case I need to cut and paste it later 🙂 #!/home/oracle/local/bin/python import cx_Oracle, string connection = cx_Oracle.connect(mode = cx_Oracle.SYSDBA) cursor = connection.cursor() cnt=cursor.execute(“select * from v$database”) colcount=len(cnt.description) for row…

Read more →

Page 64 of 77
« 1 … 62 63 64 65 66 … 77 »

Search

Links

  • LinkedIn Profile

Archives

Copyright © 2025 AppCrawler. All Rights Reserved. The Magazine Basic Theme by bavotasan.com.