10 More Discussions You Might Find Interesting
1. Programming
I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
Discussion started by: advorak
2 Replies
2. Shell Programming and Scripting
Hello There,
There are more than 1000 files in my log folder and i want to zip it to relase the space. But my method throwing
syntax error due to the multi part file name, how to overcome in this ?
ls -lart | grep "MDB_Kernel11.1_gwlog_SUN 22_09_2013" | awk '{print $9,$10,$11,$12}' | head... (8 Replies)
Discussion started by: gowthamakanthan
8 Replies
3. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
4. Shell Programming and Scripting
Hi all,
I want to retrieve a part of the mail ID.
Im using Ksh.
The mail ID's i handle are of the type:
abc.def@ghi.com
I want the abc part alone.
Here is the code i used:
a=`echo $mailid |sed 's/\(.*\)..../\1/'`
echo $a
but the output i get is abc.def@ghi
I dont know... (2 Replies)
Discussion started by: Jayaraman
2 Replies
5. Shell Programming and Scripting
hi,
i want to send last 10 lines of a file.. How can acheive that.
i tried this, but it is not working.
mailx -s "$SUBJ" $MAIL_ID < $LOGFILE|tail -10
Can somebody guide me... (2 Replies)
Discussion started by: bang_dba
2 Replies
6. Shell Programming and Scripting
Hallo!
I have generated lots of data file which all having this format:
sp*t1overt2*.txt
Now I want to change them in this way:
sp*t2overt1*.txt
The rest of the file names stay unchanged. I know this is kind of routine action in sed or awk, but dont know how! I tried this command:
... (6 Replies)
Discussion started by: forgi
6 Replies
7. Shell Programming and Scripting
Hi,
We are using KSH.
I was able to write a script where a mail is sent to the concerned persons and this is working perfectly file. I need to give a different color to a part of the data in the mail which. The script written is as follows;
(echo "From: $REPLY"
echo "To: $DLIST"
echo... (6 Replies)
Discussion started by: jmathew99
6 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
not sure if I am in the right place but here is my question.
I have a file that is over 100mb and my host does not allow FTP of files above 100mb so I thought I would use a compression utility to compress it into smaller parts say 10mb each, upload them and then re-assemble them on... (7 Replies)
Discussion started by: gffb
7 Replies
9. UNIX for Dummies Questions & Answers
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies
10. UNIX for Dummies Questions & Answers
I presently use the php function mail() to send to a mailing list with over 5000 recipients. Even with blind copy, I get timed out and the process takes too long.
I would like to set the job up as a background job. Can someone help me with the shell code for sending mailing as a background job. (2 Replies)
Discussion started by: HungryH
2 Replies
MYLOADER(1) mydumper MYLOADER(1)
NAME
myloader - multi-threaded MySQL loader
SYNOPSIS
myloader --directory = /path/to/mydumper/backup [OPTIONS]
DESCRIPTION
myloader is a tool used for multi-threaded restoration of mydumper backups.
OPTIONS
The myloader tool has several available options:
--help Show help text
--host, -h
Hostname of MySQL server to connect to (default localhost)
--user, -u
MySQL username with the correct privileges to execute the restoration
--password, -p
The corresponding password for the MySQL user
--port, -P
The port for the MySQL connection.
Note For localhost TCP connections use 127.0.0.1 for --host.
--socket, -S
The UNIX domain socket file to use for the connection
--threads, -t
The number of threads to use for restoring data, default is 4
--version, -V
Show the program version and exit
--compress-protocol, -C
Use client protocol compression for connections to the MySQL server
--directory, -d
The directory of the mydumper backup to restore
--database, -B
An alternative database to load the dump into
Note For use with single database dumps. When using with multi-database dumps that have duplicate table names in more than one database
it may cause errors. Alternatively this scenario may give unpredictable results with --overwrite-tables.
--queries-per-transaction, -q
Number of INSERT queries to execute per transaction during restore, default is 1000.
--overwrite-tables, -o
Drop any existing tables when restoring schemas
--enable-binlog, -e
Log the data loading in the MySQL binary log if enabled (off by default)
--verbose, -v
The verbosity of messages. 0 = silent, 1 = errors, 2 = warnings, 3 = info. Default is 2.
AUTHOR
Andrew Hutchings
COPYRIGHT
2011, Andrew Hutchings
0.5.1 June 09, 2012 MYLOADER(1)