02-07-2020
Thanks so much! That fixed it. This will really make me look like I know what I'm doing come Tuesday when the report is used.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hello:
I am a somewhat experienced unix user, but brand new to this forum. I am encountering a strange new problem.
I have a shell script called foo.ksh it has been running for years (literally) on my Sun (Solaris 8) machine.
Recently we put a version of samba on this machine to... (3 Replies)
Discussion started by: smcadoo
3 Replies
2. Shell Programming and Scripting
This works if it's not in a function. I pulled it into one and I get syntax error, no mathcing '<'. I have to call it several times and need it to be a function. Any ideas?
function FTP_Engine_File {
ftp -inv ${FTP_SERVER} << EOF_FTP >> ${FTP_LOG}
user ${FTP_USER} ${FTP_PSWD}
... (4 Replies)
Discussion started by: brdholman
4 Replies
3. Shell Programming and Scripting
Hi
Is there a way to get the program/script name or function name usng built ins.
Like in many languages arg holds the program name
regards (2 Replies)
Discussion started by: xiamin
2 Replies
4. Shell Programming and Scripting
Hi,
i have following line in my code.
eport.pl < $4 | dos2ux | head -2000 | paste -sd\| - | awk -v S="$1" '
Issue is, i get a message saying "awk:input line | found /file/path cannot be longer than 3000 bytes."
"source line number is 3"
Can someone help me with this please? (4 Replies)
Discussion started by: usustarr
4 Replies
5. Solaris
This is a fairly complex issue. I do not have a lot of knowledge on X11. But here are the things.
I am running a program called Synergy off a Solaris server. The server sits in a remote network and can be accessed via NAT. Using Putty, I will enable X11 forwarding and launch Synergy via Putty.... (0 Replies)
Discussion started by: Leion
0 Replies
6. Shell Programming and Scripting
Guys,
I want to get the high CPU utilization from top.
I am using below code :
top -d2 >> /home/dba_monitoring/host_top_output.txt
echo "Script started `date`" > $runlog
usage=`grep "^ *$1" /home/dba_monitoring/host_top_output.txt | awk '{print $12}' | sed 's/%//'`
And getting below... (7 Replies)
Discussion started by: wahab
7 Replies
7. Shell Programming and Scripting
hi,
im looking to write a script to end user sessions which are on a paticular program and have been for over an hour so I can free up the system a bit.
I understand that the "who" command lists the current users logged into the system, however it does not let me see what program they are on... (12 Replies)
Discussion started by: 02JayJay02
12 Replies
8. UNIX for Dummies Questions & Answers
Hi !
It is a general question.
When an awk script looks like:
#! bin/awk
function example(i){
<body>
}
{
example(1) #the function uses input_1 and return output_a
}
{
example(2) #the function uses previous output_a as an input and returns... (15 Replies)
Discussion started by: beca123456
15 Replies
9. UNIX for Dummies Questions & Answers
Hi Friends,
Could you please tell me why i am getting the below eror while working with awk. I am confused :confused: what to do ?
awk: 0602-591 String 1,9,20,6,6 cannot be longer than 399 bytes. The source line is 1.
The error context is
>>> <<<
awk: 0602-591... (2 Replies)
Discussion started by: i150371485
2 Replies
10. UNIX for Beginners Questions & Answers
HI
can someone help me to check the process running more than 2 hours.
I have the below command which shows the time and process id, however, I only need the processes running more than 2 hours. (8 Replies)
Discussion started by: Vinod
8 Replies
LEARN ABOUT DEBIAN
backupninja.conf
BACKUPNINJA.CONF(5) backupninja package BACKUPNINJA.CONF(5)
NAME
BACKUPNINJA.CONF - Configuration file(s) for backupninja (1).
SYNOPSIS
/etc/backupninja.conf
DESCRIPTION
backupninja.conf is the general configuration file. In this file you can set the log level and change the default directory locations. You
can force a different general configuration file with "backupninja -f /path/to/conf".
OPTIONS
loglevel
How verbose to make the logs.
5 = Debugging messages
4 = Informational messages
3 = Warnings
2 = Errors
1 = Fatal errors
reportemail
Send a summary of the backup status to this email address
reportsuccess
If set to 'yes', a report email will be generated even if all modules reported success.
reportwarning
If set to 'yes', a report email will be generated even if there was no error.
logfile
The path of the logfile.
configdirectory
The directory where all the backup action configuration files live.
scriptdirectory
Where backupninja handler scripts are found
usecolors
If set to 'yes', use colors in the log file and debug output.
when When to process each configuration file. The value used here will be applied for each configuration file. It is possibile to over-
ride this "when" in each each configuration file, see also section "Scheduling" in backup.d(5).
For example:
when = sundays at 02:00
when = 30th at 22
when = 30 at 22:00
when = everyday at 01 <-- the default
when = Tuesday at 05:00
These values for 'when' are equivalent:
when = tuesday at 05:30
when = TUESDAYS at 05
These values for 'when' are invalid:
when = tuesday at 2am
when = tuesday at 2
when = tues at 02
vservers
If you are using Linux-Vservers (http://linux-vserver.org), there are some special capabilities that different handlers have to make
vserver backups easier. See the example configuration files for each handler to configure the vserver specific variables.
DEFAULTS
loglevel = 4
reportemail = root
reportsuccess = yes
reportwarning = yes
logfile = /var/log/backupninja.log
configdirectory = /etc/backup.d
scriptdirectory = /usr/share/backupninja
usecolors = yes
when = everyday at 01:00
vservers = no
SEE ALSO
backupninja(1), ninjahelper(1), backup.d(5),
AUTHOR
BACKUPNINJA was written by the riseup.net collective.
riseup November 19, 2005 BACKUPNINJA.CONF(5)