Teljes szöveg:
- monitorozas
- cal data to identify bottlenecks. Sar is part of the sysstat package. The following are some of the things you can do using sar utility. Collective ... t without any argument displays information about the CPU usage, and I/O statistics about all the partitions on the system as shown below. $ iostat Linux 2.6.32-100... ername. When you have multiple username, separate them using a comma. The example below displays all the process that are owned by user wwwrun, or postfix... pass the pid as an argument to the pmap command. The following example displays the memory map of the current bash shell. In this example, 5732 is the
- openswan @tudasbazis:linux:vpn
- 8.0.15''. We use SSL-certificates to authenticate the users and the server from the roadwarriors point of view. The big advantage of using ssl-certs is to be able to... st his computer or leave the company. We generate the Certification Authority itself and sign the certs with the CA afterwards. This can also be done by a free Ce... e''. **OpenSwan Setup** - Get root access on the appropriate machine and install the package through the provided mechansim for your operation system. - Setup the required certificates for the server, and the ''roadwarriors'': - Creating the CA (valid fo
- read @tudasbazis:linux:bash
- the file descriptor fd supplied as an argument to the -u option, and the first word is assigned to the first name, the second word to the second name, and so on, with leftover words and their intervening separators assigned to the last 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 (described above under Word Splitti
- samba
- rvice, if any. | ^ ''%U'' | | session username (the username that the client wanted, not necessarily the same as the one they got). | ^ ''%D'' | | name of the domain or workgroup of the current user. | ==== Share variables ==== ^ Variable ^ * ^ Description | ^ ''%p'' | X | the path of the service's home directory, obtained from your NIS ... entry is split up as ''%N:%p''. | ^ ''%P'' | X | the root directory of the current service, if any. | ^ ''%S'' | X | the nam
- ldap
- the LDAP client first must authenticate itself to the service. That is, it must tell the LDAP server who is going to be accessing the data so that the server can decide what the client is allowed to see and do. If the client authenticates successfully to the LDAP server, then when the server subsequently receives a request from the client, it will check whether the client is allowed to perfor... client. Simple authentication consists of sending the LDAP server the fully qualified DN of the client (user) and the client's clear-text password. This mechanism has
- hdparm
- sing 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 i... ges are written to disk. <note tip>Note that all these commands are only effective in the long-run, if you make the changes persistent. However, the settings you can set via ''hdparm'' are reverted each time you reboot. Therefore, it might be wise to restore the personal settings upon boot. An appropriate place that exists i
- drbd
- 10.0.0.2:7788; meta-disk internal; } </code> then 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 bash> drbdadm disconnect all drbdadm invalidate-remote all drbdadm primary all drbdadm connect all </code> On the secondary node myhost.mydomain2 issue these commands <code bash> drbdadm disconnect all dr... code> Please be careful on which nodes you issue these commands or else you might end up blowing away data. Once the above commands have been issued, have a look at /
- ntopng
- ntopng.conf> # /etc/ntopng/ntopng.conf # # The configuration file is similar to the command line, with the exception that an equal # sign '=' must be... sed. # # # -G|--pid-path # Specifies the path where the PID (process ID) is saved. # --pid-path=/var/run/... # monitoring. On Unix you can specify both the interface name (e.g. lo) or the numeric # interface id as shown by ntopng... rface=eth1 # # -w|--http-port # Sets the HTTP port of the embedded web server. # --http-port=3000 # #
- lvm
- est version of ubuntu at my place) - Boot using the live cd. Search for these tools: lvm2. If the cd do not have it, install it.<code bash> sudo apt-get install lvm2 </code> - To make sure the harddisk is recognised, you can use fdisk<code ba... for logical volume. You can see partitions inside the hard disk now active.<code bash> sudo lvscan #ACT... p00/LogVol01' [1.94 GB] inherit </code> - Mount the partition to any directory you want, usually to /
- zfs
- e, on a system containing a ZFS dataset name src, the following command transfers the snapshot to the dataset hierarchy at dst on the target system. zfs send -R src_data_pool@TOSNAP |... arget-machine' zfs receive -F dst_data_pool # If the above command is interrupted, type the following command to resume the interrupted transfer. ssh 'target-machine' zfs re... n. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://z... https://serverfault.com/questions/946055/increase-the-zfs-partition-to-use-the-entire-disk - Automatikus pool kiterjesztés be
- noip
- $3 the tty device speed # $4 the local IP address for the interface # $5 the remote IP address # $6 the parameter specified by the 'ipparam' option to pppd # Restart noip2 daemon
- bash
- ''mysqldump'' fails in e.g. ''mysqldump |gzip''. The exit status of the last command that threw a non-zero exit code is r... | Run `echo 3` command in a sub-shell and get the path of the it's stdout fd (e.g. `/dev/fd/63`). | Creates a s... e | | `cat >|d` | `cat` writes the input data to file **d** if the **d** is not existed ??? | creates **d** file | | `cat >>e` | `cat` appends the input data to file **e** | creates **e** file | <
- bandwidthd
- t statistics on. Traffic that # matches none of these subnets will be ignored. # Syntax is either IP ... 4 # Device to listen on # Bandwidthd listens on the first device it detects # by default. Run "bandw... score to traffic #that may not be routing through the host machine. promiscuous true #Log data to cdf ... /log.cdf #output_cdf false output_cdf true #Set the cdf log output directory #log_dir "/var/lib/bandw
- grub
- your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomm
- munin
- he # config file. # # For the .htaccess file option to work the munin www directory # (/var/cache/munin/w... for files to 5 minutes 10 seconds from # their creation (modification) time. There are probably new files by # that time.
