The soft and hard resource limits of a running process with PID 1234 can be read from the file /proc/1234/___.