folder Tahribat.com Forumları
linefolder Python
linefolder Python Scriptini Başlattım Şimdi Durduramıyorum :)



Python Scriptini Başlattım Şimdi Durduramıyorum :)

  1. KısayolKısayol reportŞikayet pmÖzel Mesaj
    celoron
    celoron's avatar
    Kayıt Tarihi: 13/Ekim/2008
    Erkek

    müridler denemek için python destekli free bir hosta bi script koydum. scriptin içinde while True: diye bir döngü vardı. şimdi script çalıştı tamam ama sıra durdurmaya gelince başarısız oldum. scripti sildim fakat çalışmaya devam ediyor. bunu durdurmak için ne yapabilirim? dışardan başka bir python komutu yada bash komutu ile durdurabilirmiyim?


    Microsoft isn't evil, they just make really crappy operating systems. Linus Torvalds
  2. KısayolKısayol reportŞikayet pmÖzel Mesaj
    Yeah
    Yeah's avatar
    Kayıt Tarihi: 02/Ekim/2007
    Erkek

    kill yap gitsin :P

    zerre anlamam bu işlerden ama komiğime gitti lan başlatıp durduramamak =)))


    herşeyin kısası makbuldur; ulaşmak isteyen yesterfox_55@hotmail.com a mail atabilir...
  3. KısayolKısayol reportŞikayet pmÖzel Mesaj
    celoron
    celoron's avatar
    Kayıt Tarihi: 13/Ekim/2008
    Erkek

    kill python mu yapiyim?

    ya işin pis tarafı ssh ye izin vermiyo bende cronjob dan ayarlamıştım :)


    Microsoft isn't evil, they just make really crappy operating systems. Linus Torvalds
  4. KısayolKısayol reportŞikayet pmÖzel Mesaj
    Yeah
    Yeah's avatar
    Kayıt Tarihi: 02/Ekim/2007
    Erkek

    ps ax | grep bilmemne.py

    sudo kill numarası

     

    dil olarak bilmem de linux altında böyle durdurabilirsin hedeyi...


    herşeyin kısası makbuldur; ulaşmak isteyen yesterfox_55@hotmail.com a mail atabilir...
  5. KısayolKısayol reportŞikayet pmÖzel Mesaj
    celoron
    celoron's avatar
    Kayıt Tarihi: 13/Ekim/2008
    Erkek

    cevap bu :D

     401 ?        Ss     0:04 python /home/celoron/st.py
     536 ?        Ss     0:02 python /home/celoron/st.py
     786 ?        Ss     0:03 python /home/celoron/st.py
     888 ?        Ss     0:01 python /home/celoron/st.py
     1069 ?        Ss     0:01 python /home/celoron/st.py
     1106 ?        Ss     0:03 python /home/celoron/st.py
     1266 ?        Ss     0:02 python /home/celoron/st.py
     1288 ?        Ss     0:04 python /home/celoron/st.py
     1411 ?        Ss     0:03 python /home/celoron/st.py
     1423 ?        Ss     0:01 python /home/celoron/st.py
     1690 ?        Ss     0:01 python /home/celoron/st.py
     1885 ?        Ss     0:02 python /home/celoron/st.py
     2012 ?        Ss     0:01 python /home/celoron/st.py
     2077 ?        Ss     0:03 python /home/celoron/st.py
     2171 ?        Ss     0:03 python /home/celoron/st.py
     2282 ?        Ss     0:03 python /home/celoron/st.py
     2295 ?        Ss     0:04 python /home/celoron/st.py
     2648 ?        Ss     0:02 python /home/celoron/st.py
     2764 ?        Ss     0:01 python /home/celoron/st.py
     3195 ?        Ss     0:02 python /home/celoron/st.py
     3314 ?        Ss     0:04 python /home/celoron/st.py
     3337 ?        Ss     0:04 python /home/celoron/st.py
     3751 ?        Ss     0:02 python /home/celoron/st.py
     3787 ?        Ss     0:01 python /home/celoron/st.py
     3845 ?        Ss     0:03 python /home/celoron/st.py
     3871 ?        Ss     0:01 python /home/celoron/st.py
     4006 ?        Ss     0:03 python /home/celoron/st.py
     4129 ?        Ss     0:03 python /home/celoron/st.py
     4502 ?        Ss     0:01 python /home/celoron/st.py
     4754 ?        Ss     0:02 python /home/celoron/st.py
     4761 ?        Ss     0:04 python /home/celoron/st.py
     5283 ?        Ss     0:01 python /home/celoron/st.py
     5339 ?        Ss     0:03 python /home/celoron/st.py
     5526 ?        Ss     0:03 python /home/celoron/st.py
     5613 ?        Ss     0:02 python /home/celoron/st.py
     5791 ?        Ss     0:02 python /home/celoron/st.py
     5890 ?        Ss     0:02 python /home/celoron/st.py
     5960 ?        Ss     0:03 python /home/celoron/st.py
     6103 ?        Ss     0:04 python /home/celoron/st.py
     6134 ?        Ss     0:01 python /home/celoron/st.py
     6302 ?        Ss     0:03 python /home/celoron/st.py
     6383 ?        Ss     0:02 python /home/celoron/st.py
     6494 ?        Ss     0:04 python /home/celoron/st.py
     6677 ?        Ss     0:04 python /home/celoron/st.py
     6954 ?        Ss     0:01 python /home/celoron/st.py
     7132 ?        Ss     0:02 python /home/celoron/st.py
     7252 ?        Ss     0:04 python /home/celoron/st.py
     7633 ?        Ss     0:02 python /home/celoron/st.py
     7909 ?        Ss     0:02 python /home/celoron/st.py
     7912 ?        Ss     0:01 python /home/celoron/st.py
     7919 ?        Ss     0:04 python /home/celoron/st.py
     8029 ?        Ss     0:01 python /home/celoron/st.py
     8117 ?        Ss     0:04 python /home/celoron/st.py
     8435 ?        Ss     0:00 /bin/sh -c ps ax | grep st.py
     8439 ?        R      0:00 /bin/sh -c ps ax | grep st.py
     8498 ?        Ss     0:03 python /home/celoron/st.py
     8721 ?        Ss     0:04 python /home/celoron/st.py
     8732 ?        Ss     0:01 python /home/celoron/st.py
     8792 ?        Ss     0:02 python /home/celoron/st.py
     8853 ?        Ss     0:02 python /home/celoron/st.py
     9091 ?        Ss     0:03 python /home/celoron/st.py
     9141 ?        Ss     0:04 python /home/celoron/st.py
     9237 ?        Ss     0:04 python /home/celoron/st.py
     9268 ?        Ss     0:03 python /home/celoron/st.py
     9328 ?        Ss     0:03 python /home/celoron/st.py
     9490 ?        Ss     0:04 python /home/celoron/st.py
     9491 ?        Ss     0:01 python /home/celoron/st.py
     9508 ?        Ss     0:02 python /home/celoron/st.py
     9628 ?        Ss     0:01 python /home/celoron/st.py
     9635 ?        Ss     0:01 python /home/celoron/st.py
     9831 ?        Ss     0:03 python /home/celoron/st.py
    10005 ?        Ss     0:02 python /home/celoron/st.py
    10016 ?        Ss     0:03 python /home/celoron/st.py
    10144 ?        Ss     0:04 python /home/celoron/st.py
    10184 ?        Ss     0:02 python /home/celoron/st.py
    10207 ?        Ss     0:01 python /home/celoron/st.py
    10353 ?        Ss     0:01 python /home/celoron/st.py
    10413 ?        Ss     0:01 python /home/celoron/st.py
    10822 ?        Ss     0:04 python /home/celoron/st.py
    10872 ?        Ss     0:04 python /home/celoron/st.py
    10977 ?        Ss     0:01 python /home/celoron/st.py
    11021 ?        Ss     0:04 python /home/celoron/st.py
    11087 ?        Ss     0:03 python /home/celoron/st.py
    11356 ?        Ss     0:03 python /home/celoron/st.py
    11440 ?        Ss     0:04 python /home/celoron/st.py
    11466 ?        Ss     0:04 python /home/celoron/st.py
    11684 ?        Ss     0:02 python /home/celoron/st.py
    11749 ?        Ss     0:01 python /home/celoron/st.py
    11975 ?        Ss     0:03 python /home/celoron/st.py
    12025 ?        Ss     0:04 python /home/celoron/st.py
    12172 ?        Ss     0:04 python /home/celoron/st.py
    12377 ?        Ss     0:02 python /home/celoron/st.py
    12480 ?        Ss     0:01 python /home/celoron/st.py
    12661 ?        Ss     0:03 python /home/celoron/st.py
    12877 ?        Ss     0:01 python /home/celoron/st.py
    13040 ?        Ss     0:04 python /home/celoron/st.py
    13049 ?        Ss     0:03 python /home/celoron/st.py
    13152 ?        Ss     0:02 python /home/celoron/st.py
    13372 ?        Ss     0:02 python /home/celoron/st.py
    13466 ?        Ss     0:02 python /home/celoron/st.py
    13759 ?        Ss     0:02 python /home/celoron/st.py
    13882 ?        Ss     0:01 python /home/celoron/st.py
    14029 ?        Ss     0:02 python /home/celoron/st.py
    14089 ?        Ss     0:03 python /home/celoron/st.py
    14124 ?        Ss     0:04 python /home/celoron/st.py
    14215 ?        Ss     0:03 python /home/celoron/st.py
    14235 ?        Ss     0:03 python /home/celoron/st.py
    14288 ?        Ss     0:04 python /home/celoron/st.py
    14403 ?        Ss     0:03 python /home/celoron/st.py
    14606 ?        Ss     0:01 python /home/celoron/st.py
    14776 ?        Ss     0:03 python /home/celoron/st.py
    14818 ?        Ss     0:03 python /home/celoron/st.py
    14903 ?        Ss     0:04 python /home/celoron/st.py
    15194 ?        Ss     0:02 python /home/celoron/st.py
    15232 ?        Ss     0:01 python /home/celoron/st.py
    15240 ?        Ss     0:04 python /home/celoron/st.py
    15418 ?        Ss     0:01 python /home/celoron/st.py
    15481 ?        Ss     0:03 python /home/celoron/st.py
    15899 ?        Ss     0:04 python /home/celoron/st.py
    15914 ?        Ss     0:04 python /home/celoron/st.py
    15949 ?        Ss     0:02 python /home/celoron/st.py
    15981 ?        Ss     0:02 python /home/celoron/st.py
    16004 ?        Ss     0:02 python /home/celoron/st.py
    16223 ?        Ss     0:03 python /home/celoron/st.py
    16467 ?        Ss     0:01 python /home/celoron/st.py
    16650 ?        Ss     0:03 python /home/celoron/st.py
    16692 ?        Ss     0:02 python /home/celoron/st.py
    17089 ?        Ss     0:02 python /home/celoron/st.py
    17151 ?        Ss     0:03 python /home/celoron/st.py
    17326 ?        Ss     0:03 python /home/celoron/st.py
    17377 ?        Ss     0:01 python /home/celoron/st.py
    17465 ?        Ss     0:04 python /home/celoron/st.py
    17646 ?        Ss     0:04 python /home/celoron/st.py
    17711 ?        Ss     0:02 python /home/celoron/st.py
    17881 ?        Ss     0:04 python /home/celoron/st.py
    17976 ?        Ss     0:03 python /home/celoron/st.py
    18100 ?        Ss     0:04 python /home/celoron/st.py
    18163 ?        Ss     0:03 python /home/celoron/st.py
    18311 ?        Ss     0:02 python /home/celoron/st.py
    18391 ?        Ss     0:01 python /home/celoron/st.py
    18396 ?        Ss     0:01 python /home/celoron/st.py
    18488 ?        Ss     0:01 python /home/celoron/st.py
    18630 ?        Ss     0:03 python /home/celoron/st.py
    18806 ?        Ss     0:03 python /home/celoron/st.py
    19095 ?        Ss     0:03 python /home/celoron/st.py
    19225 ?        Ss     0:04 python /home/celoron/st.py
    19228 ?        Ss     0:04 python /home/celoron/st.py
    19423 ?        Ss     0:02 python /home/celoron/st.py
    19498 ?        Ss     0:04 python /home/celoron/st.py
    19562 ?        Ss     0:02 python /home/celoron/st.py
    19600 ?        Ss     0:03 python /home/celoron/st.py
    19878 ?        Ss     0:01 python /home/celoron/st.py
    19881 ?        Ss     0:03 python /home/celoron/st.py
    19924 ?        Ss     0:01 python /home/celoron/st.py
    19961 ?        Ss     0:03 python /home/celoron/st.py
    20175 ?        Ss     0:02 python /home/celoron/st.py
    20277 ?        Ss     0:01 python /home/celoron/st.py
    20303 ?        Ss     0:03 python /home/celoron/st.py
    20582 ?        Ss     0:01 python /home/celoron/st.py
    20719 ?        Ss     0:02 python /home/celoron/st.py
    20781 ?        Ss     0:03 python /home/celoron/st.py
    20836 ?        Ss     0:02 python /home/celoron/st.py
    20989 ?        Ss     0:02 python /home/celoron/st.py
    21264 ?        Ss     0:04 python /home/celoron/st.py
    21303 ?        Ss     0:01 python /home/celoron/st.py
    21365 ?        Ss     0:03 python /home/celoron/st.py
    21516 ?        Ss     0:02 python /home/celoron/st.py
    21595 ?        Ss     0:04 python /home/celoron/st.py
    21708 ?        Ss     0:03 python /home/celoron/st.py
    21908 ?        Ss     0:01 python /home/celoron/st.py
    22181 ?        Ss     0:03 python /home/celoron/st.py
    22355 ?        Ss     0:04 python /home/celoron/st.py
    22365 ?        Ss     0:03 python /home/celoron/st.py
    22444 ?        Ss     0:01 python /home/celoron/st.py
    22687 ?        Ss     0:02 python /home/celoron/st.py
    22720 ?        Ss     0:01 python /home/celoron/st.py
    22886 ?        Ss     0:04 python /home/celoron/st.py
    23092 ?        Ss     0:03 python /home/celoron/st.py
    23172 ?        Ss     0:02 python /home/celoron/st.py
    23317 ?        Ss     0:02 python /home/celoron/st.py
    23332 ?        Ss     0:01 python /home/celoron/st.py
    23724 ?        Ss     0:02 python /home/celoron/st.py
    23765 ?        Ss     0:02 python /home/celoron/st.py
    24078 ?        Ss     0:04 python /home/celoron/st.py
    24090 ?        Ss     0:01 python /home/celoron/st.py
    24198 ?        Ss     0:02 python /home/celoron/st.py
    24300 ?        Ss     0:04 python /home/celoron/st.py
    24304 ?        Ss     0:03 python /home/celoron/st.py
    24592 ?        Ss     0:02 python /home/celoron/st.py
    24698 ?        Ss     0:02 python /home/celoron/st.py
    24719 ?        Ss     0:01 python /home/celoron/st.py
    24728 ?        Ss     0:04 python /home/celoron/st.py
    24847 ?        Ss     0:03 python /home/celoron/st.py
    24908 ?        Ss     0:04 python /home/celoron/st.py
    25292 ?        Ss     0:03 python /home/celoron/st.py
    25407 ?        Ss     0:04 python /home/celoron/st.py
    25543 ?        Ss     0:04 python /home/celoron/st.py
    25691 ?        Ss     0:03 python /home/celoron/st.py
    25701 ?        Ss     0:01 python /home/celoron/st.py
    26024 ?        Ss     0:02 python /home/celoron/st.py
    26613 ?        Ss     0:01 python /home/celoron/st.py
    26958 ?        Ss     0:03 python /home/celoron/st.py
    27087 ?        Ss     0:04 python /home/celoron/st.py
    27161 ?        Ss     0:04 python /home/celoron/st.py
    27328 ?        Ss     0:03 python /home/celoron/st.py
    27364 ?        Ss     0:01 python /home/celoron/st.py
    27458 ?        Ss     0:03 python /home/celoron/st.py
    27599 ?        Ss     0:04 python /home/celoron/st.py
    27626 ?        Ss     0:02 python /home/celoron/st.py
    27644 ?        Ss     0:03 python /home/celoron/st.py
    27921 ?        Ss     0:02 python /home/celoron/st.py
    27926 ?        Ss     0:04 python /home/celoron/st.py
    28033 ?        Ss     0:01 python /home/celoron/st.py
    28127 ?        Ss     0:01 python /home/celoron/st.py
    28156 ?        Ss     0:03 python /home/celoron/st.py
    28265 ?        Ss     0:03 python /home/celoron/st.py
    28435 ?        Ss     0:03 python /home/celoron/st.py
    28600 ?        Ss     0:02 python /home/celoron/st.py
    28647 ?        Ss     0:02 python /home/celoron/st.py
    28961 ?        Ss     0:04 python /home/celoron/st.py
    29027 ?        Ss     0:03 python /home/celoron/st.py
    29591 ?        Ss     0:01 python /home/celoron/st.py
    29640 ?        Ss     0:04 python /home/celoron/st.py
    29728 ?        Ss     0:03 python /home/celoron/st.py
    29927 ?        Ss     0:02 python /home/celoron/st.py
    29934 ?        Ss     0:04 python /home/celoron/st.py
    30070 ?        Ss     0:01 python /home/celoron/st.py
    30074 ?        Ss     0:03 python /home/celoron/st.py
    30334 ?        Ss     0:03 python /home/celoron/st.py
    30492 ?        Ss     0:02 python /home/celoron/st.py
    30769 ?        Ss     0:04 python /home/celoron/st.py
    30892 ?        Ss     0:03 python /home/celoron/st.py
    30911 ?        Ss     0:03 python /home/celoron/st.py
    31203 ?        Ss     0:02 python /home/celoron/st.py
    31300 ?        Ss     0:02 python /home/celoron/st.py
    31410 ?        Ss     0:04 python /home/celoron/st.py
    31518 ?        Ss     0:04 python /home/celoron/st.py
    31682 ?        Ss     0:03 python /home/celoron/st.py
    31796 ?        Ss     0:01 python /home/celoron/st.py
    31944 ?        Ss     0:03 python /home/celoron/st.py
    31951 ?        Ss     0:01 python /home/celoron/st.py
    32266 ?        Ss     0:04 python /home/celoron/st.py
    32352 ?        Ss     0:03 python /home/celoron/st.py
    32719 ?        Ss     0:01 python /home/celoron/st.py


    Microsoft isn't evil, they just make really crappy operating systems. Linus Torvalds
  6. KısayolKısayol reportŞikayet pmÖzel Mesaj
    Yeah
    Yeah's avatar
    Kayıt Tarihi: 02/Ekim/2007
    Erkek

    biri bitiyor başkası mı açılıyor lan O.o

    ne etmişin olm sen ahaha =)))

    aklıma şimdilik bir şey gelmedi de izinlerini değiştirsen sonra pc yi restartlasan, sonra da başlamak için root şifresini girmeni istese, sende girmesen çalışmaz değil mi :P

    ulan ne komplo teorisi kurdum...

    valla fikrim yok açıkçası, hepsini teker teker nasıl durdurursun bilemiyorum ama işin yoksa vur teker teker kill i konsola =))

    kill all *.py tarzı şeyler yok mu yav aslında O.o


    herşeyin kısası makbuldur; ulaşmak isteyen yesterfox_55@hotmail.com a mail atabilir...
  7. KısayolKısayol reportŞikayet pmÖzel Mesaj
    celoron
    celoron's avatar
    Kayıt Tarihi: 13/Ekim/2008
    Erkek

    cronjobla yaptığım için böle olmuş :)

    şimdi pythonla başka bi script yazıyorum hepsini kapatcak inş. :)


    Microsoft isn't evil, they just make really crappy operating systems. Linus Torvalds
  8. KısayolKısayol reportŞikayet pmÖzel Mesaj
    Yeah
    Yeah's avatar
    Kayıt Tarihi: 02/Ekim/2007
    Erkek

    yapacağın script işe yararsa paylaşsana burada merak ettim O.o

    gerçeği tahmin ediyorum bir şeyler ama emin değilim =))


    herşeyin kısası makbuldur; ulaşmak isteyen yesterfox_55@hotmail.com a mail atabilir...
  9. KısayolKısayol reportŞikayet pmÖzel Mesaj
    celoron
    celoron's avatar
    Kayıt Tarihi: 13/Ekim/2008
    Erkek

    sabah sabah gülelim biraz :)

    girdi="""
     536 ?        Ss     0:02 python /home/celoron/st.py
     786 ?        Ss     0:03 python /home/celoron/st.py
     888 ?        Ss     0:01 python /home/celoron/st.py
     1069 ?        Ss     0:01 python /home/celoron/st.py
     1106 ?        Ss     0:03 python /home/celoron/st.py
     1266 ?        Ss     0:02 python /home/celoron/st.py
     1288 ?        Ss     0:04 python /home/celoron/st.py
     1411 ?        Ss     0:03 python /home/celoron/st.py
     1423 ?        Ss     0:01 python /home/celoron/st.py
     1690 ?        Ss     0:01 python /home/celoron/st.py

    Burada daha birsürü var....

    31203 ?        Ss     0:02 python /home/celoron/st.py
    31300 ?        Ss     0:02 python /home/celoron/st.py
    31410 ?        Ss     0:04 python /home/celoron/st.py
    31518 ?        Ss     0:04 python /home/celoron/st.py
    31682 ?        Ss     0:03 python /home/celoron/st.py
    31796 ?        Ss     0:01 python /home/celoron/st.py
    31944 ?        Ss     0:03 python /home/celoron/st.py
    31951 ?        Ss     0:01 python /home/celoron/st.py
    32266 ?        Ss     0:04 python /home/celoron/st.py
    32352 ?        Ss     0:03 python /home/celoron/st.py
    32719 ?        Ss     0:01 python /home/celoron/st.py
    """
    import os
    girdi2=girdi.split('\n')
    a=''
    for i in girdi2:
        os.system('kill '+i.split('?')[0])


    Microsoft isn't evil, they just make really crappy operating systems. Linus Torvalds
  10. KısayolKısayol reportŞikayet pmÖzel Mesaj
    bugrahan45
    bugrahan45's avatar
    Kayıt Tarihi: 26/Haziran/2007
    Erkek
    hoca naptın. skynet'i başlatmışsın. O_o

    Bengü il tuta olurtaçı sen Türk budun.
Toplam Hit: 2362 Toplam Mesaj: 10