Earlier quoted context omitted.
Even though some software does replace the password, it would be better not to use passwords like that at all anyway. Just to be sure.
Once again with mysql you can: MYSQL_PWD=password mysql -uuser db
Using htop to generate a live website background
31–40 of 63 posts
On some old systems, I remember that env vars of other UIDs could be seen, even if you weren't root. I wonder if that's still true for any systems out there.
Re: Using htop to generate a live website background
#32I studied the line
read _ _ sid &1 strace -esetsid setsid sh -c "exec $PROGRAM /dev/tty2 >&0 2>&1 ")
http://www.tldp.org/LDP/abs/html/abs-guide.html#PROCESS-SUB
Re: Using htop to generate a live website background
#33I studied the line read _ _ sid &1 strace -esetsid setsid sh -c "exec $PROGRAM /dev/tty2 >&0 2>&1 ") http://www.tldp.org/LDP/abs/html/abs-guide.html#PROCESS-SUB
thank you :)
Re: Using htop to generate a live website background
#34Hi, htop author here: this brought a smile to my face! Wondering if I should do the same in htop's own website. Would be fun to follow the activity spike when the new major release comes later this year! Major kudos to the author for the idea!
Re: Using htop to generate a live website background
#35Interesting, thanks! Probably not as cool, but you could also just get the output of the regular top, parse it and generate HTML from it (a bit like http://tracesof.net/uebersicht/)
Re: Using htop to generate a live website background
#36Nice. Always meant to try and do something similar myself using https://github.com/joewalnes/websocketd
Re: Using htop to generate a live website background
#37[deleted]
Re: Using htop to generate a live website background
#38GraphicsMagic > image magic
atop > htop
Re: Using htop to generate a live website background
#39Hi, htop author here: this brought a smile to my face! Wondering if I should do the same in htop's own website. Would be fun to follow the activity spike when the new major release comes later this year! Major kudos to the author for the idea!
As long as we're giving kudos, allow me to give some to you: htop is a great tool. Thanks for making it!
Re: Using htop to generate a live website background
#40Hi, htop author here: this brought a smile to my face! Wondering if I should do the same in htop's own website. Would be fun to follow the activity spike when the new major release comes later this year! Major kudos to the author for the idea!
Thanks, we would be happy to see it on your site. :)