Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

luthis, to linux in How to see enabled services that have been stopped [systemd]

I think you’re thinking of

systemctl list-units --type=service --state=stopped

status gives the state of the system and a cgroup tree

luthis, to linux in How to take actions on multiple docker containers at once

Is there a way to do this without cd-ing to the directory with the compose file first?

luthis, to linux in How to take actions on multiple docker containers at once

Cool, didn’t know that!

Just tested, so you have to cd to the directory with the docker-compose.yml file in it first

luthis, to linux in How to take actions on multiple docker containers at once

You can of course do it this way too, it’s just extra typing:

docker container stop $(docker container ls -qf name=snikket)

luthis, to linux in How to see enabled services that have been stopped [systemd]

Yes,

systemctl start [servicename]

But I wanted to see what I have stopped and not started again

luthis, to linux in How to see enabled services that have been stopped [systemd]

Only if you know what the [service] is. In my case, I’m prone to forgetting so this way I can see what should be running but isn’t

luthis, to linux in FOUND file in device by hex content using wxHexEditor

Yeah now I stand a better chance of recovering files if something catastrophic happens

luthis, to linux in FOUND file in device by hex content using wxHexEditor

True, now you have the power to find your files manually!

luthis, to lemmyshitpost in It's hard to believe

We don’t, it’s a psy-op.

luthis, (edited ) to linux in FOUND file in device by hex content using wxHexEditor

Tried a different way:


<span style="color:#323232;"> filefrag -v testfile 
</span><span style="color:#323232;">Filesystem type is: ef53
</span><span style="color:#323232;">File size of testfile is 6 (1 block of 4096 bytes)
</span><span style="color:#323232;"> ext:     logical_offset:        physical_offset: length:   expected: flags:
</span><span style="color:#323232;">   0:        0..       0:    4660742..   4660742:      1:             last,eof
</span>

Went to offset 4660742 in wxhexeditor, but still when I copy out the hex and convert to ascii, it’s nonsense

luthis, to linux in Systemd Homed users and what does 'login' mean?

Actually, I suspect ‘login’ refers to init and logind,

Back to the wiki to find out the steps during late userspace…

luthis, (edited ) to linux in Why does the new version of Kubuntu take longer to start the wifi connection?

systemd-analyze plot > boottimes.svg

Open the SVG and have a look at what’s happening during boot.

journalctl -b will give you some more info too. If you’re using grub to boot (probably in /boot/grub/grub.cfg), you can change the loglevel and add the udev option to get a bunch more info. Helped me with a random issue recently. Here’s mine for an example:


<span style="color:#323232;">### BEGIN /etc/grub.d/10_linux ###
</span><span style="color:#323232;">menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a96b3354-70dd-45ed-8c6c-95171e9f1e82' {
</span><span style="color:#323232;">	load_video
</span><span style="color:#323232;">	set gfxpayload=keep
</span><span style="color:#323232;">	insmod gzio
</span><span style="color:#323232;">	insmod part_gpt
</span><span style="color:#323232;">	insmod ext2
</span><span style="color:#323232;">	search --no-floppy --fs-uuid --set=root a96b3354-70dd-45ed-8c6c-95171e9f1e82
</span><span style="color:#323232;">	echo	'Loading Linux linux ...'
</span><span style="color:#323232;">	linux	/boot/vmlinuz-linux root=UUID=a96b3354-70dd-45ed-8c6c-95171e9f1e82 rw  loglevel=3 udev.log-priority=debug 
</span><span style="color:#323232;">	echo	'Loading initial ramdisk ...'
</span><span style="color:#323232;">	initrd	/boot/amd-ucode.img /boot/initramfs-linux.img
</span><span style="color:#323232;">}
</span>
luthis, to linux in Fixed Arch install error

Should there be a space between ‘relatime, flask=’ ? Is that in fstab? It should all be one string, like in mine mine rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro

luthis, to linux in Fixed Arch install error

Also come on guys, let’s prove that the Arch community isn’t all full of assholes, let’s help this dickhead sort their stupid ass issue.

(/s)

luthis, to linux in Using cgroups to limit I/O · André Carvalho

I just discovered cgroups, so it’s cool to see some practical examples here.

Looks like not far off having easily managed load-balancing for I/O which is pretty cool.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #