Teljes szöveg:
- monitorozas
- pful when you are working on Linux environment. This list is not comprehensive or authoritative by any means. ... formance data in the background on an on-going basis and do analysis on the historical data to identify bottlenecks. Sar is part... 972.42 513308749 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)... e process Id and commands in a hierarchy. –forest is an argument to ps command which displays ASCII art of process tree. From this tree, we can identify which is the parent process
- read @tudasbazis:linux:bash
- before attempting to read any input. The prompt is displayed only if input is coming from a terminal. | ^ ''-r'' | B... ractional portion following the decimal point. This option is only effective if read is reading input from a terminal, pipe, or other spe... on the specified file descriptor, non-zero otherwise. The exit status is greater than 128 if the timeout is exceeded. | ^ ''-u fd'' | Read input from... or fd. | If no names are supplied, the line read is assigned to the variable REPLY. The return code is zero, unless end-of-file is encountered, read tim
- lvm
- et install lvm2 </code> - To make sure the harddisk is recognised, you can use fdisk<code bash> sudo fdisk -lu </code> - Once installed, run pvscan to scan all disks for physical volume. this to make sure your LVM harddisk is detected by Ubuntu<code bash> sudo pvscan #PV /de... 0" now active </code> - Run lvscan to scan all disks for logical volume. You can see partitions inside the hard disk now active.<code bash> sudo lvscan #ACTIVE '/dev... -Stop: # Should-Start: udev mdadm-raid cryptdisks-early multipath-tools-boot # Should-Stop:
- ntopng
- terface. Any traffic on # those networks is considered local. This parameter allows the user to define additional # ... ntopng periodically purges idle hosts. With this option you can modify this behaviour by # telling ntopng not to purge the hosts specified by -S. This parameter requires an argu‐ # ment that... irectory (it must be writable). Default directory is ./data # --data-dir=/var/tmp/ntopng # # -q|
- ldap
- from the client, it will check whether the client is allowed to perform the request. This process is called access control. In LDAP, authentication i... ther services too (Sendmail, Login, Ftp, etc.). This is accomplished migrating specific user information to your LDAP server and using a mechanism called PAM (Pluggable Authentication Module). The authentication module for LDAP is available as a tar ball on the following address:
- hdparm
- le bash> hdparm -A 1 /dev/sda </file> * If the disk is constantly too noisy, you can change its acoustic management at the c... unleash and then park its heads. The generated noises can be thus regarded as distracting by the user. To circumvent this issue, you can switch the drive to the lowest degree... l settings upon boot. An appropriate place that exists in most Linux distributions is the ''/etc/rc.local'' script.</note> </blockquote
- discard
- ata1.00'' == ''scsi0 id 0'' == **''sda''**, ez a disk pedig <code bash>lshw -class disk -short</code><code> H/W path Device ... ' mount opció | ^ lvm | ''/etc/lvm/lvm.conf'' | ''issue_discards = 1'' beállítás | ^ fs | ''/etc/fstab'' | ''... kdiscard -v /dev/sda </code> <note important>Ez a művelet nem vonható vissza semmilyen adatvisszaállító programmal!</note>
- openswan @tudasbazis:linux:vpn
- mmunicate with a single remote private network. This is often called a ''roadwarrior'' scenario where a single clients is accessing the company network from different loca... int of view. The big advantage of using ssl-certs is to be able to revoke them (declare them as invalid) if a user lost his computer or leave the company. We generate the Ce... nstalled the OpenSwan packages, provided by your distribution vendor. The required package for the Debian operation-system is called openswan and can be installed either by us... ile> As we prepare the client configurations in this example, the client ip is predefined. The network settings can also be assi
- snmp
- ocalPort 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
- drbd
- internal; } } </file> Where myhost.mydomain1 is just my first host, I wish to just create a one node drbd cluster for now s... to add redundancy for backup purposes. /dev/sdb2 is just a small 50gb partition for testing purposes and the 10.0.0.1 address is just a private ip address that I intend on bindin... updated drbd.conf file to myhost.mydomain2, then issue these commands on myhost.mydomain1, assuming you want to make this the primary node <code bash> drbdadm disconnect ... wing away data. Once the above commands have been issued, have a look at /proc/drbd there will be some statistics on whats happening. I'm not really using drb
- samba
- tBIOS name of the client machine (very useful). This parameter is not available when Samba listens on port 445, as clients no longer send this i... the service's home directory, obtained from your NIS auto.map entry. The NIS ''auto.map'' entry is split up as ''%N:%p''. | ^ ''%P'' | X | the root ... personality”. | ^ ''%N'' | X | the name of your NIS home directory server. This is obtained from your NIS auto.map entry. If you have not compiled Samba with the ''--with-automount'' option, this value will be the same as ''%L''. | ^ ''%v'' |
- ures_rendszer_csomagjai
- t iproute iptables iputils-ping iputils-tracepath isc-dhcp-client isc-dhcp-common iso-codes kbd keyboard-configuration klibc-utils lan... libhx509-5-heimdal libidn11 libio-string-perl libisc83 libisccc80 libisccfg82 libjs-jquery libk5crypto3 libkeyutils1 libk... ls perl perl-base perl-modules plymouth procps psmisc python python-apport python-apt python-apt-commo... m-report python-serial python-simplejson python-twisted-bin python-twisted-core python-wadllib python-
- bandwidthd
- ons that don't usually get changed # An interval is 2.5 minutes, this is how many # intervals to skip before doing a grap... d strange problems #filter "ip" #Draw Graphs - This default to true to graph the traffic bandwidthd is recording #Usually set this to false if you only ... Bandwidthd will use very little #ram and cpu if this is set to false. #graph true #Set META REFRESH for static pages in seconds(default 150, use 0 to disable). #meta_refresh 150 meta_refresh 150 #Set t
- gdisk
- nge.com/a/60393/21185 - Mentés: <code bash> sgdisk -b 'partitions.sgdisk' /dev/sda </code> - Visszaállítás: <code bash> sgdisk -r 'partitions.sgdisk' /dev/sda </code> <note important><WRAP> Ha a p... egy másik lemezre, gépre állítottuk helyre, (vagyis ha nem az eredeti rendszer reprodukálása a cél), akkor érdemes a GUID-eket is újrageneráltatni a cél lemezen: <code bash> sgdis
- virtualbox
- add - </code> - Hozzáadás a ''/etc/apt/sources.list.d/virtualbox-offical-source.list'' fájlhoz: <file apt virtualbox-offical-source.l... tanácsos, mert * az írást cache-eli a virtuális OS is (dupla cache-elés) * problé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 disk image esetén az OS esetleg túlságosan késve írja
