11-16-2009
Those are 2 cmds - I am trying to fit this in Datastage Cmd Exec Activity. I need 1 cmd with some kindda pipe or something. Is it possible to do that in one?
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Greetings,
I have a oracle database server and i keep getting grid control message
Metric=Disk Device Busy (%)
Metric Value=98.66
Disk Device=ssd430
Severity=Critical
Message=Disk Device ssd430 is 98.66% busy.
so I am trying to correlate the ssd430 to the filesystem. I understand this... (3 Replies)
Discussion started by: p4cldba
3 Replies
2. Shell Programming and Scripting
Hi,
i have a given file named hugo.dat. In this file there are several lines that contain characters like } and ~
Now, i need a script that replaces the character } to ü
and character ~ to ß
Can anyone help for a working ksh script?
Kind Regards
FranzB (3 Replies)
Discussion started by: FranzB
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system).
There is a single DRAM... (1 Reply)
Discussion started by: agaurav
1 Replies
4. Shell Programming and Scripting
Hello Im new here,
I just got my first VPS and I really need help converting this .bat to shell script so i can run my program.
@echo off
@title DiamondMS v117
set CLASSPATH=.;dist\*
java -client -Dnet.sf.odinms.wzpath=wz server.Start
pause
I have no idea what im doing to convert this... (12 Replies)
Discussion started by: valleric
12 Replies
5. Shell Programming and Scripting
awk/shell:
UWARNING=90
UCRITICAL=97
PXNAME=$(echo $line | awk -F, '{print $1}')
SVNAME=$(echo $line | awk -F, '{print $2}')
FRUPERCENT=$(echo $line | awk -F, '{print ($5 / $7) * 100}')
... (6 Replies)
Discussion started by: SkySmart
6 Replies
6. Shell Programming and Scripting
echo $(date +%s) | awk '{ print strftime("%c", $2"-"$3"-"$NF"/"$4); }'
The above command only seems to work on newer versions of awk or systems with gawk installed.
how can i translate the epoch time into a human readable format using a portable method?
also, date -d@$epochtime does not... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT OSX
apache2::command
apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::ApacUser:Contributed Peapache_mod_perl-108~358::mod_perl-2.0.7::docs::api::Apache2::Command(3)
NAME
Apache2::Command - Perl API for accessing Apache module command information
Synopsis
use Apache2::Module ();
use Apache2::Command ();
my $module = Apache2::Module::find_linked_module('mod_perl.c');
for (my $cmd = $module->cmds; $cmd; $cmd = $cmd->next) {
$cmd->args_how();
$cmd->errmsg();
$cmd->name();
$cmd->req_override();
}
Description
"Apache2::Command" provides the Perl API for accessing Apache module command information
API
"Apache2::Command" provides the following functions and/or methods:
"args_how"
What the command expects as arguments:
$how = $cmd->args_how();
obj: $cmd ( "Apache2::Command object" )
ret: $how ( "Apache2::Const :cmd_how constant" )
The flag value representing the type of this command (i.e. "Apache2::Const::ITERATE", "Apache2::Const::TAKE2").
since: 2.0.00
"errmsg"
Get usage message for that command, in case of syntax errors:
$error = $cmd->errmsg();
obj: $cmd ( "Apache2::Command object" )
ret: $error ( string )
The error message
since: 2.0.00
"name"
Get the name of this command:
$name = $cmd->name();
obj: $cmd ( "Apache2::Command object" )
ret: $name ( string )
The command name
since: 2.0.00
"next"
Get the next command in the chain of commands for this module:
$next = $cmd->next();
obj: $cmd ( "Apache2::Command object" )
ret: $next ( "Apache2::Command object" )
Returns the next command in the chain for this module, "undef" for the last command.
since: 2.0.00
"req_override"
What overrides need to be allowed to enable this command:
$override = $cmd->req_override
obj: $cmd ( "Apache2::Command object" )
ret: $override ( "Apache2::Const :override constant" )
The bit mask representing the overrides this command is allowed in (i.e "Apache2::Const::OR_ALL"/"Apache2::Const::ACCESS_CONF").
since: 2.0.00
For example:
use Apache2::Const -compile => qw(:override);
$cmd->req_override() & Apache2::Const::OR_AUTHCFG;
$cmd->req_override() & Apache2::Const::OR_LIMIT;
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.16.2 2011-02apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::Apache2::Command(3)