00:22:43 any way to get 'top' info but just for 1 app? 00:22:50 like mem usage and all that 00:24:32 h or ? - show this help text 00:24:33 - filter on command name (+ selects all commands 00:25:06 uh, '/' 00:25:13 what command is that for? 00:25:19 that's not in the top man page 00:25:47 rtprio? 00:27:37 it's in the help of top 00:27:46 when you press ? while it's running 00:28:16 and it is in the man page (14): 00:28:22 / Display only processes that contain the specified string in their 00:28:22 command name. If displaying arguments is enabled, the arguments 00:28:22 are searched too. '+' shows all processes. 00:28:26 what? 00:28:53 ohhh 00:28:58 wow weird 00:29:04 why doesn't the man page say "filter" in it? 00:29:07 is it not for you? 00:29:09 the / feature is really important 00:29:39 or do you not know you need to escape it in less so you need /\/ in order to search for / 02:33:08 is it a known issue that the FreeBSD-14.0-RELEASE-amd64-dvd1.iso kernel panics right out of the bootloader and if not, what is the correct place to file the bug report? 02:53:55 my Lenovo laptop is running at 107C and FreeBSD 14.0 by default seems to want to destroy it. there has to be a way to control temperature on these things. is there no temperature sysctl setting ? 03:48:54 skyenosaur: When booting it, or after installing? 03:50:03 skyenosaur: Either way, https://bugs.freebsd.org/bugzilla/ 03:50:04 Title: FreeBSD Bugzilla Main Page 03:50:34 blastwave: Do you have powerd running? 07:07:09 upgrading to 14.0-RELEASE now for the nas 07:09:55 wonder if there is a way to get arc to prioritize based on pool 07:20:55 hm. lots of odd conflicts. like passwd.master? 07:28:46 14.0-RELEASE 07:28:53 feeling good about it heh 07:32:11 is this: "pkg update && pkg upgrade" actually exactly same as; "pkg upgrade"? If I'm not wrong, I think "pkg upgrade" already does "pkg update"? 07:34:35 install: ///usr/src/contrib/llvm-project/libcxx/include/__string/extern_template_lists.h: Not a directory 07:34:53 tercaL: not really sure if straight upgrade actually updates the repo info 07:35:17 if it did that would be nice. i have muscle memory to do update then upgrade 07:37:07 wonder what's up with all those install messages for not a directory 07:51:47 i just finished upgrading my homeserver to 14.0, but now get "pam_start: System error" when trying to start grafana on a jail. i'm assuming this affects all services trying to switch users in jails – is this just a new jail setting i have to set or is this some other problem? 07:58:37 mhh, "no pam_opie.so found", lemme re-evaluate my thinjail setup, i guess. ^^ 08:02:04 pkg update 08:02:04 ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg" 08:02:13 wait. what? 08:03:12 you always have pkg-static to fix this by force-upgrading pkg 08:03:45 (14 switched to openssl3) 08:05:12 mhh, i'm finding pam_opie.so on some ancient backup, but not on any of my current systems… 08:06:32 phryk: it was removed, check UPDATING 08:06:42 (not sure if it's in release notes as well) 08:06:50 oh ok 08:07:19 yah i noticed that too when trying to ssh in 08:07:32 good thing i left ssh open heh.. not sure how that would affect actual login too 08:07:49 yuripv: which one, i.e. where do i find it? 08:08:03 /usr/src/UPDATING 08:08:24 20221002 entry 08:08:33 so, there's this massively important text nobody gets when they don't have the source component installed? that seems… ungood.^^ 08:09:44 it's in release notes actually, just checked :) 08:09:59 see Userland Configuration Changes 08:10:05 i probably should have looked at those a bit harder heh 08:10:45 i mean i usually leave like 10 ssh sessions open just in case .. but yah that would have required some tomfoolery to get working had i completely logged out or reboot in that state 08:11:36 yuripv: thanks. 08:11:56 WARNING: FreeBSD 14.0-RELEASE is approaching its End-of-Life date. 08:11:59 but i just installed it! :) 08:12:33 mh, that mentions etcupdate – that tool was specific to building/updating the base system from source tho, right? 08:13:00 (i.e. i don't have to use etcupdate if i updated through freebsd-update) 08:21:59 okay, copied over the updated /etc/pam.d into all jails rw directories. grafana manages to start now. :) 08:23:45 and i got a lot of no data, but it seems like prometheus just threw away all its data for some reason… 08:24:07 ok. all done and all seems to be workign. 08:24:22 so i guess i can rest easy now. NAS has a long way to go for another major update now 08:24:34 ah yes, i now have all of 2 measurements, great success! \o/ 14:22:59 yay upgrade to 14.0 seems to have worked without a hiccup. nice! <3 14:39:59 I'm doing a "cat file1017.data | /usr/bin/gzip -d ..." and I want to skip the first three lines of that output. I'm trying to work through a head/tail combination, without knowing the actual number of lines in this 54GB file. 14:43:11 I think this does it: cat file1017.data | /usr/bin/gzip -d | tail -n +4 14:44:11 "Numbers having a leading plus (`+') sign are relative to the beginning of the input, for example, "-c +2" starts the display at the second byte of the input. " 14:52:37 awk 'NR > 3' 15:48:17 https://www.youtube.com/watch?v=thxnemnprPg <-- real good video on raspberry pi install on freebsd 14.0 and configuring 15:48:18 Title: FreeBSD 14.0 aarch64 - Download, Install & Configure - YouTube 15:48:21 he makes real good videos 15:50:32 If I want to add a new system user (for a service) is the recommendation that, despite it being a system user (not a non-system user) the UID and GID should be above 1000? 15:51:46 because when installing software which adds users, the uid/gid appear to be pre-allocated 15:51:49 tk: i think so, yes, to avoid collisions with uids in ports 15:52:05 i.e. /usr/ports/UIDs 15:56:11 dvl, jgh: between tail and awk, which one is better at being a pass through pipe for a 54 GB file? 15:56:54 jgh: Oh, I see your reply now. 15:57:33 meena: write it in rust. i recently re-implemented an awk script in rust, the speedup is incredible. 15:58:07 tk: see https://docs.freebsd.org/en/books/porters-handbook/special/#users-and-groups 15:58:09 Title: Chapter 6. Special Considerations | FreeBSD Documentation Portal 15:58:30 "choose a unique UID from 50 to 999 and register it in ports/UIDs " 15:58:50 If you're doing your own private port, don't use that range 15:59:30 otis: I'm curious now, how many lines of rust was it compared to awk? (and how many dependencies?) 16:00:21 meena: I could easily imagine tail being better optimised, but there's no theoretical reason awk could not be quick given enough developer love 16:00:31 meena: many lines in rust, compared to awk, indeed. but worth the speed. 16:01:33 also, dvl, you had a pointless use of cat 16:02:16 jgh: It's a script written by people more used to Linux 16:02:53 it'd still be pointless anywhere 16:02:57 dvl: not quite a private port, just that mosquitto runs as nobody by default and I didn't like that, but thank you for pointing me at the source, and thank you yuripv for the help too 16:03:37 jgh: I'm migrating a PostgreSQL Bacula database from Bacula 9.6.7 to Bacula 13.0.1 16:04:03 jgh: Your fix please? I'm already sending them patches. Might as well do one more. 16:04:36 tk: Oh, I have mosquitto running as mosquitto 16:05:24 "cat filename |" can be replaced by "< filename" 16:05:40 tk: OH, I see, I'm running it under supervisord I think. 16:06:16 jgh: Added to notes. thanks. 16:06:57 jgh: I've found the use of cat to be more prevalent amongst people who have drifted from Linux into BSD, rather than those who started in with BSD first. 16:10:09 The other thing, I'm sure the insert into the database doesn't start until the gzip is done, based on how long it takes to get to the error from the first few lines. 16:10:43 meena: I don't know. Easily tested I bet. 16:11:31 dvl: i'm guilty of useless use of cat, but i have a programming background and the consistency of logic from left to right is more important to me than the cat process. 16:11:44 a | b |c instead of b Demosthenex: The left to right reason is a strong valid basis. 16:12:32 what i'll eviscerate people for is curl | sh 16:12:35 if a is a file, "d" 16:13:12 is the same as "b d" 16:13:28 jgh: yes, but again, order of logic, command comes first 16:16:47 you're saying you want the first operator to be written before it's sourcefile? ok, "b d" does that (not that I agree with your choice) 16:17:26 its all just style ;] 16:17:31 indeed 16:17:39 love me some shellcheck 16:18:04 and i only write in posix sh, because i do linux, bsd, and aix. 16:20:29 meena: My suspicion is the gzip will overshadow any improvements between tail / awq 16:32:23 I wish zstd was as prevalent as gzip is 16:35:23 Only writing posix sh is complicated where I usually work; they have Solaris.... 16:56:27 Just to be super certain to do things in the right order when doing a binary upgrade from 13.2 to 14. 16:56:56 First do upgrade with freebsd-update utility. 16:57:20 Then when the machine is running 14-RELEASE 16:58:12 Copy the ZFS EFI file from /boot to the mounted UFI partition that is visible via efibootmanager -v 16:58:29 Thereafter upgrade ZFS 16:58:36 Is that the correct order? 17:02:52 tmp_: I remember solaris .... "ksh -o emacs" 17:09:19 Out of all the systems I've worked with, Solaris has the only non-posix /bin/sh . So taking all those scripts with #!/bin/sh and generalizing them to run on Solaris eventually ended up with a standardized add-on right after that (localized by company, generally 80 to 100 lines). If running on a system with /usr/xpg4/bin/sh (Solaris), it'd exec the rest of the script with that (after making the environment posix friendly). 17:11:46 whut, are we on 14.0 now. hot damn... still on 13.2 :-E 17:33:16 Coming back to cat: I think spurious or superfluous might be better than useful. 18:31:51 node18 broken for anyone else using latest? 18:36:48 Ok.. nm. Looks like it's some multi repo issue with pkg not wanting to update node18. 18:42:59 Huh ? WARNING: FreeBSD 14.0-RELEASE is approaching its End-of-Life date says freebsd-update 18:43:10 hc: known issue. 18:43:24 kk 18:44:17 drobban: I'm still on 13.2 everywhere. No 14 yet. Other things to do first. 19:50:54 Quick question... Trying to setup Xen but it just reboots after trying to load the kernel. How can I browse my zfs filesystem when booted from USB? The USB installer loads the fs as readonly so I can't seem to mount anything to it. 20:26:33 what a day to finally learn zfs 20:31:10 deepthaw: zpool import -R is a good start. You might need to then mount things, depending. 20:34:52 deepthaw: which version of FreeBSD have you been trying? i know at least one developer actively working on Xen 20:35:36 I would think that rebooting on boot is not great. do you get a glimpse of why? 21:06:17 So here's probably an easier question. How can I use the boot loader to skip loading the Xen kernel so I can view the logs? 21:12:12 finally figured it out and... xen didn't keep a crash log 21:13:52 which versions ? (xen, freensd) 21:14:03 uefi or legacy boot ? 21:19:53 legacy boot (I'm pretty sure.) latest freebsd (14-RELEASE) and Xen kernel 4.17.01 21:20:50 This PC keeps trying to boot to UEFI but I keep overriding it - can't figure out how to remove all the EFI stuff from the hard drive. 21:22:34 Maybe this ancient i5 doesn't support what it needs - but it'd be nice if it at least displayed an error stating that :( 21:26:08 ooh it's an i3. didn't remember that. 21:43:53 at least i'm learning a lot about the boot loader 22:23:42 .. 22:52:30 (I didn't realize Solaris sh isn't POSIX compliant) 22:53:03 They've still got the old pre-posix /bin/sh. 22:53:27 The Solaris POSIX shell is located at /usr/xpg4/bin/sh and /bin/sh is the old Bourne shell (without functions IIRC). 22:53:55 the original non bourne again shell 22:55:28 Their approach to posix support is interesting. Pre-posix in the usual /bin /usr/bin, and so on with an earlier version of posix in /usr/xpg4/bin and newer posix in /usr/xpg6/bin. 22:55:37 so, like csh then? 22:56:05 yeah, I had very esoteric paths when I was working on Solaris 22:56:21 You select your level of posix by setting PATH. Basic posix: /usr/xpg4/bin:/usr/bin:/bin More posix: /usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:/bin 22:57:29 i used lots of GNU 22:57:57 And if you needed Solaris 1 compatibility: /usr/ucb. That was deprecated in 1994 and they stopped including it around 2014. 22:58:19 ucb? guessing at universal something 22:58:26 To the anguished screams of devs who were still working on migrating away from Solaris 1. 22:58:52 ucb: University of California, Berkeley. Solaris 1 was very BSD. 22:59:04 Before the BSD/Unix split. 22:59:06 ah I see 22:59:34 And posix says scrips should rely on the compatible shell being installed at /bin/sh 22:59:45 *should NOT 23:00:26 Thus checking for the presence of the posix shell at a different location. 23:23:27 hello there, I'm new on FreeBSD. I have a question, how do I know if I'm using Quarterly o Latest version? Also, I would like to have RR syste, do I need to install the -current version? 23:32:56 joachin: do you mean rolling release by RR? There is no such concept in FreeBSD to my knowledge. 23:34:27 cybercrypto: yes, I do. Oh ok, I tought that the Latest version was a rolling release version and the Quarterly something more stable 23:35:44 joachin: Please, read release engineering so you can get a better overview of how it works: https://www.freebsd.org/releng/ 23:35:45 Title: Release Engineering Information | The FreeBSD Project 23:37:09 doing so, thank you. 23:37:31 Add-on packages (not part of the OS) default to quarterly when using the `pkg` program, with a configuration option to draw from the latest work. The OS itself uses versioned releases. 23:38:12 joachin: current is purely for testing (not designed to be top noth features roling release). To me, RR is purely marketing selling point from some distributions to have a reason to exist. 8-) 23:38:33 For ports and packages see chapter four in the FreeBSD handbook: https://docs.freebsd.org/en/books/handbook/ports/ 23:38:34 Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal 23:39:42 Sure. Thank a lot for your help. I was checking the ports section. 23:48:08 4.4.2 covers quarterly vs. latest.