8 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Dear All,
I am an performance tester. Now i am working in project where we are using linux 2.6.32. Now I got an oppurtunity to learn the monitoring the server. As part of this task i need to do analysis of the Nmon report. I was completely blank in this.
So please suggest me how to start... (0 Replies)
Discussion started by: iamsengu
0 Replies
2. Shell Programming and Scripting
I want to create a script to analyse each output from a task while it is running and launch a sub-function if a specific error message is found at any point or to continue as normal.
#!/bin/bash
read checker <<< $('Running process')
if ; then
'Sub-function'
elif "continue as normal"
fi (2 Replies)
Discussion started by: 3therk1ll
2 Replies
3. UNIX for Dummies Questions & Answers
Hey Guys,
Does anyone know how to count the separate amount of words in a text file?
e.g
the 5
and 20
Furthermore does anyone know how to convert whole numbers in decimals?
Thanks (24 Replies)
Discussion started by: John0101
24 Replies
4. Shell Programming and Scripting
Hello
does anyone know of an awk that will extract log file entries between a specific date and time range, eg:
awk '/15\/Dec\/2010:16:10:00/, /15\/Dec\/2010:16:15:00/' access_log
but one that works?
Or a free command line log file analysis tool/script?
I'd like to be able to view... (2 Replies)
Discussion started by: competitions
2 Replies
5. Shell Programming and Scripting
:confused:Hi ,
Can someone please advise what is the meaning of metacharacters in below code?
a_PROCESS=${0##*/}
a_DPFX=${a_PROCESS%.*}
a_LPFX="a_DPFX : $$ : "
a_UPFX="Usage: $a_PROCESS"
Regards,
gehlnar (3 Replies)
Discussion started by: gehlnar
3 Replies
6. Programming
I would like to know how I could do the following :
void func(){
int a = 100; b=0;
int c = a/b;
}
void sig_handler (int sig,siginfo_t *info,void *context){
//signal handling function
//here I want to access the variables of func()
}
int main(){
struct sigaction *act =... (7 Replies)
Discussion started by: vpraveen84
7 Replies
7. Shell Programming and Scripting
Ez all!
I have a question how to decrypt text uses letter frequency analysis. I have code which count the letters, but what i need to do after that. Can anybody help me to write a code. VERY NEEDED! My code now:
#!/usr/bin/awk -f
BEGIN { FS="" }
{
for (i=1; i <= NF; i++) {
if ($i... (4 Replies)
Discussion started by: SerJel
4 Replies
8. Solaris
How can I make analysis for catalina.out (2 Replies)
Discussion started by: Burhan
2 Replies