I have recently switched to Linux and I am running it at 125% scaling. Most of the apps I am installing looks blurry and the problem is solved once I switch to 100% scaling, but every thing looks small and unusable.(I was able to fix Vs Code, but PyCharm is still blurry) Please help.
I installed opensearch and opensearch-dashboard in my ubuntu vm. When I try to find out the resources used by opensearch-dashboard with the command
top -U opensearch
i just get
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,2 us, 0,1 sy, 0,0 ni, 99,6 id, 0,0 wa, 0,1 hi, 0,1 si, 0,0 st
MiB Mem : 3665,1 total, 869,7 free, 1745,8 used, 1049,5 buff/cache
MiB Swap: 0,0 total, 0,0 free, 0,0 used. 1606,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
70188 opensea+ 20 0 5078340 1,4g 22956 S 0,3 39,1 2:19.24 java
and I think that that kind of infomation aggregate opensearch AND the opensearch-dashboard how can I find out only the memory cpu and disk space used by the dashboard?
I am on a Ubuntu 22.04.5 LTS server. The network ports are already trunked. I am trying to setup a virtual bridge with a bond as a slave using netplan on a VLAN 202. Below is not working:
$ cat /etc/netplan/00-bond-bridge-config.yaml
network:
version: 2
renderer: networkd
ethernets:
eno3:
dhcp4: false
eno4:
dhcp4: false
bonds:
bond0:
dhcp4: false
interfaces: [eno3, eno4]
parameters:
mode: active-backup
mii-monitor-interval: 100
vlans:
bond0.202:
id: 202
link: bond0
bridges:
br0:
dhcp4: false
interfaces: [bond0.202]
addresses: [192.168.1.2/24]
routes:
- to: default
via: 192.168.1.1
nameservers:
addresses: [1.1.1.1, 8.8.8.8]
search: []
I am unable to ping my Ubuntu host. What do I have wrong in my yaml file?
I have two repos for a web site: one for the backend, one for the frontend. I want to copy files from the frontend to the backend directory, so that everything can be served from one place.
When I run the build
command on the frontend, a folder named dist/
is created. I want to copy all these files to a folder with the relative path ../backend/public
. This public
folder may already contain some other files.
My current script uses hard-coded names for index.html
and and assets/
directory, but more files may be added over time, so I would like a generic solution that will copy everything that has not changed in dist/
to ../backend/public
.
#!/bin/bash
cd ../backend/public
rm -rf index.html assets
cp ../../frontend/dist/index.html ./
cp -r ../../frontend/dist/assets ./assets
I have disabled ctrl+alt+DEL key command using sudo systemctl mask ctrl-alt-del.target
and sudo systemctl daemon-reload
.
But even after this, the system reboots if I give the ctrl+alt+DEL key command continuously.
Is this a know issue with Ubuntu or if this is the expected behavior?
PS: I'm using only the cli interface via SSH. So answers based on GUI don't help.