In the words of Dr Cathy Ryan, "If you don't write it down, it never happened".
To paraphrase one of my clients, "Every day is a school day".
I do, I learn, I share
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
My blog is PERSONAL, and is a repository of the stuff that I learn, play with, enjoy and want to share.
If you follow one of my tips, your mileage MAY well vary - Here be dragons :-)
Monday, 28 November 2016
Note to self - monitoring User Limits in GNU Linux
This came up last week, and is something that I need to keep an eye on.
These are some of the commands that one can/should use to monitor ulimit use on a Linux box: -
ps -Tp `pidof java`
top -H -p `pidof java`
pstree -p `pidof java`
for pid in $(pgrep java); do ls /proc/$pid/fd | wc -l; done