Advertisement
Guest User

Untitled

a guest
May 5th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/sh
  2. ############ CONTROL D'ERRORS
  3. if [ -d /proc/$1]
  4. then
  5. ############# REALIZAMOS LA TAREA
  6. echo ""
  7. cat /proc/$1/status | tail -n +1 | head -2
  8.  
  9. elif [ -z $1 ]
  10. then
  11. echo "Necesito 1 parametro"
  12.  
  13. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement