ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What Are You Doing Right Now

    Scheduled Pinned Locked Moved Water Closet
    time waster
    88.9k Posts 285 Posters 43.0m Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hobbit666H
      hobbit666
      last edited by

      In the car waiting for the wife to get our chippy dinner

      1 Reply Last reply Reply Quote 0
      • EddieJenningsE
        EddieJennings
        last edited by

        Using this as a guide to see how I can write a little script to take all VMs within KVM that are shutdown and then delete them and their storage.

        It's times like this that make me miss objects. 🙂

        1 Reply Last reply Reply Quote 0
        • EddieJenningsE
          EddieJennings
          last edited by

          This was the result.

          for vm in $(virsh list --inactive | tail -n +3 | cut -d' ' -f7); do virsh undefine $vm --remove-all-storage; done
          
          ObsolesceO 1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @EddieJennings
            last edited by

            @EddieJennings said in What Are You Doing Right Now:

            | tail -n +3 | cut -d' ' -f7

            What does that do? Don't hate, just trying to save myself some google time.

            EddieJenningsE 1 Reply Last reply Reply Quote 0
            • EddieJenningsE
              EddieJennings @Obsolesce
              last edited by EddieJennings

              @Obsolesce said in What Are You Doing Right Now:

              @EddieJennings said in What Are You Doing Right Now:

              | tail -n +3 | cut -d' ' -f7

              What does that do? Don't hate, just trying to save myself some google time.

              That gets rid of the heading for the output from virsh list --inactive and leaves only the VM names for virsh undefine.

              [Edit with more explanation]

              tail -n +3 = shows the output starting on the 3rd line (the line which starts with the informaiton you need)
              cut -d' ' -f7 = Using the delimiter of a space, show the output starting on space 7 (which will be the VM names). I'm not as familiar with cut, so I'm probably explaining it wrong, but from the behavior I saw that seems to be what it was doing.

              1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite
                last edited by

                😂
                https://www.quora.com/My-15-year-old-son-plays-basketball-and-he-told-me-his-coach-gave-him-15-pushups-for-fooling-around-How-can-I-stop-his-coach-from-abusing-him-like-this-in-the-future/

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Quiet day at home alone. Went out for some lunch to a local plaza. Got pupusas and some pineapple fried rice (two different shops.) All SO good.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Just turned on "multi badges" on NodeBB.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      Well, the upside to that train wreck of a thread is that we now have about the most perfect reference thread to point people to for both "you can't actually think that FreeNAS and ZFS are a cult" and "why developers can't be used as IT resources." It's been a really long time since we had any thread like that on ML. A lot of us are used to those "repeating the old myths that we've long ago killed off" style threads from the land of the 🌶 it seems almost bizarre to see one here. But they do happen, and I truly suspect that our poster was just the victim of someone trolling him and he didn't realize.

                      1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite
                        last edited by

                        Listening to Avengers Theme Song from 2012 to 2019
                        Youtube Video

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          I got promoted to community rep for NodeBB this week!

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            Almost home, 45 minutes to go
                            BC9596E2-DABE-4AC3-905D-8AEC7B42F993.jpeg

                            1 Reply Last reply Reply Quote 0
                            • siringoS
                              siringo
                              last edited by

                              monday morning, why do you torment me so ......

                              1 Reply Last reply Reply Quote 0
                              • black3dynamiteB
                                black3dynamite
                                last edited by

                                Checking out another SQL client called Sequeler to manage SQLite, MySQL, MariaDB and PostgreSQL.
                                https://flathub.org/apps/details/com.github.alecaddd.sequeler

                                I originally found it via Elementary OS App Center.

                                1 Reply Last reply Reply Quote 0
                                • EddieJenningsE
                                  EddieJennings
                                  last edited by

                                  Watching the Uber Eats delivery time estimate become later and later.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @EddieJennings
                                    last edited by

                                    @EddieJennings said in What Are You Doing Right Now:

                                    Watching the Uber Eats delivery time estimate become later and later.

                                    That's because you have to wait for Uber to eat.

                                    1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      recording a few SAMIT episodes (no, not about ZFS, haha.)

                                      1 Reply Last reply Reply Quote 2
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Nuking spammers.

                                        1 Reply Last reply Reply Quote 2
                                        • WrCombsW
                                          WrCombs
                                          last edited by

                                          was awakened by cops last night, I guess there was a gas leak down the street. was up til 12:30-1:00.
                                          wokeup at 7:20 and got dressed, on my way out the door I notice that my middle console, glove compartment, and otherwise were open, Im missing a 100.00 cologne, about $20 in spare change, everything else at first glance is there, apparently neighbors caught kids in their car at 2:00 something this morning.

                                          Happy Monday.

                                          DashrenderD 1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender @WrCombs
                                            last edited by

                                            @WrCombs said in What Are You Doing Right Now:

                                            was awakened by cops last night, I guess there was a gas leak down the street. was up til 12:30-1:00.
                                            wokeup at 7:20 and got dressed, on my way out the door I notice that my middle console, glove compartment, and otherwise were open, Im missing a 100.00 cologne, about $20 in spare change, everything else at first glance is there, apparently neighbors caught kids in their car at 2:00 something this morning.

                                            Happy Monday.

                                            Welp, they have nothing better to do since they were awake and now allowed to be in their homes 😛

                                            WrCombsW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3634
                                            • 3635
                                            • 3636
                                            • 3637
                                            • 3638
                                            • 4443
                                            • 4444
                                            • 3636 / 4444
                                            • First post
                                              Last post