Teljes szöveg:
- monitorozas
- itoring-tools/ <blockquote> <file> Top 25 Best Linux Performance Monitoring and Debugging Tools by RAMESH NATARAJAN on DECEMBER 7, 2011 ... s. Sar is part of the sysstat package. The following are some of the things you can do using sar utility. Collective CPU usage Individual CP... L. 14:34:51.423640 IP valh4.lell.net.ssh > yy.domain.innetbcp.net.11006: P 116:232(116) ack 1 win 63652 E.....@.@..\..i...9...*.V..*]...P....h....7... mples 3. Nagios Nagios is an open source monitoring solution that can monitor pretty much anything in your IT infrastructure. For example, when a server goes down
- munin
- in ====== ===== Általános problémák ===== - Munin bind address beállítása az **/etc/munin/munin-node.conf**-ban:<code> # Which address to bind to... ő beállításokat:<code bash /etc/munin/munin.conf> includedir /etc/munin/munin-conf.d graph_strategy cgi munin_cgi_graph_jobs 6... hare/munin/munin-graph chgrp www-data /var/log/munin /var/log/munin/munin-graph.log chmod g+w /var/log/munin /var/log/munin/munin-graph.log chgrp -R www-data /var/cache/munin/www/tim chmod -R g+w
- read @tudasbazis:linux:bash
- ast name. If there are fewer words read from the input stream than names, the remaining names are assigned empty values. The characters in IFS are used to split the line into words using the same rules the shell uses for expansion (des... aracter (\) may be used to remove any special meaning for the next character read and for line continuation. Options, if supplied, have the following ... | The first character of delim is used to terminate the input line, rather than newline. | ^ ''-e'' | If the standard inpu
- ures_rendszer_csomagjai
- gnupg gpgv grep groff-base gzip hostname ifupdown info initscripts insserv install-info iproute iptables iputils-ping isc-dhcp-client i... ci3 libpcre3 libpng12-0 libpopt0 libpth20 libreadline5 libreadline6 librpcsecgss3 libsasl2-2 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsm6 ... tude base-files base-passwd bash bash-completion bind9-host bsdmainutils bsdutils busybox-initramfs busybox-static bzip2 ca-certificates comma... gnupg gpgv grep groff-base gzip hostname ifupdown info initramfs-tools initramfs-tools-bin initscripts insserv install-info installation-report iproute iptables iputils-pi
- lvm
- ki: <code bash /etc/init.d/lvm2> #!/bin/sh ### BEGIN INIT INFO # Provides: lvm2 lvm # Required-Start:... fs # Default-Start: S # Default-Stop: ### END INIT INFO SCRIPTNAME=/etc/init.d/lvm2 . /lib/lsb/init-f... VM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 /sbin/vgscan --ignorelockingfailure || : /sbin/vgchange -aly --ignorelockingfailure || return 2 } do_stop() { /sbin/vgchange -an || return 2
- openswan @tudasbazis:linux:vpn
- /etc/ipsec.d/private/caKey.pem </code> - Creating client-certs\\ //Hint: we create a p12 container which contains nearly all files for the clients: (we assume tha... 0 </file> As we prepare the client configurations in this example, the client ip is predefined. The network settings can also be assigned by the server using the push/pull method. **Hints** ''s:ident-server-data'' must be the same as the output of: <code
- ffmpeg_intel_quicksync
- QuickSync ====== * http://emby.media/community/index.php?/topic/10723-gpu-transcoding-intel-quicksync-and-nvidia-nvenc/page-30#entry314835... kdir /opt/intel/mediasdk/include/mfx sudo cp /opt/intel/mediasdk/include/*.h /opt/intel/mediasdk/include/mfx </code> <file bash /usr/lib/pkgconfig/li... refix=${prefix} libdir=${exec_prefix}/lib/lin_x64 includedir=${prefix}/include Name: libmfx Description: Intel Media SDK D... c++ -ldl -lva-drm -ldrm Libs.private: Cflags: -I${includedir} -I/usr/include/libdrm </file> - Újraindítás: <code bash>
- samba
- hine. It currently recognizes Samba (Samba), the Linux CIFS file system (CIFSFS), OS/2, (OS2), Windows for Workgroups (WfWg), Windows 9x/ME (Win95), Windows NT (WinNT), Windows 2000 (Win2K), Windows XP (WinXP), Windows XP 64-bit(WinXP64), Windows 2003 including 2003R2 (Win2K3), and Windows Vista (Vista). Anything else will be known as UNKNOWN. | ^ ''%I'' | | the IP address of the client machine. | ^ ... stens on port 445, as clients no longer send this information. If you use this macro in an include statement on a domain that has a Samba domain controller be sure to set
- ntopng
- rface name (e.g. lo) or the numeric # interface id as shown by ntopng -h. On Windows you must use the interface number instead. # Note that you can specify -i multiple times in order to instruct ntopng to create multi‐ # ple inter... # -m|--local-networks # ntopng determines the ip addresses and netmasks for each active interface. Any traffic on # those networks ... -q|--disable-autologout # Disable web interface logout for inactivity. # --disable-autologout #
- drbd
- sts to the pool to replicate my data at a later point. In short I want run the cluster in a degraded mode till I get more hosts to add redu... 0.0.1 address is just a private ip address that I intend on binding to the second network interface on my server such that I can use a cross o... n copy the updated drbd.conf file to myhost.mydomain2, then issue these commands on myhost.mydomain1, assuming you want to make this the primary node <code ba... </code> Notes: I found that if both my disks are invalid (after some messing to test the backups) you might get something like this <code> [root@myhost.mydomain1 ~]# drbd
- iptables
- somagok 1%-ának eldobása: <code bash> iptables -A INPUT -p tcp --destination-port 445 -m statistic --mode random --probab... it --limit 100/min --limit-burst 10 -j ACCEPT -A INPUT -d 192.168.1.0/24 -p tcp -m tcp -m limit --limit 100/min --limit-burst 10 -j LOG --log-prefix "filter/tail... 3537836] :OUTPUT ACCEPT [25590:1878596] -A PREROUTING -d 86.40.20.20/32 -i ppp0 -p tcp -m tcp --dport 25 -j DNAT --to-destination 192.168.1.242:25 -A PREROUTING -d 86.40.20.20/32 -i ppp0 -p tcp -m tcp --dport 587 -j DNAT --to-destination 192.168.1.242:587 -A PREROUTING -d 86.40.20.20/32 -i ppp0 -
- zfs
- ====== ZFS ====== * https://wiki.archlinux.org/index.php/Install_Arch_Linux_on_ZFS * https://openzfs.github.io/openzfs-docs/Getting... S.html * https://www.usenix.org/system/files/login/articles/login_winter16_09_jude.pdf * https://bigstep.com/blog/zfs... -zfs-performance ===== Cache ===== * https://linuxhint.com/configuring-zfs-cache/ * https://www-45drives-com.translat... qnsz <code bash> # For example, on a system containing a ZFS dataset name src, the following command transfers the snapshot to the dataset hi
- grub
- rub set root=(hdX,Y) set ls /boot insmod linux linux /vmlinuz root=/dev/sdXY ro #use the usual linux way of referring to partitions: sda1 would 1st ... ve, 3rd partition; sdb5: 2nd drive, 5th partition initrd /initrd.img boot </code> ====== Grub2 ====== Csak ko... lease -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX="text" # Uncomment to enable BadRAM filtering, modify to suit your needs
- bash
- t -` | `cat` reads from stdin instead of a file and writes everything to stdout ... ` | | ``` cat - <<-EOF 4 EOF ``` | Read multiline string while `EOF` with removal of <TAB> indents | #4 input of `cat` | | `cat - <<<5` | Write `5` to stdin of `cat` | #5 input of `cat` | | `cat 2>&1` | merge stderr of cat into it's stdout | | `cat >c` | `
- nyomozas @tudasbazis:linux:zfs
- ===== Cachek állapotának lekérdezése ===== * Minden olvasási cache infó: <code bash> arc_summary </code> * Olvasási L... Wed Dec 15 09:48:44 2021 Linux 5.4.0-91-generic 0.8.3-1ubuntu12.13 Machine: server (x86_64) 0.... 100.0 % 9.3 GiB Min size (hard limit): 20.0 %
