Teljes szöveg:
- monitorozas
- “1 3″ indicates that the sar -b will be executed for every 1 second for a total of 3 times. $ sar -b 1 3 Linux 2.6.18-19... can also set warning and critical threshold level for various services to help you proactively address the issue. For example, it can notify sysadmin team when a disk ... 49 2411023092 By default iostat displays I/O data for all the disks available in the system. To view statistics for a specific device (For example, /dev/sda), use th... -e Be default, strace displays all system calls for the given executable. The following example shows the output of strace for the Linux ls command. $ strace ls execve("/bin/l
- iptables
- Sep 10 09:16:24 2013 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [436717:73347425]... "filter/tail: INPUT/DROP " -A INPUT -j DROP -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT -A FORWARD -s 192.168.1.70/32 -i eth0 -m state --state NEW -j DROP -A FORWARD -s 192.168.1.71/32 -i eth0 -m state --state N
- drbd
- ics.org/~jtang/blog/posts/Experimenting_with_DRBD_for_data_replication_for_backup_purposes/ <blockquote> Software used, *... tp://www.drbd.org - I downloaded the centos srpms for v8.3.x and rebuilt them for scientificlinux. * Scientificlinux 5.4 http://w... cs on whats happening. I'm not really using drbd for high availability, but rather for an easy way of providing a backup copy of my data... d to do no fsck's So I now have this in my fstab for /home <code fstab> /dev/drbd0 /home
- openswan @tudasbazis:linux:vpn
- ume the following network configuration: The pool for the ''roadwarriors'' is ''192.168.2.0/24''. A sin... 192.168.0.0/24'' where all of the servers reside. For example after establishing a vpn connection to ou... by your distribution vendor. The required package for the Debian operation-system is called openswan an... nstall the package through the provided mechansim for your operation system. - Setup the required cer
- ntopng
- root.net/linux/install-ntopng-ubuntu-16-04/ - Forrás hozzáadása (Wheezy-n): <code bash> wget http:/... d value. Example: -i=p1p2 or --interface=p1p2 For # options with no value (e.g. -v) the equa... erface or collector endpoint to be used by ntopng for network # monitoring. On Unix you can spec... ntopng determines the ip addresses and netmasks for each active interface. Any traffic on # th
- lvm
- e the solution is here....... - Get a live cd, for example, Ubuntu. For this article, I use Ubuntu 6.06 (I cannot find an... u at my place) - Boot using the live cd. Search for these tools: lvm2. If the cd do not have it, inst... - Once installed, run pvscan to scan all disks for physical volume. this to make sure your LVM hardd... ] </code> - After that run vgscan to scan disks for volume groups.<code bash> sudo vgscan #Reading al
- munin
- he_stats lrwxrwxrwx 1 root root 30 Jun 3 14:39 forks -> /usr/share/munin/plugins/forks lrwxrwxrwx 1 root root 35 Jun 3 14:39 fw_pac... nice 10 ### itt csokkentjuk a prioritast expect fork respawn pre-start script mkdir -p /var/run/
- read @tudasbazis:linux:bash
- ter (\) may be used to remove any special meaning for the next character read and for line continuation. Options, if supplied, have th... ter reading nchars characters rather than waiting for a complete line of input, but honor a delimiter i... ing exactly nchars characters rather than waiting for a complete line of input, unless EOF is encounter
- rsync
- -ids --delete --inplace --info=progress2 --stats "forras" "cel" </code> ===== Hasznos kapcsolók =====... readable%%'' | output numbers in a human-readable format | | ^ ''%%-H%%'', ''%%--hard-links%%'' | prese... ess2%%''-vel csak, állandóan frissített progresst for kiírni | ^ ''%%-P%%'' | same as ''%%--partial%%''... | | ^ ''%%--chown=USER:GROUP%%'' | This option forces all files to be owned by USER with group GROUP
- noip
- "${NOIP_BIN}" -K "${pid}" \ && waiting_for_stop "${pid}" \ || rc=$? log_end_msg ... 1>' \ || true } function waiting_for_stop() { local pid="$1" local waiting_cyc... ): <file bash noip2> #!/bin/bash # # ip-up script for noip2 # Some useful variables, as noted at # htt... device speed # $4 the local IP address for the interface # $5 the remote IP addre
- ffmpeg_intel_quicksync
- ksync-and-nvidia-nvenc/page-30#entry314835 ===== Fordítás forráskódból Ubuntu Trusty-n (14.04) ===== - Instal... l_media_ubuntu.sh> #!/bin/bash echo "Modify file for ubuntu ..." find -name "*.pc" | xargs sed -i 's|l... e bash> sudo reboot </code> - ffmpeg telepítése forrásból (letöltés, futtatás): https://gist.github.c
- doveadm @tudasbazis:linux:dovecot
- ^Paraméter ^Leírás ^ | ''-f table'' | táblázatos forma (mindig a parancs előtt) | | ''-A'' //vagy//\\ ... goldani: - Ideiglenes levélmappa létrehozása a forrás felhasználónál: <code bash> doveadm mailbox cr... > - A fájlrendszeren lévő levelek átmozgatása a forrás felhasználó ''mailbox/TempDir/cur'' mappájából... ló mappájába! - Ideiglenes levélmappa törlése a forrás felhasználónál: <code bash> doveadm mailbox de
- dd
- /note> ===== Nagy adat közvetlen írása ===== Ha forrás/cél egy //block device//, akkor érdemes kierős... nyiségű adatnál sokat gyorsít a folyamaton. Ha a forrás és a cél is block device: <code bash> dd if=/d... b oflag=direct status=progress </code> - Küldő (forrás) oldalon: <code bash> dd if=/dev/sda bs=16M if... b oflag=direct status=progress </code> - Küldő (forrás) oldalon: <code bash> dd if=/dev/sda bs=16M if
- gdb
- lábasan:<code bash> gdb -c 'core_file' 'debugosan_forgatott_binaris' </code> * Osztott képernyős forráskód nézővel:<code bash> gdb -tui -c 'core_file' 'debugosan_forgatott_binaris' </code> Ezt ki-be kapcsolni utólag... tás a 8-as frame-re | | <code c>l # list</code> | Forráskód mutatása | | <code c>i lo # info locals</co
- screen
- s #vbell off #bell_msg "" # terminfo and termcap for nice 256 color terminal # allow bold colors - necessary for some reason attrcolor b ".I" # tell screen how to set colors. AB = background, AF=foreground #termcapinfo xterm|xterms|xs|rxvt|aterm ti
