User Tools

Site Tools


linux:notes:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:misc [2026/05/03 00:21] – [Set Default Rate] Sean Rhonelinux:notes:misc [2026/11/09 22:39] (current) – Sean Rhone
Line 135: Line 135:
  
 ==== Show Locked Packages ==== ==== Show Locked Packages ====
- 
-**** 
  
   zypper locks   zypper locks
  
 ==== Find Orphans ==== ==== Find Orphans ====
- 
-**** 
  
   zypper packages --orphaned   zypper packages --orphaned
  
 ==== Remove Package and Deps ==== ==== Remove Package and Deps ====
- 
-**** 
  
   sudo zypper remove --clean-deps 'x'   sudo zypper remove --clean-deps 'x'
  
 ==== Show Installed Patterns ==== ==== Show Installed Patterns ====
- 
-**** 
  
   sudo zypper patterns --installed-only   sudo zypper patterns --installed-only
  
 ==== Folder ==== ==== Folder ====
- 
-**** 
  
   ls '/etc/zypp/repos.d'   ls '/etc/zypp/repos.d'
  
 ==== List ==== ==== List ====
- 
-**** 
  
   zypper repos --priority   zypper repos --priority
Line 173: Line 161:
  
   * http://download.opensuse.org/tumbleweed/repo/   * http://download.opensuse.org/tumbleweed/repo/
 +
 +==== Packman Mirrors ====
 +
 +  * http://packman.links2linux.org/mirrors
 +
 +<code>
 +ping 'mirrors.aliyun.com'
 +
 +ping 'mirror.karneval.cz'
 +
 +ping 'ftp.fau.de'
 +ping 'ftp.halifax.rwth-aachen.de'
 +ping 'ftp.gwdg.de'</code>
  
 ====== PipeWire ====== ====== PipeWire ======
Line 367: Line 368:
  
   * [[linux;notes;x86_energy_perf_policy]]   * [[linux;notes;x86_energy_perf_policy]]
 +
 +  watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'
  
   grep 'MHz' '/proc/cpuinfo'   grep 'MHz' '/proc/cpuinfo'
  
-  watch --interval '0.5' grep \'cpu MHz\' '/proc/cpuinfo'+  cat '/sys/devices/system/cpu/cpu'*'/cpufreq/scaling_cur_freq' 
 + 
 +  cpupower frequency-info
  
 ====== OpenSSL Supported Ciphers ====== ====== OpenSSL Supported Ciphers ======
Line 612: Line 617:
  
   OSU_SDL3='1'   OSU_SDL3='1'
 +
 +====== sysctl Checks ======
 +
 +===== All Overrides =====
 +
 +  cat '/etc/sysctl.d/'*
 +
 +  ls '/etc/sysctl.d/'*
 +
 +===== BPF Disable =====
 +
 +  * ''kernel.unprivileged_bpf_disabled = 0''
 +
 +  '/usr/sbin/sysctl' 'kernel.unprivileged_bpf_disabled'
 +
 +===== Legacy MMap =====
 +
 +  * ''vm.legacy_va_layout = 1''
 +
 +  '/usr/sbin/sysctl' 'vm.legacy_va_layout'
 +
 +===== Perf Counters =====
 +
 +  * ''kernel.perf_event_paranoid = -1''
 +
 +  '/usr/sbin/sysctl' 'kernel.perf_event_paranoid'
 +
 +===== Intel Perf Counters =====
 +
 +  * ''dev.i915.perf_stream_paranoid = 0''
 +
 +  '/usr/sbin/sysctl' 'dev.i915.perf_stream_paranoid'
 +
 +===== Magic SysRq key =====
 +
 +  * ''kernel.sysrq = 1''
 +
 +  '/usr/sbin/sysctl' 'kernel.sysrq'
 +
 +===== Memory Map Count =====
 +
 +  * ''vm.max_map_count = 2147483642''
 +
 +  '/usr/sbin/sysctl' 'vm.max_map_count'
 +
 +===== Swappiness =====
 +
 +  * ''vm.swappiness = 0''
 +
 +  '/usr/sbin/sysctl' 'vm.swappiness'
  
 ====== Wine Envs ====== ====== Wine Envs ======
/srv/www/wiki/data/attic/linux/notes/misc.1777782108.txt.gz · Last modified: by Sean Rhone