Teljes szöveg:
- monitorozas
- Program in Linux 14. Lsof Lsof stands for ls open files, which will list all the open files in the system. The open files include network connection, devices and dir... er NAME full path of the file name. To view all open files of the system, execute the lsof command wit... 8,1 4096 2 / skipped.. To view open files by a specific user, use lsof -u option to d... ey features of ntop: Display network traffic broken down by protocols Sort the network traffic output
- snmp
- lPort tcpConnRemAddress tcpConnRemPort listen 0.0.0.0 22 0.0.0.0 0 listen 0.0.0.0 80 0.0.0.0 0 listen 0.0.0.0 111 0.0.0.0 0 listen 0.0.0.0 139 0.
- locale
- <code bash> sudo -s apt-get install language-pack-en language-pack-hu dpkg-reconfigure locales update-locale --reset \ LANG="en_US.UTF-8" \ LC_MESSAGES="POSIX" \ LANGUAGE= \ LC_ALL= \ LC_CTYPE="en_US.UTF-8" \ LC_NUMERIC="en_US.UTF-8" \ LC_TIME="en_US.UTF-8" \ LC_COLLATE="en_US.UTF-8" \ LC_
- bash
- '' (a.k.a. ''set -e'') to make your script exit when a command fails. * Then add ''|| true'' to commands that you allow to fail. * Use ''set -o nounset'' (a.k.a. ''set -u'') to exit when your script tries to use undeclared variables. ... cs deklarálva a ''$parameter'' változó, akkor legyen lecserélve a "default" szóra: <code bash> echo "$
- hdparm
- e disk synchronisation intervals are too short, then even small amounts of data will be written to disk which can have severe consequences for it... owsers like Chrome write regularly small chunks when browsing in order not to lose any important data when the application crashes. However, this lets the disk spin very often as the drive repeatedly needs to unleash and then park its heads. The generated noises can be thus ... on the performance. It sets the flush interval when dirty pages are written to disk. <note tip>Note that all these commands
- discard
- ' mount opció | <note important>Titkosított lemezen / fájlrendszeren való **discard** növeli az SSD élettartamát, de g... m szerű TRIM-elés ===== Ha a fájlrendszer valamilyen okból kifolyólag nem **discard** opcióval van fel... d területeket felszabadítani az SSD számára. Minden kötet TRIM-elése: <code bash> fstrim -av </code> ... </code> <note important>Ez a művelet nem vonható vissza semmilyen adatvisszaállító programmal!</note>
- screen
- ====== Screen ====== ===== Beállítás ===== * https://snarfed.org/dotfiles/.screenrc * https://gith... /.screenrc'': <file bash .screenrc> # No "New screen..." message at startup startup_message off # Set... ssary for some reason attrcolor b ".I" # tell screen how to set colors. AB = background, AF=foreground... M term xterm-256color # New tab bindkey "^t" screen # Switch screens with Ctrl-[/] bindkey "^[" prev
- lvm
- esystem type you are using is supported. What happen when you have an LVM formatted disk, and you need to m... - if [ "$DM_VG_NAME" ] && [ "$DM_LV_NAME" ]; then - lvm lvchange -aly --ignorelockingfailure "$DM_... G_NAME/$DM_LV_NAME" - rc=$? - if [ $rc = 5 ]; then - echo "Unable to find LVM volume $DM_VG_NAME/$... f [ -z "$DM_VG_NAME" ] || [ -z "$DM_LV_NAME" ]; then + return 1 + fi + + # If the logical volume hasn
- fsck
- sfsck'' | FAT32 | <note tip>Ha nem szeretnéd észben tartani, hogy melyik fájlrendszerhez melyik paran... nux * https://superuser.com/questions/1241796/when-will-fsck-run-if-maximum-mount-count-is-1 ==== ... ==== * az ''fstab''-ban a ''PASS'' ne ''0'' legyen * a fájlrendszer metájában (''tune2fs -l /dev/sdb1'') legyen * a **Maximum mount count** legyen nagyobb mi
- samba
- configuration options (only those that are used when a connection has been established)// ==== Client variables ==== ^ Var... (very useful). This parameter is not available when Samba listens on port 445, as clients no longer s... b ports = 139''. This will cause Samba to not listen on port 445 and will permit include functionality... ^ ''%H'' | X | the home directory of the user given by ''%u''. | ^ ''%u'' | X | username of the curre
- virtualbox
- lni, mert az nem támogat asszinkron I/O-t * Minden más esetben kevésbé tanácsos, mert * az írást cache-eli a... más lehet, mert a guest úgy tudja, hogy már a disken vannak a változások, de közben még csak a memóriában! * nagy és/vagy sok dis
- debconf
- ===== Minden kérdés ===== Csomagtelepítéskor minden kérdést dobjon fel, hogy ne kelljen ''dpkg-reconfigure''-ral szenvedni minden telepítés után. <code bash> sudo dpkg-reconfigure... | //dialog//\\ (jó grafikus felület nélküli gépeken) | ^ Min priority | //low//\\ (//medium// az alap
- dd
- z eszközt írd/olvasd, hogy kevesebb közbülső rétegen menjen keresztül, ami nagy mennyiségű adatnál sokat gyor... ==== dd-zés hálózaton keresztül ===== ==== Közvetlen kapcsolaton ==== - Fogadó (cél) oldalon: <code ... 68.0.2 19000 </code> ==== Lassabb hálózati közegen ==== * https://www.ndchost.com/wiki/server-ad
- swap
- === ===== Swappiness beállítása ===== * https://en.wikipedia.org/wiki/Swappiness Ha a géped akkor i... = 10 </code> * Csak 0 szabad RAM esetén swap-eljen: <code bash 99-swapiness.conf> vm.swappiness = 0 ... | The kernel will swap only to avoid an [[https://en.wikipedia.org/wiki/Out_of_memory|out of memory]] ... is sometimes recommended to improve performance when sufficient memory exists in a system. | | ''vm.sw
- ldap
- authenticates successfully to the LDAP server, then when the server subsequently receives a request from t... response protocol in which data is exchanged between the client and the server for the purposes of aut... o-password-authentication-for-a-user-using-ldap * http://php.net/manual/en/function.ldap-compare.php
