Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi All
Can u help me..
My problem is delete word per line
sample:
cat /tmp/file.txt
monitor 192.168.1.11 Copying files in current directory 1
monitor 192.168.1.1 Copying files in current directory 2
monitor 192.168.1.12 Copying files in current directory 3
monitor 192.168.1.14... (1 Reply)
Hi all,
can any one suggest me the script to grep multiple strings from ps -ef
pls correct the below script . its not working/
i want to print OK if all the below process are running in my solaris system. else i want to print NOT OK.
bash-3.00$ ps -ef | grep blu
lscpusr 48 42 ... (11 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
Hi everybody,
I am new at Unix/Bourne shell scripting and with my youngest experiences, I will not become very old with it :o
My code:
#!/bin/sh
set -e
set -u
export IFS=
optl="Optl"
LOCSTORCLI="/opt/lsi/storcli/storcli"
($LOCSTORCLI /c0 /vall show | grep RAID | cut -d " "... (5 Replies)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT MOJAVE
apache2::process
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUseraContribuinstall::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::Process(3)NAME
Apache2::Process - Perl API for Apache process record
Synopsis
use Apache2::Process ();
use Apache2::ServerRec ();
my $proc = $s->process;
# global pool cleared on exit
my $global_pool = $proc->pool;
# configuration pool cleared on restart
my $pconf = $proc->pconf;
# short program name (e.g. httpd)
my $proc_name = $proc->short_name;
Description
"Apache2::Process" provides the API for the Apache process object, which you can retrieve with "$s->process":
use Apache2::ServerRec ();
$proc = $s->process;
API
"Apache2::Process" provides the following functions and/or methods:
"pconf"
Get configuration pool object.
$p = $proc->pconf();
obj: $proc ( "Apache2::Process object" )
ret: $p ( "APR::Pool object" )
since: 2.0.00
This pool object gets cleared on server restart.
"pool"
Get the global pool object.
$p = $proc->pool();
obj: $proc ( "Apache2::Process object" )
ret: $p ( "APR::Pool object" )
since: 2.0.00
This pool object gets cleared only on (normal) server exit
"short_name"
The name of the program used to execute the program
$short_name = $proc->short_name();
obj: $proc ( "Apache2::Process object" )
ret: $short_name (string)
e.g. "httpd"
since: 2.0.00
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.18.22install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::Process(3)