Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "max pid is $(cat /proc/sys/kernel/pid_max)"
- for i in {1..132000} ; do
- if [ $((${i}%1000)) -eq 0 ] ; then
- echo "${i} $(realpath /proc/self)"
- else
- realpath /proc/self >/dev/null 2>&1
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement