Hi,
I want to create unix script such that it should run on machine A, it should run TAR commands on machine B and copy that TAR to machine C.
Is it possible?
Thanks
Rahul (2 Replies)
1.Daily there will be 14 files in the data directory
2.someday's the 14 files receive more than once r twice with different time stamps....we need to chk the count of the file and if the count of the file is two.we need to combine the both the files.
3. if any duplicate data is there just... (1 Reply)
Since I'm not an expert in shell scripting, I have question on sending script result to file. I have script like this...
if condition=0: then
echo "service is not running" | mail -s "Server Status" uname@companyname
fi
sleep 10
if configtion=1: then
echo "service is not running" | mail -s... (3 Replies)
Hi everyone and nice to meet you :)
I'm having some issues with a script I'm writing.
It's probably most chaotic, I'm no ksh guru, but the idea is to extract an ID with that query, spool it into a file, and read that file making the ID a variable. This has to be done for every row extracted by... (10 Replies)
Hello,
How can I run this script every 1 hour and save its result to result.txt
ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'
Regards
Shaan (5 Replies)
Hi,
I have a list file which has script names in them. Some scripts take lists as parameters which inturn have script names. This is basically for sequencing the job run.
Eg: List1:
test1.ksh
test2.ksh test2.lst
test3.ksh test3.lst
test4.ksh
test2.lst:
test21.ksh
test23.ksh... (7 Replies)
Hi All,
I am trying to create a CSV file within a shell script test.ksh and the code snippet is something like below:
#!/usr/bin/ksh
# Set required variables.
. $HOME/.prof
# Output file path
Group1=/tmp/G1.csv
Group2=/tmp/G2.csv
Group3=/tmp/G3.csv
$ORACLE_HOME/bin/sqlplus -s... (2 Replies)
Hello ,
I am looking for a script to print file name and its last updated time.
FILE CREATION-TIME FILE-NAME
24/10/2017 12:34 TDR-IU-8-2017.10.24.07:40:00-2017.10.24.07:45:00
when we run l command it print the directory and the files with details like permission,... (1 Reply)
Hi Folks,
I need a UNIX script which will copy files(Table wise) from source directory to destination directory (Under table directory) and also creates 2 additional files after getting copied to destination directory with extension .pdy and .ldy , . pdy file will be zero byte file should get... (4 Replies)
Discussion started by: Nicks1412
4 Replies
LEARN ABOUT CENTOS
tuned
tuned(8) Adaptive system tuning daemon tuned(8)NAME
tuned - dynamic adaptive system tuning daemon
SYNOPSIS
tuned [options]
DESCRIPTION
tuned is a dynamic adaptive system tuning daemon that tunes system settings dynamically depending on usage.
OPTIONS -c CONFFILE, --conffile=CONFFILE
Specify the name and path of the configuration file. By default the /etc/tuned.conf is used.
-d, --daemon
This options starts tuned as a daemon as opposed to in the foreground without forking at startup.
-D, --debug Sets the highest logging level. This could be very useful when having trouble with tuned.
-h, --help Show this help.
-l [LOG], --log[=LOG]
Log to the file LOG. If no LOG file is specified /var/log/tuned/tuned.log is used.
--no-dbus Do not attach to DBus.
-P [PID], --pid[=PID]
Write process ID to the PID file. If no PID file is specified /run/tuned/tuned.pid is used.
-p PROFILE, --profile PROFILE
Tunning profile to be activated. It will override other settings (e.g. from tuned-adm). This is intended for debugging pur-
poses.
-v, --version
Show version information.
FILES
/etc/tuned
/usr/share/doc/tuned-*/README
SEE ALSO tuned.conf(5)tuned-adm(8)AUTHOR
Jan Kalua <jkaluza@redhat.com>
Jan Velak <jvcelak@redhat.com>
Jaroslav karvada <jskarvad@redhat.com>
Phil Knirsch <pknirsch@redhat.com>
REPORTING BUGS
Report bugs to <power-management@lists.fedoraproject.org>.
Fedora Power Management SIG 28 Mar 2012 tuned(8)