User talk:Merlijn van Deen
Completing project documentation
This is regarding the announcement (http://lists.wikimedia.org/pipermail/labs-l/2014-July/002762.html) if you have missed it.
We have added some fields in addition to description field which is already there on your projects. Please click "Edit Documentation" in your project page/ project pages and fill the blanks. It will only take few minutes from your valuable time.
If you have any comments or suggestion on the form please let me know.--Sandaru (talk) 10:51, 26 July 2014 (UTC)
executable of pywikibot on labs
Looking at the pywikibot files on toollabs there are number of .py script files in "/shared/pywikipedia/core/scripts" that are not executable. Is this purposeful? If so, can you tell me where one is to find the usable versions? Billinghurst (talk) 11:44, 31 August 2014 (UTC)
- Hi Billinghurst, they don't need to be -- you can run them using 'python /shared/pywikipedia/core/scripts/login.py' (assuming you've set your PYTHONPATH correctly). valhallasw (talk) 12:00, 31 August 2014 (UTC)
- K. thx. Whym is helping this dinosaur get reacquainted with forgotten linux, and the peculiarities of python. Billinghurst (talk) 12:01, 31 August 2014 (UTC)
re:tools.cobain processes on tools-bastion-01
Sorry. I will not continue running this script. But please don't block the tool tools.cobain. I try to debug my script. Coet (talk) 16:51, 24 August 2015 (UTC)
- No problem, mistakes happen. Please see Help:Tool_Labs/Grid for information on how to submit jobs to the grid. Testing on tools-bastion-01 for short periods of time is generally OK, but please use the grid for longer tasks. Thanks! valhallasw (Merlijn van Deen) (talk) 17:01, 24 August 2015 (UTC)
- How can I kill a process?
- Now I run this script by my account, coet, not by cobain tool.
- I am testing it, and I don't use the grid. I kill it by [ctrl]+[Z] because [ctrl]+[C] doesn't work. I thought it was enough to kill them, but maybe the processes still runnning. How can I ensure I kill them? Coet (talk) 18:09, 24 August 2015 (UTC)
- Ctrl-z does not kill a job, it just puts it in the background (so it's still running, you just don't notice it is!). To see all your running processes, use
ps -lu coet
, or starttop
and typeu coet
. This will show you all your jobs with their process ID (PID). To kill them, runkill -9 <pid>
. For example,ps -lu coet
now returns
root@tools-bastion-01:/home/valhallasw/pstricks# ps -lu coet F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD (... some commands ...) 0 T 3999 25296 14594 0 80 0 - 1110 signal pts/0 00:00:00 geninfinite.sh (...)
- which you can then kill with
kill -9 25295
. valhallasw (Merlijn van Deen) (talk) 18:35, 24 August 2015 (UTC)- Ok, I was reading about my question and I find the same, but not at all, answer you gave me.
- Now I know, I can not stop processes, and i I do it, I must kill them. Sorry, because I always used ctrl-c, and I never have this problem, but on wmflabs it desn't work.
- I will be careful with this new way.
- Thank you for all. Coet (talk) 20:15, 24 August 2015 (UTC)