Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 158244 Details for
Bug 242641
[Feature] Include dslimit utility in RHEL5 Distribution
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
dslimit
dslimit (text/plain), 1.42 KB, created by
IBM Bug Proxy
on 2007-06-29 18:40:31 UTC
(
hide
)
Description:
dslimit
Filename:
MIME Type:
Creator:
IBM Bug Proxy
Created:
2007-06-29 18:40:31 UTC
Size:
1.42 KB
patch
obsolete
>#!/bin/bash ># ># This program is free software; you can redistribute it and/or modify ># it under the terms of the GNU General Public License as published by ># the Free Software Foundation; either version 2 of the License, or ># (at your option) any later version. ># ># This program is distributed in the hope that it will be useful, ># but WITHOUT ANY WARRANTY; without even the implied warranty of ># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ># GNU General Public License for more details. ># ># ># Copyright IBM Corporation (C) 2005, 2006, 2007 ># ># Author: John Kacur <jkacur at ca.ibm.com> > > ># dslimit = dynamic soft cpu limit. ># ># Usage: dslimit [<seconds | unlimited> prog [program parameters ...]] ># ># This program allows you to quickly change the soft cpu time limit ># without modifying the default limit in your current shell ># ># Example 1 ># This example runs cmvc without any cpu time limit in the background ># dslimit unlimited cmvc & ># ># Example 2 ># This example runs a java program with a 60 second timeout ># dslimit 60 javaprog ># > >usage() { > echo "dslimit [<seconds | unlimited prog [program parameters ...]]" > echo > echo "dslimit without options will print the current soft cpu time limit" > echo > echo "dslimit seconds prog will run the program with a soft cpu time" > echo "specified in seconds" > exit 0 >} > >case $1 in -h*|--h*) usage ;; esac > >if [ $# -eq 0 ]; then > ulimit -St >else > (ulimit -St $1; shift; "$@") >fi > >exit 0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 242641
:
156190
|
158080
|
158242
|
158244
|
158281
|
158379
|
158381
|
158874
|
158875
|
159371