Monday, March 28, 2011

gnuplot

run gnuplot:

gnuplot> set timefmt "%H:%M:%S"
gnuplot> set xdata time
gnuplot> set logscale y
gnuplot> plot "day_poll.txt" using 2:1 title ' my title '

gnuplot> plot "<awk '{i=i+$2; print $1,i}' clicks_.txt" title ' clicks'
gnuplot> plot "<awk '{i=i+$2; print $1,i}' out-log-final.txt" title "LG", "<awk '{i=i+$2; print $1,i}' clicks_.txt" title "ozen"
.

Saturday, March 19, 2011

freenx / qtnx

  • on the server:
      Follow these instructions: FreeNX
    • To see if nxserver processes were started after starting a client
    • watch 'ps aux |grep nx'
    • To kill all server nx sessions (they will be restarted automatically at the next connection)
    • sudo nxserver --help
      sudo nxserver --history
      sudo nxserver --terminate username
    • Other things:
    • sudo su - nx
    • keys problems
      when setting up a new server machine. The following worked for me in the case where you have "Authenticating client" forever on your qtnx client
      root@aaa:/var/log# /usr/lib/nx/nxsetup --install --clean --purge
  • on the client:
      install QTNX

      If the graphical Qtnx GUI client does not show up, kill all qtnx process running on the client machine and run the qtnx client again

      Make sure you set "gnome" (if you use gnome) and "adsl" in the QTNX config
      .
  •