The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
54 views

Using GNU timeout when redirecting stdout to file

Suppose I have a executable which for which I want to log STDOUT and STDERR to separate files, like so: python write.py > out 2> err When I use this command with GNU timeout, my out file is ...
1
vote
1answer
1k views

How to display a .jpg file using fbi in a bash script for set amount of time and then execute the next command in the script

I am trying to use fbi in a bash script to display a series of .jpg images. But once fbi begins its process, it continues to cycle through the images and I only want to display each image once for a ...
1
vote
1answer
111 views

Find if a process terminates in a specific amount of time

I am running a program.Inside this program i run a specific command and i use ulimit command to terminate the running of that command if it exceeds an amount of time.To be more clear i run this: ...
1
vote
1answer
72 views

Can Linux programs be sent a SIGXXX command they can respond to in the UI?

I am trying out the timeout command and would like to know if there is a kill signal that a GUI program, whether a graphics desktop or a terminal program will treat as the user terminating the program ...
1
vote
1answer
894 views

rtorrent: 'Tracker Timeout' caused by IPtables

I'm trying to secure my rtorrent-running-homeserver with IPtables. With the aim to allow only incoming connections to the rtorrent port 6890 and 5292 for ftp (both are forwarded by the router), I ...
1
vote
1answer
447 views

TT-Connect CT2-4650 CI doesn't initialize (Timeout?)

I've tried to get a Techno Trend TT-connect CT2-4650 CI running under a Kali Linux, where I suppose the kernel is about the same as on a current Debian. The compilation ran just fine. The kernel ...
1
vote
1answer
4k views

iptables prevents connection via ssh after port change despite ACCEPT rule

I have two machines hooked up to a router, one Windows with PuTTY, and one CentOS 6.4 with sshd and with the default SELinux still enabled. They can both ping each other successfully. I installed ...
1
vote
1answer
2k views

SSH to machines in new subnet - connection timeout

I'm using RHEL4 and RHEL5. A new group of Linux machines are setup recently using 172.16.32.0/24. The existing RHEL machines are running on 172.16.1.0/22 and 172.16.4.0/22. When I try to ssh from ...
1
vote
0answers
76 views

6.0.7 Debian timeout if more connections at once

We are a some devs working on a Debian server. We are all connecting from one IP. So basically the server handles a lot of requests from the same IP. Now what happens from time to time, is that we ...
1
vote
2answers
47 views

Increasing the time for requests to complete

I have a one off web request that I need to send via a Wordpress page hosted on my server. The request takes a long time because it's processing a lot of data; unfortunately, the page returns with an ...
0
votes
2answers
97 views

Timeout function return value

I'm using the timeout function on debian to wait 5 seconds for my script. Works great but the problem I have is that I need a return value. Like 1 for timeout and 0 for no timeout How am I going to ...
0
votes
2answers
74 views

Simple http server from the command line that will always cause a timeout

Regarding the question Simple command line http server I would like to know, what is the simplest method for creating a http server listening on a specified port that will always cause timeout (it ...
0
votes
1answer
94 views

timeout pipeline

I want to execute these two timeout command on the same command but with a different time and instructions. So timeout --signal=SIGINT 5s command timeout --signal=SIGKILL 10s command How to append ...
0
votes
1answer
25 views

How to run `clear_console` in Bash when TMOUT happens?

How do I tell Bash to run a clear_console when the session is closed because of TMOUT?
0
votes
1answer
79 views

Other Programs Cannot Connect To MySQL

So just recently when installing php-fpm, I had installed a few MySQL packages with it (I believe). I already had mysql installed. However now when any of my programs attempt to access the database, ...
0
votes
1answer
2k views

Execute command for x seconds? [duplicate]

Possible Duplicate: Run a command for a specified time and then abort if time exceeds Is there a command which allows me to execute another command for at most x seconds? Imagined example: ...
0
votes
1answer
41 views

Silently timeout command in zsh

This is an oft-asked question: Superuser/loop-start-program-and-kill-after-time-out SO/bash-script-that-kills-a-child-process-after-a-given-timeout SO/bash-run-a-process-for-limited-time-period ...
0
votes
2answers
14 views

Simulate PostgreSQL query timeout

I would like to test the behaviour of a program which executes queries to a PostgreSQL server in case of a query timeout. How could I simulate that?
0
votes
0answers
30 views

timout command is not timing out

I have a timeout command that is not timing out. user@db:~$ ps aux | grep 'timeout' user 4979 0.0 0.0 4440 628 pts/144 S+ 18:52 0:00 sh -c timeout 16 mycommand user 4980 0.0 ...
0
votes
1answer
867 views

SNMP Timeout: No Response from 127.0.0.1

I recently cloned a centos 6.5 virtual machine from one location to another. In the process, the IP and netmask of the system changed. For awhile after the clone everything seemed to work fine, and ...
0
votes
0answers
144 views

VNC connection times out

I have a VNC server running on a box but can't connect to it over the internet and I don't know why. Here's what I have: on server $ ps ax | grep Xvnc 21304 ? S 0:00 Xvnc4 :1 -desktop ...
0
votes
0answers
354 views

Timeout a service

Is there a way to have systemd stop a service after it has been running for X amount of seconds? I looked at just wrapping ExecStart with timeout, however I believe it might not work if my service is ...
0
votes
1answer
1k views

OTRS installation error on openSuSE

I have a fresh, text-only installation of openSuSe 13.1 (physical server, old Samsung netbook), and I'm trying to get OTRS up and running. I've installed OTRS using the below commands. I don't think ...