Questions tagged [delay]

50 questions
55
votes
5 answers

Run command after a certain length of time has elapsed?

If I'm executing a long process, is there any way I can execute some time-based commands? For example, I'm running a really long process which runs for roughly 10 minutes. After 5 minutes, I would like to run a separate command. For illustration,…
Aniket Bhattacharyea
  • 1,015
  • 2
  • 12
  • 20
12
votes
6 answers

at some time from now do something (and maybe also show result in console)

I use Ubuntu server 16.04 and I desire to use the utility at in my current session to do something 1 minute from now (say, an echo), without giving a specific date and time - just 1 minute ahead from current time. This failed: echo 'hi' | at 1m The…
Arcticooling
  • 1
  • 12
  • 44
  • 103
9
votes
1 answer

delay to get password prompt when ssh'ing to a public server

i have a server (debian 7) setup in my university with public ip. when I ssh into the system (from outside the campus), I get a weird delay of 5-10 seconds before I get the password prompt. Why is that? I run ssh -v to get verbose output: debug1:…
nass
  • 1,438
  • 8
  • 19
  • 35
5
votes
2 answers

Tc qdisc delay not seen in tcpdump recording

I have two linux containers connected with a veth-pair. At veth-interface of one container I set up tc qdisc netem delay and send traffic from it to the other container. If I watch traffic on both sides using tcpdump/wireshark it can be seen that…
JenyaKh
  • 304
  • 4
  • 14
4
votes
1 answer

Delay some localhost traffic

How to delay some localhost traffic? (the computer is a VM, but hopefully that won't matter) The following creates a new interface and tries to apply tc to it: ifconfig lo:1 127.0.10.10 netmask 255.0.0.0 up tc qdisk add dev lo:1 root netem delay…
M K
  • 161
  • 5
4
votes
1 answer

Adjusting keyboard delay in a TTY?

When using a TTY login shell by entering e.g. Ctrl+Alt+F1 on Debian Jessie. There is an inhuman fast delay, specifically, these values are set (250ms): root@VB-NB-Debian:~# kbdrate Typematic Rate set to 10.9 cps (delay = 250…
Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
3
votes
1 answer

Weird I/O stalls affecting a whole desktop

After a recent hardware migration I started experiencing weird I/O stalls affecting my desktop Debian Stretch system. Typical symptoms, all happening during each stall: I stop being able to interact with Chromium, my web browser. Nothing works:…
liori
  • 612
  • 4
  • 12
3
votes
0 answers

Why does a high IO rate on an external disk degrade performance of the whole system?

I'm running a variant of Debian (Proxmox Virtual Environment) on my HP server, and I've noticed a strange quirk: while performing a backup to a USB drive (usually around 20 gigabytes worth of data, so it takes a while), naturally I experience a lot…
3
votes
0 answers

Limit access/transmit rights on NIC to a single user application

I currently have a RT patched linux machine and I need to have full and undelayed access to my Wired interface card. I am running a realtime non-preemtable user application which sends a couple of Ethernet frames every 70~ microsecond. However,…
Rami
  • 43
  • 2
3
votes
1 answer

Sending email out at a specific time

I'd like to write emails now and have them go out at some specific time in the future, eg. when the office opens in the morning. What would be a good way to do that ? Most user agents don't support this feature. That makes sense to me, because you…
Gene Vincent
  • 203
  • 2
  • 8
3
votes
1 answer

Understand debug messages from sshd

I'm using OpenSSH_5.8p1 in my machine,I'm connecting my machine using putty client but its slower so I have ran sshd in debug mode and found following messages can any one explain me in detail about each messages? debug1: sshd version…
Rahul Dhobi
  • 2,037
  • 3
  • 14
  • 11
3
votes
1 answer

How to make some initscript start after delay at boot?

I want to run a thing that may disrupt the system (or remote access to it) if something goes wrong (for example, misconfiguration). To reduce problems I want to have a "grace period" after the system already started, but before "dangerous" service…
Vi.
  • 5,528
  • 7
  • 34
  • 68
2
votes
1 answer

Excessively slow boot after normal shutdown, but not after forced power off

Note: I had posted this on Ask Ubuntu, but was told that forum is for questions related to real Ubuntu, only. I was advised to post here, so I'm moving the question over here. I have installed Zorin-OS Education Lite 32bit on my aged Thinkpad T43p.…
phunsoft
  • 178
  • 8
2
votes
0 answers

How can I delay/queue all disk activity on a certain directory/disk until a certain point?

I would like to be able to issue a command in a script that would stop disk activity to a certain directory (or disk) and queue it until I issue another command that would 'resume' the disk and all disk activity happening while the disk was stopped…
2
votes
1 answer

Boot delay due to systemd device start job timeout

Problem description I've taken to finally address the issue of my system booting slower than it should. My first step was to have a look at the boot log, which showed the start job for a device timing out and directly afterwards failing the…
deemel
  • 147
  • 1
  • 8
1
2 3 4