summaryrefslogtreecommitdiff
path: root/code/snippets/getrlimit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/snippets/getrlimit.rb')
-rw-r--r--code/snippets/getrlimit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/snippets/getrlimit.rb b/code/snippets/getrlimit.rb
new file mode 100644
index 0000000..bd21159
--- /dev/null
+++ b/code/snippets/getrlimit.rb
@@ -0,0 +1,2 @@
+p Process.getrlimit(:NOFILE)
+