FastNetMon

Saturday, 28 May 2011

Как посмотреть значения лимитов ulimit для конкретного процесса?

Вот так:
cat /proc/21231/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 193185 193185 processes
Max open files 1000000 1000000 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 193185 193185 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us

Где 21231 - это pid процесса, для которого нужно посмотреть лимит.

No comments :

Post a Comment

Note: only a member of this blog may post a comment.