Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

runalarm(1) [debian man page]

RUNALARM(1)						      General Commands Manual						       RUNALARM(1)

NAME
runalarm - enforce a time limit on execution of a process SYNOPSYS
runalarm [ -h ] runalarm [ -d ] [ -t timeout ] command [ args ] DESCRIPTION
runalarm tries to execute a command and, if the subprocess does not exit before a timer expires, tries to terminate that subprocess. Oth- erwise, the exit status of the command is returned. USAGE
-d Debug mode; send log messages to standard error as well as to the system log. -t timeout Specifies the duration, in seconds, for runalarm to allow the command to run. The default is 1d duration (86400 seconds). -h Prints some basic help. BUGS
Sending SIGALRM to runalarm before the timer has expired will cause the subprocess to be killed. SEE ALSO
runlock(1), runstat(1) AUTHOR
runalarm was written by Jamie Wilkinson <jaq@google.com>, based on some Python code by Craig Silverstein COPYRIGHT
This program is copyright (C) 2000-2010 Google, Inc. It is licensed under the Apache License, Version 2.0 Google, Inc. October 18, 2010 RUNALARM(1)

Check Out this Related Man Page

RUNLOCK(1)						      General Commands Manual							RUNLOCK(1)

NAME
runlock - prevent concurrent execution of a process SYNOPSYS
runlock [ -h ] runlock [ -d ] [ -f pathname ] [ -t timeout ] command [ args ] DESCRIPTION
runlock tries to hold an exclusive lock while it executes a command. Subsequent execution of runlock with the same lock, while that lock is held, will cause the new instance of runlock to terminate with a faliure exit code. Otherwise, the exit code of the subprocess is returned. USAGE
-d Debug mode; send log messages to standard error as well as to the system log. -f pathname Specifies the pathname of the file to use as a lock file. The default is to create a lock file in /tmp/cronutils-$USER with the name of the command, and suffix ".pid". -t timeout Specifies the duration, in seconds, for runlock to wait before giving up on trying to acquire the lock. The default is 5 seconds. -h Prints some basic help. BUGS
Sending SIGALRM to runlock before the timer has expired will cause the subprocess to be killed. SEE ALSO
runalarm(1), runstat(1) AUTHOR
runlock was written by Jamie Wilkinson <jaq@google.com>. COPYRIGHT
This program is copyright (C) 2010 Google, Inc. It is licensed under the Apache License, Version 2.0 Google, Inc. October 18, 2010 RUNLOCK(1)
Man Page

9 More Discussions You Might Find Interesting

1. Cybersecurity

Google Error: This site may harm your computer.

Anyone else seeing this error on every search result on Google today: This site may harm your computer. Which links to this page: Malware Warning Which says: (10 Replies)
Discussion started by: Neo
10 Replies

2. AIX

Unable to gunzip .tgz file in AIX6.1

Hi guys, This is my 1st post here. I tried to Google around but failed to get my solution. So I hope you guys could help me. (I have just a basic unix background for 2years so I'm sorry if im asking stupid questions) OS - Aix 6.1, 64 bits. Server - currently I only have telnet access to a... (12 Replies)
Discussion started by: pilotHans
12 Replies

3. Google Chrome OS

Google Chrome Operating System

Google Chrome OS is an open source Google project and will be available to use at no cost in 2010, initially be targeted at netbooks. In 2009, Google will open-source Chrome OS code. The software architecture is Google Chrome running within a new window manager on top of the Linux kernel. ... (20 Replies)
Discussion started by: Neo
20 Replies

4. UNIX for Dummies Questions & Answers

Sending through an external e-mail account

Hi guys. After several Google hours, i've failed to find a solution to my problem, maybe my google skills arent that good - but i hope someone could help me figure this out. I'm running a ubuntu server 11.04 with postfix installed. I have installed Request tracker 4 and configured it to read... (2 Replies)
Discussion started by: spirm8
2 Replies

5. UNIX for Dummies Questions & Answers

Copy duration of cp

Hello forum, i would like to ask if there's a way to view the remaining time of copying files (talking about copying gigabytes) while the cp commnad is running. I'm using OpenBSD 4.9 -stable. Thanx in advance. :) (2 Replies)
Discussion started by: sepuku
2 Replies

6. What is on Your Mind?

Google codesearch abandoned

I just found out that Google has decided to abandon its google code search facility: Official Google Blog: A fall sweep This is one website that was used routinely for developing software, as it had a breadth not seen before. Now it is back to sourceforge and forums. (5 Replies)
Discussion started by: figaro
5 Replies

7. What is on Your Mind?

A Look Around the Forumverse

Yesterday I took some time off and Google'd the top UNIX and then Linux forums to compare and contrast them; and I went and took a look at all of them, one at a time. I admit that I am guilty to being biased as "the inventor" , but this forum is a stunningly beautiful and easy to navigate site... (4 Replies)
Discussion started by: Neo
4 Replies

8. Programming

[Python] - subprocess issue

So I have this basic script, see below import subprocess import shlex command = "gcloud projects list" subprocess.check_output(shlex.split(command)) subprocess.check_call(shlex.split(command)) The subprocess.check_call(shlex.split(command)) actually return what I expect. It returns... (6 Replies)
Discussion started by: scj2012
6 Replies

9. What is on Your Mind?

Google Webmaster Tools Shows Problems with Soft 404 Errors

Well, Sorry, but I cannot seem to fix the problem with the steady decline of ranking for unix.com pages with Google. Google Webmaster Tools show that they are dropping our pages from the indexes more and more because of "Soft 404" errors which started after we moved to the new data center. ... (18 Replies)
Discussion started by: Neo
18 Replies