102-500 · Question #90
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
The correct answer is D. ulimit. ulimit is the correct answer because it is the shell built-in command that controls resource limits for processes in a user's session, including the maximum size of core dump files (set with ulimit -c). edquota and quota are disk quota management tools that control filesystem…
Question
Options
- Acore
- Bedquota
- Cquota
- Dulimit
- Ektrace
How the community answered
(56 responses)- A5% (3)
- B4% (2)
- C2% (1)
- D80% (45)
- E9% (5)
Explanation
ulimit is the correct answer because it is the shell built-in command that controls resource limits for processes in a user's session, including the maximum size of core dump files (set with ulimit -c). edquota and quota are disk quota management tools that control filesystem space and inode usage for users, not process resource limits. core is not a standard Unix command - it's just the name of the dump file itself. ktrace is a BSD kernel tracing utility used to record system calls, not to set resource limits.
Memory tip: Think of ulimit as "user limits" - it's the one command that puts a ceiling on what system resources a user's processes can consume, including CPU time, file sizes, and yes, core dump sizes.
Topics
Community Discussion
No community discussion yet for this question.