[BusyBox 0000680]: timeout applet (new feature)

bugs at busybox.net bugs at busybox.net
Tue Jul 11 08:08:17 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=680 
====================================================================== 
Reported By:                robang74
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   680
Category:                   New Features
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             02-03-2006 02:18 PST
Last Modified:              07-11-2006 01:08 PDT
====================================================================== 
Summary:                    timeout applet (new feature)
Description: 
Puts in run a command line and if it does not terminate within a           
                                                          specified timeout
it signal with a specified signal the commands and all its children. In
both case report the exit status of the command and it is able to save it
also in a file which could after read by a script or other command. It
does NOT need /proc mounted.                                              
                         

[roberto at wsraf busybox]$ ./busybox timeout --help
BusyBox v1.1.1-pre0 (2006.02.03-09:48+0000) multi-call binary

Usage: timeout [-v] <timeout_in_sec> [-f exit_status_file] [-s int_signal]
"<command line>"

Runs the "command line" within a timeout window and returns its status.
Options:
        -v      Displays verbose resource usage information
        -f      File name in which save the exit status
        -s      Signal to send to the command line and its children 
                after timeout expired






 
                                                                          
                                    

====================================================================== 

---------------------------------------------------------------------- 
 robang74 - 07-11-06 01:08  
---------------------------------------------------------------------- 
Version 0.2.7 applies against busybox v1.1.3, changelog:
a) http://busybox.net/bugs/view.php?id=471#600bytes less than previous applet
version
b)     1 bug less than previous applet version
c)     added regression test in testsuite     

[roberto at GEDX0327 busybox-1.1.3]$  size libbb/talarm.o
   text    data     bss     dec     hex filename
   1176      20      12    1208     4b8 libbb/talarm.o

[roberto at GEDX0327 busybox-1.1.3]$ size miscutils/timeout.o
   text    data     bss     dec     hex filename
    316      24       0     340     154 miscutils/timeout.o 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-03-06 02:18  robang74       New Issue                                    
02-03-06 02:18  robang74       Status                   new => assigned     
02-03-06 02:18  robang74       Assigned To               => BusyBox         
02-03-06 02:18  robang74       File Added: timeout_applet.tgz                   

02-03-06 02:18  robang74       Issue Monitored: robang74                    
07-11-06 01:08  robang74       Note Added: 0001515                          
======================================================================




More information about the busybox-cvs mailing list