Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Delay of upto 7 seconds after typing in putty Post 302889704 by Scrutinizer on Sunday 23rd of February 2014 09:53:29 AM
Old 02-23-2014
Maybe here:

-v option:
Quote:
3.8.3.3 `-v': increase verbosity
and
Quote:
4.2 The Logging panel
and
Quote:
3.2 Creating a log file of your session
http://the.earth.li/~sgtatham/putty/0.63/puttydoc.txt
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

limiting characters upto <xyz> columns

Hi, Recently i did some code changes in one of the text file. During the code review,i've been asked to allign the comments in this file to XYZ columns(say XYZ=40). Now the problem is that this file is a huge one and it would be really pathetic if i go ahead and do it manually. I think... (1 Reply)
Discussion started by: amit4g
1 Replies

2. Shell Programming and Scripting

How to delay the process for few seconds

Hi, In my shell script, (as per the requirement), I am creating few files, and the processes are launched parallelly . (by using "&" at the end of the command line). As per the logic, I need to remove these files as well, after creating. But, the problem is, due to parallel processing,... (3 Replies)
Discussion started by: jitendriya.dash
3 Replies

3. Shell Programming and Scripting

delete line upto the nth occurence of a particular charachter.

hi all i want to delete a line upto a particular character. here is example. cp cms/images/wifi-zone.png i want to delete the line till . (cp cms/images/wifi-zone.) so the output wud be "png" only how can i do it? also please note down that dot (.) can also occur multiple... (12 Replies)
Discussion started by: kashifv
12 Replies

4. UNIX for Dummies Questions & Answers

Command to delay password entry - putty connection manager

Hi all, putty connection manager is great but when attempting to sudo or ssh to another box via the post login commands it is subject to issues due to network latency (what happens is that pcm enters the password before the unix box is ready to receive it). Is there any clever way I can make... (1 Reply)
Discussion started by: skinnygav
1 Replies

5. UNIX for Advanced & Expert Users

How to get access time of a file upto the precision of seconds?

Hi , How can I get the last access time of a file upto the precesion of seconds in Unix. I cannot use stat as this is not supported. (10 Replies)
Discussion started by: kanus
10 Replies

6. Shell Programming and Scripting

Read flat file upto certain number of columns

Hello Guys Please help me with the below issue I want to read a flat file source upto certain number of columns Say my flat file has 30 columns but I want to read upto 25 columns only How come the above issue can be addressed? Thanks a lot!!!! (1 Reply)
Discussion started by: Pratik4891
1 Replies

7. UNIX for Advanced & Expert Users

Print particular time upto the next occurance

Hi Guys, I am having some issue in one aspect. I am having data like - 00:00 X-1 Y-1 Z-4 A-5 E-6 . . . . 01:00 Z-9 X-1 Z-5 A-8 E-7 (2 Replies)
Discussion started by: aniketdixit
2 Replies

8. UNIX and Linux Applications

Limit Website access upto specific count

Hi to all, I am new to Linux. but i am facing issue with my web server in Ubuntu 11.10. In my webserver i want to restrict maximum users website access (e.g., suppose i want to restrict users to access web to 250 persons in single time). So can you please suggest me to how to do that in... (1 Reply)
Discussion started by: Chintanghanti
1 Replies

9. Shell Programming and Scripting

How to round up value upto 2 decimal places using sed?

Please help me in rounding up value upto 2 decimal palces using sed command #!/usr/bin/bash a=15.42 b=13.33 c=`echo $a*$b |bc -l` echo $c above code is is giving output "205.5486" but i want the output as "205.55" Thank you... (15 Replies)
Discussion started by: ranabhavish
15 Replies

10. AIX

Getting files through find command and listing file modification time upto seconds

I have to list the files of particular directory using file filter like find -name abc* something and if multiple file exist I also want time of each file up to seconds. Currently we are getting time up to minutes in AIX is there any way I can get file last modification time up to seconds. (4 Replies)
Discussion started by: Nitesh sahu
4 Replies
APT-SPY(8)						      System Manager's Manual							APT-SPY(8)

NAME
apt-spy - program to generate a /etc/apt/sources.list.d/apt-spy.list file SYNOPSIS
apt-spy -d distribution [ -a area ] [ -c config ] [ -e number ] [ -f file ] [ -i file ] [ -m mirror-list ] [ -o output-file ] [ -p proxy ] [ -s country-list ] [ -t time ] [ -u update-URL ] [ -w file ] [ -n number ] [ -h ] [ -v ] [ update ] DESCRIPTION
This manual page briefly documents the apt-spy command. apt-spy is a program that tests all of the Debian archive mirrors the user specifies for bandwith and writes, by default, to /etc/apt/sources.list.d/apt-spy.list the fastest server. The user can select which of the many Debian sites to benchmark by geographical location. apt-spy does not need to be run by root if the user provides a configuration file, a place where to store the mirror list and an output file. See examples for more details. OPTIONS
-d distribution Debian distribution to use. Sensible values would be `stable', `testing' or `unstable'. Distribution names can also be used. This value is directly used in the generated sources.list, and is required unless updating. -a area This will cause only servers in the specified area to be benchmarked. By default, valid values for area are `Africa', `Asia', `Europe', `North-America', `Oceania' and `South-America'. It is very easy to define your own areas or subset of servers to bench- mark. For further details see apt-spy.conf(5). -c config configuration file to use instead of /etc/apt-spy.conf. -e number `early finish'. Stop benchmarking after number of servers have been completed. Act as if all servers were benchmarked upon comple- tion. -f file file to grab from the Debian servers. By default apt-spy will test the servers by getting part of the `ls-lR' file in the base of the Debian tree on the mirror. This tells apt-spy to get file instead. It is assumed that this file is also relative to the Debian base directory. -i file use file as input for apt-spy. You should generate this input file using the -w option. -m mirror-list where to load the mirrors list from or where to save it to. The default location is /var/lib/apt-spy/mirrors.txt. Using this option allows you to specify a different location. When updating, this defines where the updated mirrors list will be saved. -o output-file location for the new sources.list. By default the new file is created as /etc/apt/sources.list. -p proxy use proxy as a proxy server. This should be specified as `hostname:port'. -s country-list A comma-separated list of countries to benchmark. At the moment, this cannot be used with the "area" option. -t time how long (approximately) in seconds to download for. By default time is 15 seconds. How long the benchmark actually downloads for varies due to the way libcurl works. With the default 15 seconds, the benchmark generally takes beween 10 and 25 seconds. Each server has potentially two protocols (ftp and http) so roughly one minute per server would be a reasonable estimate of how long it should take. Be aware that this does vary considerably, and that benchmarking any more than a very few servers takes considerable time (possibly several hours for `-a All'). -u update-URL specify custom URL to get an updated mirrors list from. This can be http, ftp, file, or any other URL type supported by libcurl. -w file write a number of top servers to file in a format suitable for use with the -i option. The number of servers to output can be speci- fied with the -n option, and defaults to 5. -n number the number of top servers to write with the -w option. update connect to http.us.debian.org and download the mirror list to /var/lib/apt-spy/mirrors.txt. The -u or -m options may be used to respectively specify a different URL for the mirrors list or a different location for the downloaded file. -v output a version number. -h print a short usage message. EXAMPLES
Non root usage: apt-spy -d stable -a Europe -m ./mirror.txt -o apt-spy.list -c apt-spy.conf Above command tests European mirrors for stable Debian release saving http://http.us.debian.org/debian/README.mirrors.txt into mirror.txt, writing source file into apt-spy.list using configuration from apt-spy.conf. Note that not root users need to specified all these parame- ters. Updating mirror list file: apt-spy update Creating the /etc/apt/sources.list.d/apt-spy.list file: apt-spy -d stable SEE ALSO
sources.list(5), apt-spy.conf(5), apt(8). AUTHOR
apt-spy and this manual page was written by Steven Holmes <steg@bsdeviant.org> and updated by Stefano Canepa <sc@linux.it>. The original version of apt-spy was written by Danny Rodriguez <messiah@optonline.net>. This version is a total rewrite. 17th December, 2011 APT-SPY(8)
All times are GMT -4. The time now is 08:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy