Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 1 year ago

rule

lemmy.ml

message-square
43
fedilink
280

rule

lemmy.ml

0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 1 year ago
message-square
43
fedilink
  • I_like_cats
    link
    fedilink
    arrow-up
    29
    ·
    1 year ago

    It’s easy. Just open up a terminal and type

    kill $PID
    

    (Replace the $PID with the process id of the process) if you don’t know the process id you can do

    killall process_name
    

    If these don’t work you can add a -9 to banish them and give them no chance to resist

    • unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Similarly, $$ is the current PID, $PPID is the parent PID. (Bash)

      • HappyFrog@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        So ‘kill -9 $$’ is just suicide?

        • unalivejoy@lemm.ee
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          With suicide, you have a chance to get your affairs in order. kill -9 $$ is hiring an assassin to kill you and not tell you when it will happen. It happens suddenly without warning.

        • joulethief@compuverse.uk
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          You can type seppuku for that

    • SoonaPaana@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Also please refresh my memory on how to find the process ID

      • I_like_cats
        link
        fedilink
        arrow-up
        11
        ·
        1 year ago

        You can do

        ps aux | grep -i <part of process name>
        

        and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop

      • assaultpotato@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        I use ps -aux | grep $EXECUTABLE

      • Refurbished Refurbisher@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        htop or any process monitor will tell you.

      • gayhitler420@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Pidof

      • Krzd@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      You probably want to get on the habit of using pkill instead of killall in case you’re ever on a different system. You could have a surprise.

196@lemmy.blahaj.zone

196@lemmy.blahaj.zone

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !196@lemmy.blahaj.zone

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

  • No bigotry (transphobia, racism, etc…)
  • No genocide denial
  • No support for authoritarian behaviour (incl. Tankies)
  • No namecalling
  • Accounts from lemmygrad.ml, threads.net, or hexbear.net are held to higher standards
  • Other things seen as cleary bad

Posting rules:

  • No AI generated content (DALL-E etc…)
  • No advertisements
  • No gore / violence
  • Mutual aid posts are not allowed

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn’t adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196’s:

  • !196@lemmy.world
  • !onehundredninetysix@lemmy.blahaj.zone
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 785 users / day
  • 2.01K users / week
  • 5.07K users / month
  • 16.7K users / 6 months
  • 154 local subscribers
  • 17.8K subscribers
  • 19.8K Posts
  • 227K Comments
  • Modlog
  • mods:
  • Moss@lemmy.blahaj.zone
  • greembow@lemmy.blahaj.zone
  • moss@lemmy.world
  • Queue@beehaw.org
  • funky-rodent [he/him]@lemmy.blahaj.zone
  • Peachy [they/she] @lemmy.blahaj.zone
  • threegnomes@lemmy.blahaj.zone
  • greembow@lemmy.world
  • remotelove@lemmy.ca
  • Roflmasterbigpimp@feddit.de
  • A_Very_Big_Fan@lemm.ee
  • qaz@lemmy.blahaj.zone
  • A_Very_Big_Fan@lemmy.world
  • qaz@lemmy.sdf.org
  • qaz@lemmy.world
  • qaz@sh.itjust.works
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org