Last active
August 29, 2015 14:24
-
-
Save niltonvasques/45ab43d8137b1cc1e2d1 to your computer and use it in GitHub Desktop.
Logging infos about a process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gedit & | |
| PID=$! | |
| while :; do | |
| sleep 3 | |
| ps -up $PID | |
| echo "... get info about"$PID | |
| done |
did you remove the freaking line log? 😒
Author
Why you expect a log.txt file?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what supposed should this do?
I had to abort, after close the gedit.
in each 3 seconds it gives me the result for
ps -up PID, but the filelog.txtdoes not exist.