Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Limit number of files transferred Post 303010483 by Janarthan on Tuesday 2nd of January 2018 08:25:21 AM
Old 01-02-2018
SFTP
in example i mentioned as 10. but in practical I've more than lakhs of files and while doing mget all the files my server memory getting overloaded. To avoid this we're planning to process it by reducing the files count and process it as a batch of 5000 files
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

limit to number of files in a given directory

Everyone, We are on a unix AIX 4.3 platform and our application is written as such that all configuration files must reside in a specific directory. Currently there are over 10,000 files in this directory (and growing at about 300 per month). My question is is there a physical limit to the... (2 Replies)
Discussion started by: hedrict
2 Replies

2. Shell Programming and Scripting

How to know number files transferred

Hi, I am transferring files from our local server to remote server using FTP command in a shell script. I am using a the following code, FTPFILE="ercchk*.txt" mput $FTPFILE can any one help me out in calucalating the number of files transfered. help in this regard is highly... (9 Replies)
Discussion started by: azazalis
9 Replies

3. Shell Programming and Scripting

limit the number of jobs to run.

i just want to get the BackGround status and limit the number of jobs to run the at a time. can i able get the back ground exit status ? that i code below. can jobs -l limit the number of jobs to run ? total is this script looks fine ? cat run_job.ksh #!/usr/bin/ksh... (0 Replies)
Discussion started by: GrepMe
0 Replies

4. UNIX for Dummies Questions & Answers

Number of long limit

Hi Hi! I'm currently using AIX 5.2 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want give a 2 login per user but some one to give 3 login and some one have to give unlit login time (without logging off the... (2 Replies)
Discussion started by: herath
2 Replies

5. Solaris

How to limit number of Commands

Is there a way that I can limit number of commands that one user can run during period of time. For example Max 10 commands per senconds.:) (3 Replies)
Discussion started by: winger0608
3 Replies

6. UNIX for Dummies Questions & Answers

How files can be transferred from one system to another securely using Linux?

i need to know how files can be transfered from one system to another securely in linux. (9 Replies)
Discussion started by: bibing
9 Replies

7. UNIX Desktop Questions & Answers

limit number of sub-dirs searched for files

using: find . -type f -print|xargs -li "string", how do I limit the dated directories (2010-7-14, 2010-7-13,etc.) to just 2009 & 2010 years of directories to search. We go back to 2004 in our archives, way too many files. (3 Replies)
Discussion started by: MJThom713
3 Replies

8. UNIX for Dummies Questions & Answers

Limit Number of files

hi guys how can i limit number of files in a disk or partition ? or how can i make a limit to inode number for a disk or partition ? ext3 or ext4 file system (1 Reply)
Discussion started by: mhs
1 Replies

9. Solaris

How do files transferred via ftp or sftp gets thier permissions at destination?

We have umask defined under /etc/.login as 022. I have my user specific umask defined in /userhome/.login as 002. I understand ftp will not execute anything at destination, it simply transfers files. But it seem to be using 022 as umask for the files transferred. How does ftp knows what umask... (4 Replies)
Discussion started by: kchinnam
4 Replies

10. Shell Programming and Scripting

How to check whether files are transferred or not using ftp?

Hi, i want to execute a shell script which transfers files from one server to another using ftp in unix. How can i check whether the ftp is successful or not.(i.e files are transferred to destination server). because if i am checking the return code of ftp, it always shows 0 (denoting ftp is... (5 Replies)
Discussion started by: Little
5 Replies
uucico(8)						      System Manager's Manual							 uucico(8)

NAME
uucico - Transfers uucp command, data, and execute files to remote systems SYNOPSIS
uucico [-r role_number] [-x debug_level] [-s system_name] FLAGS
The role_numbers are 1 for server mode and 0 (zero) for client mode. The default is 0 (zero). If uucico is started manually, set this flag to 1. Displays debugging information on the screen of the local terminal. The valid range for debug_level is 0 to 9. The higher the number, the more detailed the final report. This flag is useful in correcting problems with the expect_send sequence in the Systems file. The name of the remote system. Use only when starting uucico manually. The system_name is supplied internally when uucico is started automatically. Note that system names must contain only ASCII characters. DESCRIPTION
The uucico daemon transports uucp Command (C.*), Data (D.*), and Execute (E.*) files created by the uucp and uux commands to a specified remote system. Both the local and remote systems run the uucico daemon, and the two daemons communicate with each other to complete trans- fer requests. The uucico daemon performs the following actions: Scans the spooling directory (/usr/spool/uucp/system_name) on the local system for trans- fer requests. Selects the device used for the communications connection after checking the /usr/lib/uucp/Devices file and the lock files in the /var/spool/locks directory. Places a call to the specified remote system using information in the Systems, Dialers, and Dialcodes files located in the /usr/lib/uucp directory. Performs the required login sequence specified in the Systems file. Checks permissions listed in the /usr/lib/uucp/Permissions file. Checks scheduling limits in the Maxuuscheds and Maxuuxqts files located in the /usr/lib/uucp directory. Runs all transfer requests from both the local and the remote system, placing the transferred files in the public directories (/usr/spool/uucppublic/*). Logs transfer requests and completions in files in the /usr/spool/uucp/.Log/uucico directory. Notifies speci- fied users of transfer requests. Usually the uucico daemon is called by the uucp and uux commands when needed, and is started periodically by the uucp scheduling daemon, uusched, which is started by the cron daemon. The uucico daemon can be started from the command line for debugging. The uucp command uutry also starts uucico with debugging turned on. In the case of a uux command request for the execution of a command on a remote system, the uucico daemon transfers the files, and the uuxqt daemon executes the command on the remote system. ENVIRONMENT VARIABLES
The following environment variables affect the execution of uucico: Specifies the flow control used on the connection. Permitted values are: HW (hardware), SW (software), HSW (hardware and software), and NONE. The uugetty on the remote system must also use the same flow con- trol. Specifies the amount of time (in seconds) for uucico to try to establish a connection before it times out. A value of 0 (zero) indicates an unlimited amount of time. EXAMPLES
To start the uucico daemon from the command line as a background process and contact the remote system hera, enter: /usr/lib/uucp/uucico -r1 -shera & To debug uucico connections, start the uucico daemon with the -x flag, and enter: /usr/lib/uucp/uucico -r1 -svenus -x9 FILES
Specifies the command path The uucp configuration files Contains lock files that prevent multiple uses of devices and multiple calls to systems Contains all the configuration files for uucp Contains information about available devices Contains dial-code abbreviations Speci- fies initial handshaking on a link Limits scheduled jobs Limits remote command executions Describes access permissions for remote systems Describes accessible remote systems Lists uucico daemon errors that uucp cannot correct Contains uucico daemon log files Lists the last time a remote system was contacted and the minimum time until the next retry Contains C.*, D.*, and E.* files to be transferred by the uucico daemon Command files Data files Execute files Contains files after transfer by the uucico daemon RELATED INFORMATION
Commands: cron(8), uucp(1), uustat(1), uutry(1), uuto(1), uux(1) delim off uucico(8)
All times are GMT -4. The time now is 12:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy