10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am pulling my hair out here. I have a file that comes in, once it finishes i want to move it to a new location. This sounds all very easy but my solution is failing and moves the file before it has finished generating.
isrun=`ps -ef | grep -i filename | grep -v grep | wc -l`
... (8 Replies)
Discussion started by: twinion
2. Shell Programming and Scripting
I am in a terrible emergency. I have multiple cdr files with line count >6000.
I need to append |0| | | | | | | |random| to end of each line. The random number should never repeat.
Please help with a shell script to process all cdr's in a directory with above requirement. (23 Replies)
Discussion started by: shiburnair
3. UNIX for Dummies Questions & Answers
Please give me an idea on how to achieve the below using a unix script.
From our source team we are getting files with in-proper delimiters because of which our data load is failing to avoid this we want to generate dynamic scripts as below.
Read the no of delimiters(which is dynamic... (6 Replies)
Discussion started by: mora
4. Shell Programming and Scripting
I need to examine a huge CDR file according to a complex (at least for me) condition like below and i couldnt write anything :(
In CDR file there are more than hundreds of fields, I need to print the rows which matches the below condition:
while $13 field of subsequent... (9 Replies)
Discussion started by: EAGL€
5. UNIX for Advanced & Expert Users
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php');
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php');
system('php -f... (0 Replies)
Discussion started by: 7stars
6. Shell Programming and Scripting
We are facing some performance issue in UNIX. If someone had faced such kind of issue in past please provide your suggestions on this .
/Few of load processes of our Finance Application are facing issue in UNIX when they uses a shell script having below... (19 Replies)
Discussion started by: KRAMA
7. Shell Programming and Scripting
I am trying to find for the pattern in first 5 bytes of every line in a text file and then generate a new file with the pattern found.
Example: expected pattern is '-' to be serached in first 5 bytes of file only.
... (2 Replies)
Discussion started by: net
8. Shell Programming and Scripting
in the file attached how parse the data to be like a normal table
:D (3 Replies)
Discussion started by: saifsafaa
9. Shell Programming and Scripting
Forgive the daft requests - I'm still a learner :D
I need a script so that I can test another script (I'm confused already) The script I am looking for should generate a new file in the same directory (called newfile1 or what ever) and also generate text within the new file (Hello world? What... (1 Reply)
Discussion started by: JayC89
10. Filesystems, Disks and Memory
ive looked around for software to do this in linux, but am still not sure how to. i want to be able to mount a cdr and write to it and be able to take the disk out and finish writing whatever i want to it at a later time. can we do this in linux? (4 Replies)
Discussion started by: norsk hedensk
PMDAMYSQL(1) Performance Co-Pilot PMDAMYSQL(1)
pmdamysql - MySQL database PMDA
pmdamysql is a Performance Co-Pilot PMDA which extracts live performance data from a running MySQL database.
pmdamysql uses a configuration file from (in this order):
This file can contain overridden values (Perl code) for the settings listed at the start of pmdamysql.pl, namely:
o database name (see DBI(3) for details)
o database user name
o database pass word
Once this is setup, you can access the names and values for the mysql performance metrics by doing the following as root:
# cd $PCP_PMDAS_DIR/mysql
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/mysql
pmdamysql is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
Binary Status values in text
Some of the status values are in the form of YES/NO or ON/OFF.
Since these cannot be intepreted by tools like PMIE, they have been duplicated with a _num extension and the values of 1 (YES/ON) or 0
configuration file for all PCP database monitors
configuration file for pmdamysql
installation script for the pmdamysql agent
undo installation script for the pmdamysql agent
default log file for error messages from pmdamysql
pmcd(1), pmdadbping.pl(1) and DBI(3). # vi: sw=4 ts=4 et:
3.8.10 Performance Co-Pilot PMDAMYSQL(1)