Not sure if this info is still desired, but I have just finished an auto sftp script.
All servers run a script to backup files, then this script runs to gather all the output files and centralize.
ssh keys must be set up and working for script to work. hope it helps.
Hi All:cool:,
i tried to automate SFTP process after passwordless authendication.
Stil i am getting error...
Can anyone help....
-------------------
sample code below
-------------------
sftp -v $mdskk@100.4.4.75 << EOF
cd /data
mget *.tar.gz
bye
EOF... (2 Replies)
Hi,
Could you please help to solve the below issue...
my requirement is automate the SFTP between UNIX and Windows server.
I want to get and put some files to UNIX AIX machine(SFTP client) to Windows server(SFTP server).
For that, i have generated key pair (private/public) in my AIX machine .... (6 Replies)
Hi,
I read a couple of forum entries about scripting sftp using the '-b' option, but in my case it still prompts for the password. Does anyone have a sample script for an sftp block to 'get' files from the remote server without prompting for a password?
Both the remote and the local servers... (1 Reply)
How to automate sftp with out using expect script?
My batch file has the password but it is not taking. Please see below.
I want to use this sftp connection in a loop for pushing new files in a directory one at a time. Hence I can not use an expect script.
bash-2.05$... (5 Replies)
Hi all,
I have a task on my plate which is of high priority.
I need an automated email alert that checks FTP notices subdirectory on a daily basis and forwards any word files to a group of people. This word files gets created whenever there is an issue with FTP connectivity.
Please help...... (1 Reply)
Hi,
I'm using Sun Solaris OS. I have configured sftp and can exchange files in command prompt. Now when I try to automate it in ksh script, facing issue as I want to capture the status if the transfer was successful or not. So tried sftp -b and sftp -B option but its not working.
The... (3 Replies)
I am trying to use a for loop in my expect cmdFile that I am calling.
I want to be able to call either one file name or a series of file names in the working directory (that I won't know the names before hand) and then pass the names to the sftp program.
Something like for i in (ls *txt)
do (0 Replies)
Greetings, guys. I'm not much of a programmer forgive me for being a noob, because of someone leaving, I was put in an IT spot where I have to figure out a few things. Being new to Linux and programming has been a challenge.
My boss has asked me to create an automated script to connect to a 3rd... (7 Replies)
Hi, guys, I am trying to automate a sftp process using "expect" method (since the key authentication method is disabled in my company network, there is no helping it).
In order to try, I type in the command manually:
sftp @ > << EOF
>cd
>ls -l
>EOF
>Connecting to
@servername password:
... (3 Replies)
hi,
I am trying to automate a file download process using sftp. There is some logic to download files.
1) I need to login to destination server and then go to folder.
2) find list of files and count
3) using list of files I need to eliminate three selective files and download remaining... (1 Reply)
Discussion started by: getmilo
1 Replies
LEARN ABOUT DEBIAN
procmeter3-log
PROCMETER3-LOG(1) General Commands Manual PROCMETER3-LOG(1)NAME
procmeter3-log - A system monitoring / logging program.
SYNOPSIS
procmeter3-log [-h|--help] [--rc=<filename>] [--...] [...]
DESCRIPTION
ProcMeter Displays one or more pieces of information about the operating system and other resources. Most of the information that is dis-
played comes from the /proc filesystem. The program is modular and very configurable.
OPTIONS
The command line options are described below.
-h Provides a help message listing the available outputs. This will be different for different computers depending on the Linux kernel
version that is being used and the hardware/software that is configured.
--rc=<filename>
Load the specified .procmeterrc file in stead of the searching in the usual places.
--... A list of configuration file options that will override the values in the .procmeterrc file. The format of these options is (for
example) --library.path=/usr/local/procmeter3 which is equivalent to the entry in the .procmeterrc file of
[library]
path = /usr/local/procmeter3
All spaces around the equal sign must be removed and if spaces are required in the value on the right hand side then quotes must be
used around the entire command line option.
... A list of names of outputs that are to be displayed. This can include any of the outputs that are available (see the -h option).
For the CPU usage is in a module named Statistics with an output named CPU and there are graph (-g), text (-t) and bar (-b) options.
Since this version of the program does not display anything, but logs the data to a file it does not matter which one is chosen. To
store the CPU usage data you would use the command line option Statistics.CPU-t
USAGE
When started the program will log all of the requested information on the standard output (stdout). The outputs that are displayed are
those from the command line and those from the .procmeterrc configuration file.
MODULES
The modules that are available for procmeter3-log are described in the procmeter3_modules(1) manual page.
SEE ALSO procmeterrc(5)procmeter3_modules(1)AUTHOR
Andrew M. Bishop 1998-2007
July 3, 2010 PROCMETER3-LOG(1)