Guest User

Untitled

a guest
Jun 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. DATA=`date`
  4.  
  5. RESULTADO=`ipcs -s | awk 'NR > 3' | awk '{s+=$5} END {print s}'`
  6.  
  7. echo -e $DATA "\t" $RESULTADO >> /var/log/sem.txt
Add Comment
Please, Sign In to add comment