Option a)
$watch -n 1 mysqladmin –user=<user> –password=<password> processlist
Option b) Install mytop
Enjoy.
A blog where I drop some minor writings.
Option a)
$watch -n 1 mysqladmin –user=<user> –password=<password> processlist
Option b) Install mytop
Enjoy.
Let’s start with a few very simple examples and build up on those.
If you remember, I said that netcat was a Swiss Army knife. What would a Swiss Army knife be if it also wasn’t a regular knife, right? That’s why netcat can be used as a replacement of telnet:
$ nc www.google.com 80
Option a) (port 80)
$nc -w 5 -v -l -p 80 < file.ext
Option b) (port 8000)
$ python –m SimpleHTTPServer
Easy.
Hoy el plan es instalar Internet Explorer 7 en nuestra Ubuntu. (Siguiendo unos simples pasos.)
# lsof
Running lsof
without any arguments lists all open files by all processes.
Other useful commands after the jump:
This is the easy way to change all files matching a patten.
$ find /path/to/images -name ‘*.DOC’ -exec rename “s/.DOC/.doc/g” {} ;
<alt> + <print screen/sys rq> + <R> – <S> – <E> – <I> – <U> – <B>
Continue reading “Reboot machine when everything is hanging”
I was installing vmware tools on a debian server and it asked where my killall program was.
Continue reading “vmware : What is the location of the “killall” program ?”
Ok, you want to mount some remote stuff with sshfs.
Download fuse and sshfs from here. (Stable release.)
So, yes, I need a windows OS because … whatever.
I’ve just registered myself in vmware and downloaded from here.
Continue reading “vmware server 2 – failed to initialize monitor device”