09-27-2010
Your find will output all files having that format, is that also the case for the currently used log?
Should we understand "server" as like apache for example, or do you mean separate boxes
Last edited by vbe; 10-04-2010 at 09:28 AM..
Reason: typo...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
good day. i jsut wanted to know what is the best script or the best way changing a lot of Ip's in all servers. Do you have any idea? im using awk to change IP,what if, you have lots of servers. You need to change it one by one? It will take time to change it manually. (2 Replies)
Discussion started by: kenshinhimura
2 Replies
2. Shell Programming and Scripting
Hi,
I have a script which generates a log file on demand by redirecting the output to a log file. But the requirement is :
echo A
echo B
echo C
should print A B C
not like
A
B
C
and this has to be handled in script only..not in the shell level (while running the script only) .... (5 Replies)
Discussion started by: bhaskar_m
5 Replies
3. Solaris
Hi
I have built 2 modules on 2 different servers (both nodes in a cluster) and the files sizes are different for the same module on each server (size in bytes):
Server1: 45592 mod_deflate.so
Server2: 45540 mod_deflate.so
Server1: 38400 mod_headers.so
Server2: 38368 mod_headers.so
... (3 Replies)
Discussion started by: skewbie
3 Replies
4. Shell Programming and Scripting
Hi,
I am trying to grep a particular string from the files of 2 different servers without copying and calculate the total count of its occurence on both files.
File structure is same on both servers and for reference as follows:
27-Aug-2010... (4 Replies)
Discussion started by: poweroflinux
4 Replies
5. UNIX for Dummies Questions & Answers
How could one install multiple Perl modules at once. I tried and get this at the cli:
perl -MCPAN -e'install Crypt::DES Digest::CRC Digest::MD4 IO::Pty IO::Socket::SSL WWW::Mechanize Crypt::PasswdMD5 Net::Write'
Can't locate object method "PasswdMD5" via package "Crypt" at -e line 1.
... (0 Replies)
Discussion started by: metallica1973
0 Replies
6. Shell Programming and Scripting
I have some custom functions which i want to use in perl Scripting all time.
i want to How to create modules in perl and how to import them.
Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies
7. Shell Programming and Scripting
Hi folks,
I have logs folder in which different type of logs are generated , I am monitoring them by the below command
tail -f *.log
but I want that if exception come in any of the logs then it should be catch so what i should prefix with tail -f *.log so that it imeediatley catches and... (3 Replies)
Discussion started by: punpun66
3 Replies
8. Shell Programming and Scripting
I am new to Shell scripting and below is my requirement.
I need to search some specific word e.g. "exception" or "transaction" from log file.
We have multiple env e.g. Level1 , Level2 etc and each env have Multiple boxes e.g. For Level 1 env we have "test11.test.com" , "test12.test.com".
Each... (1 Reply)
Discussion started by: peeyush
1 Replies
9. Shell Programming and Scripting
Hi All,
I am starting a service which will redirect its out put into 2 logs say A and B.
Now for succesful startup of the service i need to search pattern1 in log A and pattern2 in log B which are writen continuosly.
Now my requirement is to find the patterns in the increasing logs A and B... (19 Replies)
Discussion started by: Girish19
19 Replies
10. UNIX for Beginners Questions & Answers
Hi ,
Can any please help the below requirement on all multiple servers and multiple dbs.
update configuration set value='yes' ;1)
the above statement apply on 31 Databases at a time on different Ip address
eg : 10.104.1.12 (unix ip address )
the above ip box contains 4 db's eg : db... (2 Replies)
Discussion started by: venkat918
2 Replies
LEARN ABOUT SUSE
stappaths
STAP(7) Miscellaneous Information Manual STAP(7)
NAME
stappaths - systemtap miscellaneous and paths
DESCRIPTION
This manual page was generated on 2013-05-14 for systemtap 1.7. The following section will list the main paths in systemtap that are
important to know and may be required to reference.
Tapset Path: /usr/share/systemtap/tapset/
Systemtap data directory for cached systemtap files, unless overridden by the SYSTEMTAP_TAPSET environment variable or the
XDG_DATA_DIRS environment variable. This directory stores a set of builtin functions and probe point aliases are provided by the
scripts installed here. These are described in the stapfuncs(3stap) and stapprobes(3stap) manual pages.
Runtime Path: /usr/share/systemtap/runtime/
The runtime sources, unless overridden by the SYSTEMTAP_RUNTIME environment variable.
Staprun Path: /usr/bin/staprun
The auxiliary program supervising module loading, interaction, and unloading.
Stapio Path: /usr/lib/systemtap/stapio
The Systemtap module input and output handler.
sdt.h Path: /usr/include/sys/sdt.h
Kernel debuginfo Path: /usr/lib/debug/lib/modules/$(uname -r)/
The location of kernel debugging information when packaged into the kernel-debuginfo RPM, unless overridden by the SYSTEMTAP_DEBUG-
INFO_PATH environment variable. The default value for this variable is +:.debug:/usr/lib/debug:build and can be changed using $env
SYSTEMTAP_DEBUGINFO_PATH=/path/to/vmlinux . Elfutils searches vmlinux in this path and it interprets the path as a base directory
of which various subdirectories will be searched for finding modules. By default, systemtap will also look for vmlinux in these
locations:
/boot/vmlinux-`uname -r`
/lib/modules/`uname -r`/vmlinux
/lib/modules/`uname -r`/vmlinux.debug
/lib/modules/`uname -r`/build/vmlinux
/lib/modules/`uname -r`/.debug/vmlinux.debug
/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug
/var/cache/abrt-di/usr/debug/lib/modules/`uname -r`/
/var/cache/abrt-di/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug
Debuginfo for user-space applications have source files located in /usr/src/debug/ Further file information on user-space applica-
tions can be determined per-basis using rpm -ql <package>-debuginfo. For supported user-space applications information please visit
the systemtap wiki.
$HOME/.systemtap
Systemtap data directory for cached systemtap files, unless overridden by the SYSTEMTAP_DIR environment variable.
/tmp/stapXXXXXX
Temporary directory for systemtap files, including translated C code and kernel object.
/lib/modules/VERSION/build
The location of kernel module building infrastructure.
/usr/share/doc/systemtap*/examples
Examples with greater detail, can be found here. Each example comes with a .txt or .meta file explaining what the example, sample or
demo does and how it is ordinarily run.
$SYSTEMTAP_DIR/ssl/server
User's server-side SSL certificate database. If SYSTEMTAP_DIR is not set, the default is $HOME/.systemtap.
$SYSTEMTAP_DIR/ssl/client
User's private client-side SSL certificate database. If SYSTEMTAP_DIR is not set, the default is $HOME/.systemtap.
/etc/systemtap/ssl/client
Global client-side SSL certificate database.
/etc/systemtap/staprun/
staprun's trusted signer certificate database.
/etc/sysconfig/stap-server/
stap-server service global configuration file.
/etc/stap-server/conf.d/*.conf
stap-server service configuration files for default servers.
/var/run/stap-server/
stap-server service default location of status files for running servers.
/var/log/stap-server/log
stap-server service default log file.
FILES
/usr/share/systemtap/tapset
SEE ALSO
stapprobes(3stap), stapfuncs(3stap), staprun(8), stapvars(3stap), stapex(3stap), stap-server(8), awk(1), gdb(1)
BUGS
Use the Bugzilla link of the project web page or our mailing list. http://sourceware.org/systemtap/,<systemtap@sourceware.org>.
Systemtap Team STAP(7)