Oracle Linux-How to Check users percentage of open files, processes and pending signals — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux-How to Check users percentage of open files, processes and pending signals

edited Jul 23, 2025 7:03AM in Linux

APPLIES TO:

Linux OS–Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9]
Linux x86_64 on Oracle Public Cloud
Oracle Cloud Infrastracture

GOAL:

This document explains how to check current user's percentage of open files, processes and pending signals on Oracle Linux instances and will show if we reach the maximum.

SOLUTION:

This script will collect and show in percentage who much processes, open files and pending signals the current user is using:

Save the following into a file, such as userpercentage.sh:

paste <(grep 'open files\|processes\|pending signals' \
/proc/self/limits | cut -c27-38) \
<(i=`whoami`
lsof -n -u $i 2> /dev/null |

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!