This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uls:agents:linux [2014-12-16 15:00] uls [flush_test_values] |
uls:agents:linux [2025-02-01 17:28] (current) uls [RedHat 9 based] |
||
---|---|---|---|
Line 41: | Line 41: | ||
----- | ----- | ||
- | === SLES11 === | + | === openSUSE Leap 42.3 === |
Download the the current version of the [[:unix2web]] and the [[:uls:agents:linux]] | Download the the current version of the [[:unix2web]] and the [[:uls:agents:linux]] | ||
- | * {{:uls:agents:u2webtools-8.7-2_sles11.x86_64.rpm}} | + | * {{:unix2web:u2webtools-9.5-3_opensuse_leap_42.3.x86_64.rpm}} |
- | * {{:uls:agents:uls-client-3.1-9.i586.rpm}} | + | * {{:uls:agents:uls-client-3.10-8_opensuse_leap_42.3.x86_64.rpm}} |
and copy these files as root to a temporary directory. | and copy these files as root to a temporary directory. | ||
Checksums: | Checksums: | ||
# sha1sum u2webtools* | # sha1sum u2webtools* | ||
- | 6024a8d012a9df2ef73cd87b2db912c0f7aa61ce u2webtools-8.7-2_SLES11.x86_64.rpm | + | b3bf67a71b0e3c34b58a0553030e9ec9a767ee9e u2webtools-9.5-3_openSUSE_Leap_42.3.x86_64.rpm |
| | ||
# sha1sum uls-client*.rpm | # sha1sum uls-client*.rpm | ||
- | 059512b091d532519a68adac3e9b61ad0633c00f uls-client-3.1-9.i586.rpm | + | 9b457d752f5e4cb8266e413b28a4b8c195f58079 uls-client-3.10-8_openSUSE_Leap_42.3.x86_64.rpm |
Install the package: | Install the package: | ||
- | # rpm --install u2webtools-8.7-2_SLES11.x86_64.rpm | + | # rpm --install u2webtools-9.5-3_openSUSE_Leap_42.3.x86_64.rpm |
- | # rpm --install uls-client-3.1-9.i586.rpm | + | # rpm --install uls-client-3.10-8_openSUSE_Leap_42.3.x86_64.rpm |
+ | |||
+ | |||
+ | ----- | ||
+ | |||
+ | === SLES12 === | ||
+ | |||
+ | Download the the current version of the [[:unix2web]] and the [[:uls:agents:linux]] | ||
+ | * {{:unix2web:u2webtools-9.5-2_sles12.x86_64.rpm}} | ||
+ | * {{:uls:agents:uls-client-3.10-7_sles12.x86_64.rpm}} | ||
+ | and copy these files as root to a temporary directory. | ||
+ | |||
+ | Checksums: | ||
+ | # sha1sum u2webtools* | ||
+ | 33be6ec70a4362167daf82cb3e8b9a5a35af168d u2webtools-9.5-2_sles12.x86_64.rpm | ||
+ | |||
+ | # sha1sum uls-client*.rpm | ||
+ | d109085f7219a3691803fe3fdb06c44c661a0931 uls-client-3.10-7_sles12.x86_64.rpm | ||
+ | |||
+ | Install the package: | ||
+ | # rpm --install u2webtools-9.5-2_sles12.x86_64.rpm | ||
+ | # rpm --install uls-client-3.10-7_sles12.x86_64.rpm | ||
+ | |||
+ | |||
+ | ----- | ||
+ | |||
+ | === RedHat 9 based === | ||
+ | |||
+ | Download the current version of the [[:unix2web]] and the [[:uls:agents:linux]] | ||
+ | * {{:unix2web:u2webtools-9.9-5.el9.x86_64.rpm}} | ||
+ | * {{:unix2web:u2webtools_mariadb_18-9.9-5.el9.x86_64.rpm}} | ||
+ | * {{:uls:agents:uls-client-3.15-8.el9.x86_64.rpm}} | ||
+ | and copy these files as root to a temporary directory. | ||
+ | |||
+ | # Checksums: sha256sum | ||
+ | 72fdb9db611d4c18e95eaa89acb72861574c068c2f10827f34bc01f6d8d93a0e u2webtools-9.9-5.el9.x86_64.rpm | ||
+ | 0fc702734ad6beffda1293cd20adb84a2cfc417a3cf2e4c406d70a9ca63fb263 u2webtools_mariadb_18-9.9-5.el9.x86_64.rpm | ||
+ | da833ebe7d906f9da31866eb57ac040a03dba7f5116fa8e39b54ef7f6006c6ab uls-client-3.15-8.el9.x86_64.rpm | ||
+ | |||
+ | |||
+ | ----- | ||
+ | |||
+ | === CentOS 7 (RedHat 7) === | ||
+ | |||
+ | Download the the current version of the [[:unix2web]] and the [[:uls:agents:linux]] | ||
+ | * {{:unix2web:u2webtools-9.5-2.el7.x86_64.rpm}} | ||
+ | * {{:uls:agents:uls-client-3.10-7.el7.x86_64.rpm}} | ||
+ | and copy these files as root to a temporary directory. | ||
+ | |||
+ | Checksums: | ||
+ | # sha1sum u2webtools* | ||
+ | c299402729185837755f00a7e2ac17339ff7388f u2webtools-9.5-2.el7.x86_64.rpm | ||
+ | |||
+ | # sha1sum uls-client*.rpm | ||
+ | 19b55bbf55ec2f7ce1bf9424e6eb5157af8ef3ac uls-client-3.10-7.el7.x86_64.rpm | ||
+ | |||
+ | Install the package: | ||
+ | # rpm --install u2webtools-9.5-2.el7.x86_64.rpm | ||
+ | # rpm --install uls-client-3.10-7.el7.x86_64.rpm | ||
+ | |||
+ | |||
+ | ----- | ||
+ | |||
+ | |||
+ | === Debian based === | ||
+ | |||
+ | Download the the current version of the [[:unix2web]] and the [[:uls:agents:linux]] | ||
+ | * {{:unix2web:u2webtools_9.6-11debian9_amd64.deb}} | ||
+ | * {{:unix2web:u2webtools_9.6-11debian10_amd64.deb}} | ||
+ | * {{:uls:agents:uls-client_3.10-8_amd64.deb}} | ||
+ | and copy these files as root to a temporary directory. | ||
+ | |||
+ | Checksums: | ||
+ | # sha1sum u2webtools* | ||
+ | f1753b8e815bf9202c8ab74f63fe9c62 u2webtools_9.6-11debian9_amd64.deb | ||
+ | 795f8121d9201936730b906a152e3e29 u2webtools_9.6-11debian10_amd64.deb | ||
+ | |||
+ | # sha1sum uls-client*.rpm | ||
+ | 2de5da6331c57e48d32d21d0fe7b6575c4260e67 uls-client_3.10-8_amd64.deb | ||
+ | |||
+ | Install the package: | ||
+ | # dpkg -i u2webtools_9.5-2_amd64.deb | ||
+ | # dpkg -i uls-client_3.10-7_amd64.deb | ||
Line 104: | Line 186: | ||
| | ||
# ULS Monitoring | # ULS Monitoring | ||
+ | @reboot root /usr/share/ulsclient/do_tests -f /etc/uls/tests_reboot.conf >/dev/null 2>&1 | ||
*/5 * * * * root /usr/share/ulsclient/do_tests /etc/uls/tests5.conf >/dev/null 2>&1 | */5 * * * * root /usr/share/ulsclient/do_tests /etc/uls/tests5.conf >/dev/null 2>&1 | ||
- | */15 * * * * root /usr/share/ulsclient/do_tests /etc/uls/tests15.conf >/dev/null 2>&1 | + | */15 * * * * root /usr/share/ulsclient/do_tests -f /etc/uls/tests15.conf >/dev/null 2>&1 |
- | 16 3 * * * root /usr/share/ulsclient/do_tests /etc/uls/tests_daily.conf >/dev/null 2>&1 | + | 36 5 * * * root /usr/share/ulsclient/do_tests -f /etc/uls/tests_daily.conf >/dev/null 2>&1 |
- | 26 12 * * * root /usr/share/ulsclient/do_tests /etc/uls/tests_daily12.conf >/dev/null 2>&1 | + | 35 12 * * * root /usr/share/ulsclient/do_tests -f /etc/uls/tests_daily12.conf >/dev/null 2>&1 |
- | + | ||
- | The path may be ''/usr/share'' or ''/usr/local''. | + | |
{| | {| | ||
Line 449: | Line 530: | ||
└──► <source> | └──► <source> | ||
└──► System | └──► System | ||
- | └──► Prozesse | + | └──► Process |
| time stamp | Total | running | sleeping | stopped | zombie | | | time stamp | Total | running | sleeping | stopped | zombie | | ||
| --------------------|-------|---------|----------|---------|--------| | | --------------------|-------|---------|----------|---------|--------| | ||
- | | 2013-11-12 16:15:00 | 189 | 0 | 189 | 0 | 0 | | + | | 2016-11-12 16:15:00 | 189 | 0 | 189 | 0 | 0 | |
- | | 2013-11-12 16:10:00 | 187 | 1 | 186 | 0 | 0 | | + | | 2016-11-12 16:10:00 | 187 | 1 | 186 | 0 | 0 | |
- | | 2013-11-12 16:05:00 | 186 | 0 | 186 | 0 | 0 | | + | | 2016-11-12 16:05:00 | 186 | 0 | 186 | 0 | 0 | |
... | ... | ||
</file> | </file> | ||
Line 472: | Line 553: | ||
... | ... | ||
# | # | ||
- | # Name Sum-FLAGS (.|[cChMRSTuVWy]) PID-Flags ([bChlLmMNRSsTtUuVWy]) | + | # Name Sum-FLAGS PID-Flags [Line-Filter] [Teststep] [Section] |
- | ###################################################################### | + | # (.|[cCdDeEfhM ([bCdDeEfhlLmMN |
+ | # RSTuVwWy]) RSsTtUuVwWy]) | ||
+ | ################################################################################################ | ||
+ | |||
+ | .*kswapd0.* RSVdDeE | ||
+ | .*backup_redologs.sh.* bCtU | ||
+ | .*winbindd.* . cCo | ||
+ | .*winbindd.* acCmMsy | ||
+ | |||
+ | </file> | ||
+ | |||
+ | There will be a summary for all winbind processes | ||
+ | and specific metrics for each winbind process. | ||
+ | |||
+ | In the ULS user interface (interactive webbrowser-based analysis), it will be displayed as: | ||
+ | <file> | ||
+ | <domain> | ||
+ | └──► <source> | ||
+ | └──► System | ||
+ | └──► Process => | ||
+ | └──► kswapd0 | ||
+ | |||
+ | | time stamp | RES | Shared-Mem | Virt | io-Read | io-write | | ||
+ | | | MB | MB | MB | kB/s | kB/s | | ||
+ | | --------------------|-----|------------|------|---------|----------| | ||
+ | | 2017-04-04 16:15:00 | 0 | 0 | 0 | 0 | 0 | | ||
+ | | 2017-04-04 16:10:00 | 0 | 0 | 0 | 0 | 0 | | ||
+ | | 2017-04-04 16:05:00 | 0 | 0 | 0 | 0 | 0 | | ||
+ | ... | ||
+ | |||
+ | └──► winbind | ||
+ | └──► winbind => | ||
+ | |||
+ | | time stamp | Cpu | Num-Open-Files | | ||
+ | | | % | | | ||
+ | | --------------------|-----|----------------| | ||
+ | | 2017-04-04 16:15:00 | 0 | 29 | | ||
+ | | 2017-04-04 16:10:00 | 0 | 29 | | ||
+ | | 2017-04-04 16:05:00 | 0 | 29 | | ||
+ | ... | ||
</file> | </file> | ||
Line 621: | Line 741: | ||
|- | |- | ||
| -f -z -j | | -f -z -j | ||
- | | the output of stdout and stderr is send as file **-f**, as zipped file **-z** | + | | the output of stdout and stderr is send as file **-f**, as gzipped file **-z** |
or as bzip2-ed file **-j**, default is as text value (which is directly readable | or as bzip2-ed file **-j**, default is as text value (which is directly readable | ||
in the ULS user interface (interactive webbrowser-based analysis)) | in the ULS user interface (interactive webbrowser-based analysis)) | ||
Line 854: | Line 974: | ||
send_test_value [-d <storepath>] [-S] [-h <hostname>] [-n|-N HH:MM|-u] [-s <access>] [-r <rettime>] | send_test_value [-d <storepath>] [-S] [-h <hostname>] [-n|-N HH:MM|-u] [-s <access>] [-r <rettime>] | ||
- | <section> <teststep> <detail> <unit> <date> <time> <value> | + | <section> <teststep> <detail> <date> <time> <value> <unit> |
{| | {| | ||
Line 873: | Line 993: | ||
| -r <rettime> | | -r <rettime> | ||
| :TODO: | | :TODO: | ||
- | |} | ||
- | |||
- | ----- | ||
- | |||
- | === send_test_values === | ||
- | |||
- | This script is obsolete, use [[linux#send_test_zeile]]. | ||
- | |||
- | ----- | ||
- | |||
- | === send_test_zeile === | ||
- | |||
- | Transfers an arbitrary number of "<detail>:<value>:<unit>" combinations in one call to ULS. | ||
- | The performance compared to single calls to [[linux#sent_test_value]] is considerably better. | ||
- | |||
- | send_test_zeile [-h <hostname>] [-n|-N HH:MM|-u] [-s <access>] <section> <teststep> <date> <time> | ||
- | <detail>:<value>:<unit> [<detail>:<value>:<unit> ...] | ||
- | |||
- | {| | ||
- | ! parameter | ||
- | ! description | ||
- | |- | ||
- | | -n | ||
- | | <value> will only be saved in ULS if it differs compared to the previous value | ||
- | |- | ||
- | | -u | ||
- | | <value> will only be saved in ULS if this <value> does not already exists for the same timestamp | ||
- | |- | ||
- | | -N HH:MM | ||
- | | <value> will only be saved in ULS if it differs compared to the previous value or | ||
- | more than the time interval specified as HH:MM has eleapsed compared to the timestamp of | ||
- | the last saved value. | ||
|} | |} | ||