Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ############ CONTROL D'ERRORS
- if [ -d /proc/$1]
- then
- ############# REALIZAMOS LA TAREA
- echo ""
- cat /proc/$1/status | tail -n +1 | head -2
- elif [ -z $1 ]
- then
- echo "Necesito 1 parametro"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement