Print dnsmasq statistic to journalctl
sudo pkill -USR1 dnsmasq
Print how many packages are installed per repository:
sudo dnf list --installed | grep -E -o "@.*" | sort | uniq -c
Matching nail polisher colour for Rose Pro SL Disc (red) is Rimmel A Spritzzz (714)
To remove a host entry from ~/.ssh/known_hosts
you can do it manually by editing the file or use ssh-keygen
application:
ssh-keygen -R 135.181.157.20
This should fix Host key verification failed
error
cat file | tr -d [$'\t\r\n'] > new_file
CPU benchmark from desktop PC
$ sysbench cpu run --time=5
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 1389.45
General statistics:
total time: 5.0001s
total number of events: 6949
Latency (ms):
min: 0.70
avg: 0.72
max: 1.04
95th percentile: 0.75
Threads fairness:
events (avg/stddev): 6949.0000/0.00
execution time (avg/stddev): 4.9991/0.00
Verify your GPU:
/sbin/lspci | grep -e VGA
Make sure you:
Make sure you system is up to date (reboot if something was installed):
sudo dnf update -y
Install nvidia driver:
sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda
Wait until kernel module is compiled.
Enable video acceleration and some extras:
sudo dnf install vdpauinfo libva-vdpau-driver libva-utils xorg-x11-drv-nvidia-cuda-libs xorg-x11-drv-nvidia-cuda
Reboot system.
Verify that nouveau
driver is disabled:
lsmod |grep nouveau
Edit this /etc/selinux/config
file and follow instructions
By default fedora uses Wayland. Make sure the following section exists in /etc/gdm/custom.conf
:
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
DefaultSession=gnome-xorg.desktop
Create TCP dump of all traffic on localhost on port 8888
sudo tcpdump -i lo "port 8888" -w dump