Anonymous | Login | 2024-11-12 19:40 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001418 | [1003.1(2016/18)/Issue7+TC2] Shell and Utilities | Comment | Enhancement Request | 2020-11-06 10:32 | 2024-06-11 09:08 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | ulimit | ||||||
Page Number | 3326-3327 | ||||||
Line Number | 111991-112065 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | See Note: 0005254. | ||||||
Summary | 0001418: Add options to ulimit to match get/setrlimit() | ||||||
Description |
Currently the ulimit utility only provides the means to query and set the RLIMIT_FSIZE soft limit. It should be able to query and set the hard limit, and also the soft and hard limits for the other resources that are specified for getrlimit() and setrlimit(). The -a option would also be useful. The proposed additions are widely supported. |
||||||
Desired Action |
Replace the NAME, SYNOPSIS, DESCRIPTION, OPTIONS, and OPERANDS sections on the ulimit page with: NAME ulimit -- report or set resource limits SYNOPSIS [XSI]ulimit [-H|-S] -a DESCRIPTION The ulimit utility shall report or set the resource limits in effect in the process in which it is executed. OPTIONS The ulimit utility shall conform to [xref to XBD 12.2]. OPERANDS The following operand shall be supported: Replace the STDOUT section on the ulimit page with: The standard output shall be used when no newlimit operand is present. Replace the APPLICATION USAGE, EXAMPLES, and RATIONALE sections on the ulimit page with: APPLICATION USAGE Since ulimit affects the current shell execution environment, it is always provided as a shell regular built-in. If it is called with an operand in a separate utility execution environment, such as one of the following:nohup ulimit -f 10000 env ulimit -S -c 10000it does not affect the limit(s) in the caller's environment. EXAMPLES Set the hard and soft file size limits to 51200 bytes:ulimit -f 100 RATIONALE The ulimit utility has no equivalent of the special values RLIM_SAVED_MAX and RLIM_SAVED_CUR returned by getrlimit(), as ulimit is required to be able to output, and accept as input, all numeric limit values supported by the system. Add XCU ulimit to the SEE ALSO section on the getrlimit() page. |
||||||
Tags | issue8 | ||||||
Attached Files | |||||||
|
Relationships | |||||||
|
Notes | |
(0005110) geoffclare (manager) 2020-11-09 10:38 edited on: 2020-11-24 10:04 |
Updated proposal... Replace the NAME, SYNOPSIS, DESCRIPTION, OPTIONS, and OPERANDS sections on the ulimit page with: NAME ulimit -- report or set resource limits SYNOPSIS [XSI]ulimit [-H|-S] -a DESCRIPTION The ulimit utility shall report or set the resource limits in effect in the process in which it is executed. OPTIONS The ulimit utility shall conform to [xref to XBD 12.2], except that: OPERANDS The following operand shall be supported: Replace the STDOUT section on the ulimit page with: The standard output shall be used when no newlimit operand is present. Replace the APPLICATION USAGE, EXAMPLES, and RATIONALE sections on the ulimit page with: APPLICATION USAGE Since ulimit affects the current shell execution environment, it is always provided as a shell regular built-in. If it is called with an operand in a separate utility execution environment, such as one of the following:nohup ulimit -f 10000 env ulimit -S -c 10000it does not affect the limit(s) in the caller's environment. EXAMPLES Set the hard and soft file size limits to 51200 bytes:ulimit -f 100 RATIONALE The ulimit utility has no equivalent of the special values RLIM_SAVED_MAX and RLIM_SAVED_CUR returned by getrlimit(), as ulimit is required to be able to output, and accept as input, all numeric limit values supported by the system. Add XCU ulimit to the SEE ALSO section on the getrlimit() page. |
(0005121) geoffclare (manager) 2020-11-24 10:09 edited on: 2020-11-24 10:13 |
Following discussions on the mailing list, I have updated Note: 0005110 as follows: * Applications are required to specify each option separately (as for c99). * Unspecified behaviour if a resource-selection option is repeated. * Output lines only need to include the units where the corresponding option description specifies the units to be used. One issue that remains is whether to keep the current requirement for multiple resource-selection options with no newlimit operand or to make the behaviour unspecified. This needs to be decided in a teleconference. |
(0005254) geoffclare (manager) 2021-03-01 16:41 edited on: 2021-03-04 16:17 |
Replace the NAME, SYNOPSIS, DESCRIPTION, OPTIONS, and OPERANDS sections on the ulimit page with: NAME ulimit -- report or set resource limits SYNOPSIS [XSI]ulimit [-H|-S] -a DESCRIPTION The ulimit utility shall report or set the resource limits in effect in the process in which it is executed. OPTIONS The ulimit utility shall conform to [xref to XBD 12.2], except that: OPERANDS The following operand shall be supported: Replace the STDOUT section on the ulimit page with: The standard output shall be used when no newlimit operand is present. Replace the APPLICATION USAGE, EXAMPLES, and RATIONALE sections on the ulimit page with: APPLICATION USAGE Since ulimit affects the current shell execution environment, it is always provided as a shell regular built-in. If it is called with an operand in a separate utility execution environment, such as one of the following:nohup ulimit -f 10000 env ulimit -S -c 10000it does not affect the limit(s) in the caller's environment. EXAMPLES Set the hard and soft file size limits to 51200 bytes:ulimit -f 100 RATIONALE The ulimit utility has no equivalent of the special values RLIM_SAVED_MAX and RLIM_SAVED_CUR returned by getrlimit(), as ulimit is required to be able to output, and accept as input, all numeric limit values supported by the system. Add XCU ulimit to the SEE ALSO section on the getrlimit() page. |
(0005255) Don Cragun (manager) 2021-03-04 16:24 |
Note: 0005254 was updated to change:If no options other than -H, -S, or -a are specified, the behavior shall be as if the -f option was (also) specified.to: If no options other than -H or -S are specified, the behavior shall be as if the -f option was (also) specified. |
(0005286) geoffclare (manager) 2021-03-19 09:47 |
When applying this bug I encountered a minor conflict with bug 0000854, which adds a new first paragraph to the ulimit APPLICATION USAGE. I kept that new paragraph and replaced the rest of APPLICATION USAGE with the content from Note: 0005254. |
Issue History | |||
Date Modified | Username | Field | Change |
2020-11-06 10:32 | geoffclare | New Issue | |
2020-11-06 10:32 | geoffclare | Name | => Geoff Clare |
2020-11-06 10:32 | geoffclare | Organization | => The Open Group |
2020-11-06 10:32 | geoffclare | Section | => ulimit |
2020-11-06 10:32 | geoffclare | Page Number | => 3326-3327 |
2020-11-06 10:32 | geoffclare | Line Number | => 111991-112065 |
2020-11-06 10:32 | geoffclare | Interp Status | => --- |
2020-11-09 10:38 | geoffclare | Note Added: 0005110 | |
2020-11-09 10:44 | geoffclare | Note Edited: 0005110 | |
2020-11-09 10:49 | geoffclare | Note Edited: 0005110 | |
2020-11-24 10:03 | geoffclare | Note Edited: 0005110 | |
2020-11-24 10:04 | geoffclare | Note Edited: 0005110 | |
2020-11-24 10:09 | geoffclare | Note Added: 0005121 | |
2020-11-24 10:13 | geoffclare | Note Edited: 0005121 | |
2021-03-01 16:41 | geoffclare | Note Added: 0005254 | |
2021-03-01 16:44 | Don Cragun | Final Accepted Text | => See Note: 0005254. |
2021-03-01 16:44 | Don Cragun | Status | New => Resolved |
2021-03-01 16:44 | Don Cragun | Resolution | Open => Accepted As Marked |
2021-03-01 16:45 | Don Cragun | Tag Attached: issue8 | |
2021-03-04 16:16 | geoffclare | Note Edited: 0005254 | |
2021-03-04 16:17 | geoffclare | Note Edited: 0005254 | |
2021-03-04 16:24 | Don Cragun | Note Added: 0005255 | |
2021-03-19 09:47 | geoffclare | Note Added: 0005286 | |
2021-03-19 09:47 | geoffclare | Status | Resolved => Applied |
2023-04-17 14:23 | geoffclare | Relationship added | related to 0001669 |
2024-06-11 09:08 | agadmin | Status | Applied => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |