10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Every so often, I have copy scripts that to don't complete, but I don't immediately know why. It usually ends up being a permissions issue or a length issue.
The scripts edit a log file, so I'd like to include any copy errors/issues in that file to check if the copies... (4 Replies)
Discussion started by: Stellaman1977
2. UNIX for Dummies Questions & Answers
I have the below script, but when i execute it is still printing to screen is there a way i can stop this and just print everything to the log file. Thank you.
exec > >(tee "/var/log/ScriptLogs/called_from_incrontab.log") 2>&1
echo "STEP 1: Datafile... (5 Replies)
Discussion started by: Ariean
3. Shell Programming and Scripting
I am still new to UNIX, and am having trouble figuring out how to create a script to scan a log file to look for errors based on a string.
We run AIX 5.3, and would like the ability to report all the instances of WebSphere Broker Execution groups crashing. This script would... (8 Replies)
Discussion started by: jimbojames
4. Shell Programming and Scripting
Can we capture and write all the error messages which were being displayed on the command prompt screen during execution of a program into a log file?
If yes, can anyone please let me know on how to do it?
I am using ksh and working on AIX server.
Thank you in advance. (4 Replies)
Discussion started by: vpv0002
5. Shell Programming and Scripting
OS: SuSE Linux Enterprise Server 10
To track the errors in log file, If they exits users will be notify by email.
We have a script below:
http:// ! -f PATH/alert.last && touch PATH/alert.last
egrep $SrchKey $LogFile... (3 Replies)
Discussion started by: sdhn1900
how to redirect the growing contents of log file to another file in unix (2 Replies)
Discussion started by: megh
I am New to Unix.
I am Using HP-UX 9000 Series for my Application.
I am Currently Facing an Issue that the error messages are being written in the syslog file instead of the Application Log File. The Codes for that Syslog.h is written in Pro*C.
I want to know how to Redirect these... (3 Replies)
Discussion started by: balasubramaniam
8. Shell Programming and Scripting
i would like to write the shell script program, it can monitor the access_log "real time"
when the access_log writing the line contain "abcdef" the program will be "COPY" this line into a file named "abcdef.txt", do the same thing if the contain "123456" "COPY" it into a file named... (3 Replies)
Discussion started by: eric_wong_ch
9. Shell Programming and Scripting
I'm invoking the program generate-report using backticks from my perl program and redirecting the output to the log file sge-stderr.log. But when i check the process using ps command it is spawing two processes where the below code is parent process and the program generate-report as... (2 Replies)
Discussion started by: kalyanraj
10. UNIX for Dummies Questions & Answers
I am new in shell scripting.
Can anyone point out what wrong of below script.
If I want the error output to "sqlerror.log"
and database pool data output to "bulk_main.dat".
Right now, the below script, if successful execute, the data will output to
bulk_main.dat && sqlerror.log both... (7 Replies)
Discussion started by: epall
grape(1) General Commands Manual grape(1)
grape - inspection and management of the local grape cache used by Groovy
usage: grape [options] <command> [args] options:
define a system property
debug log level 4 will print out full stack traces
info log level 2 will print out information
quiet log level 0 will print only errors
display the Groovy and JVM versions
verbose log level 3 will print verbose logs
warn log level 1 will print only errors and warnings
install <groupId> <artifactId> [<version>]:
This installs the specified groovy module or maven artifact. If a version is specified that specific version will be installed,
otherwise the most recent version will be used (as if '*' we passed in).
list: Lists locally installed modules (with their full maven name in the case of groovy modules) and versions.
resolve (<groupId> <artifactId> <version>)+:
This returns the file locations of the jars representing the artifcats for the specified module(s) and the respective transitive
dependencies. You may optionally pass in -ant, -dos, or -shell to get the dependencies expressed in a format applicable for an ant
script, windows batch file, or unix shell script respectively.
This manual page was generated using help2man and edited by Ludovic Claude <firstname.lastname@example.org>, for the Debian project (but may be
used by others).
July 2009 grape(1)