/srv/irclogs.ubuntu.com/2020/02/28/#ubuntu-server.txt

theborgeranyone around that could give me a bit of help again please?06:31
theborgersetting up ssh config file. and want to make it so i dont have to type out the whole line to do X over ssh not sure how to do it06:32
lordievaderGood morning07:22
* lordievader sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/cEqKYXdXGuvITQcspHqlRZPe >07:22
ForzaHi. :)11:58
ForzaI have set up lio iscsi with fileio. Seems to work good so far. One client rebooted, but the iscsi session seems to remain open. Is there a way to kill a stale client from LIO target side?12:00
mcclurkenGreetings All, I am evaluating if we should continue to use the default swap file versus a logical swap volume. Ubuntu is new in our environment and the swap file us unusual relative to the other Linux servers. Before I abandon the file implementation I am wondering if there's a good reason for using a swap file instead of a partition or LV? Canonical must've had a reason for it?15:14
sdezielmcclurken: flexibility and ease of use are the main reason I guess (I'm not working for Canonical)15:15
rbasakI'm not sure I know the underlying reason, but a file is far more flexible. Snap :)15:15
rbasakeg. changing the size of the swap later is easy15:15
mcclurkenOkay, I kind of guessed that but wasn't sure. I'm trying to not change too much of the default so I'm continuing with the file. So far the biggest issue is with training of the lower level teams. Thanks for the responses.15:20
rangergordWhat tool do you guys recommend for recording information about a Linux system, like CPU and memory usage, network and disk I/O, ideally per-process? Something relatively lightweight, this is for a low-power server. I've found a few by googling but I'm asking for recommendations. It's meant for logging on an embedded server, so interactive tools like top don't help. The goal is that if I need to do some16:36
rangergordtroubleshooting or post-mortem one day, I have as much information as possible available. Like I'm told "it behaved weirdly Saturday at 2AM", then I can use these metrics to assist me in my analysis. For example I could see that some faulty process was pegging the CPU.16:36
tdsatop maybe?16:37
rangergordtds: it's really for logging for post-mortem analysis of an embedded system, not interactive tools16:38
rangergordparsing the output of various Linux commands is how I did it before, but surely that's not how real sysadmins do it?16:38
rangergordThere's stuff like collectd...but I'm asking for recommendations16:39
tdsatop keeps its own records, so you can step back through what happened at various times, etc16:39
rangergordah, ok, let me try16:41
rangergordtds: that does seem nice! I can open a past history file and navigate through it. I wish the file output format was something that could be graphed without an atop-specific parse script, but this is great16:50
rangergordtds: seriously you made my day. I thought atop was just another one of those redundant interactive tools17:00
rangergordfound the parseable flag. it's no JSON but it'll do17:06
supayoshiCannot run samba 4.11+ on Ubuntu 18.04?17:45
supayoshiUnless dockerized?17:45
oerheksindeed, bionic gives 4.7 https://launchpad.net/samba/+packages17:49
oerhekssamba team ppa is not active https://launchpad.net/~samba-team/+archive/ubuntu/ppa17:50
supayoshiany real advantages over samba 4.7 to 4.11?17:51
oerhekssecurity fixes should be backported17:51
oerheksso no, not newer features i guess17:52
supayoshithnx17:54
lordcirthHaving a bizarre problem. We have a script that creates daily log directories. It runs from the crontab of 'www-logs'. If I run it as www-logs manually, it works. If I set it to run from cron every minute, it works. But if it runs every day, or every hour, it doesn't do anything.18:05
lordcirthI was sure it was a cron env thing, until I set it to all '*' and it ran.18:05
mcclurkenThe newer samba has some new features like Apple time capsule support. I was using it on Fedora before I switched to Ubuntu. I looked at putting all the samba bits in docker but decided I didn't care about the Mac backups that much. The good news is I checked the 20.04 nightlies and a new enough version to have the time capsule stuff is in there. So it is close.18:11
ahasenackmcclurken: 20.04 has the latest stable version at this time, 4.11.618:50
mcclurkenahasenack, yes and that is just one reason I'm excited for 20.04 around the corner. I think the version I need is 4.8x but I do not recall exactly. 4.11.6 is even better.18:54
ahasenack4.12 won't make it, unless there is a compelling reason. Feature freeze was yesterday, and I barely got 4.11.6 in18:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!