<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://tsm.agostonpeter.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://tsm.agostonpeter.com/feed.php">
        <title>TSM turkáló</title>
        <description></description>
        <link>https://tsm.agostonpeter.com/</link>
        <image rdf:resource="https://tsm.agostonpeter.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-18T14:49:47+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_riport&amp;rev=1768835672&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_cpu_pin_map&amp;rev=1620374685&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1745928962&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:drp_sync&amp;rev=1558340494&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_functions&amp;rev=1630934379&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:ssh_kulcs_terites&amp;rev=1596549689&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux&amp;rev=1771245137&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:spp&amp;rev=1733388290&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:szkripteles&amp;rev=1696425163&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1734615089&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:find_shell_scripts&amp;rev=1583751037&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://tsm.agostonpeter.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>TSM turkáló</title>
        <link>https://tsm.agostonpeter.com/</link>
        <url>https://tsm.agostonpeter.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_riport&amp;rev=1768835672&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-19T15:14:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM napi riport shell szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_riport&amp;rev=1768835672&amp;do=diff</link>
        <description>TSM napi riport shell szkript

Riportoló eszköz a TSM szerver állapotának ellenőrzésére, napi feladatok felderítésére. A szkript egyelőre Linux környezet alatt fut (AIX-osítás folyamatban). De természetesen nem kell azonos hoszton futnia a TSM szerverrel, elég ha van egy bekonfigurált, működő dsmadmc a hoszton, a megfelelő dsm.sys sztanzákkal (azokhoz a TSM szerverekhez, amiket riportolni szeretnénk). A szkript elején vannak a konfigurálható paraméterek. 
(</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_cpu_pin_map&amp;rev=1620374685&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-05-07T08:04:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle VM CPU pin map</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_cpu_pin_map&amp;rev=1620374685&amp;do=diff</link>
        <description>Oracle VM CPU pin map


#!/bin/bash
#####################################################
# OVM CPU PIN MAP v1.6
# Keszitette: Agoston Peter
#####################################################
CPU_SUM_WARN=5
CPU_SUM_CRIT=10
OVM_ADMIN_PASSWD=PAssword123
OVMC=&quot;/opt/ovm_utils/ovm_vmcontrol&quot;
OVS_SSH_KEY=&quot;/root/.ssh/id_ecdsa_ovs&quot;
SSHC=&quot;ssh -n -p 10000 admin@localhost&quot;
WORKDIR=$(dirname $(readlink -f $0))
FULL_BACKUP_FILE=&quot;${WORKDIR}/all_cpu_pins.bkp.last&quot;
LOGFILE=&quot;${WORKDIR}/ovm_cpu_pin_map.log&quot;
if…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1745928962&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-29T12:16:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Hálózati okosságok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1745928962&amp;do=diff</link>
        <description>Hálózati okosságok

File letöltő BASH-sel


#!/bin/bash
# Usage: ./download_file &#039;https://www.baeldung.com/java-weekly-495&#039; &#039;java_weekly_495.html&#039;
raw_download() {
    wPROTO=&quot;${1%://*}&quot;
    af=&quot;${1#*://}&quot;
    wBASE=&quot;${af%%/*}&quot;
    wSUB=&quot;${af#*/}&quot;

    HTTP_REQUEST=&quot;$({
        echo -en &#039;GET /&#039;&quot;${wSUB}&quot;&#039; HTTP/1.1\r\n&#039;
        echo -en &#039;Host: &#039;&quot;${wBASE}&quot;&#039;\r\n&#039;
        echo -en &#039;Connection: close\r\n\r\n&#039;
    })&quot;

    if [[ &quot;${wPROTO,,}&quot; = &#039;https&#039; ]] ; then
        echo &quot;${HTTP_REQUEST}&quot; | openssl…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:drp_sync&amp;rev=1558340494&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-05-20T08:21:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM szerver működéséhez szükséges kritikus fájlok szinkronizálása egy tartalék szerverre</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:drp_sync&amp;rev=1558340494&amp;do=diff</link>
        <description>TSM szerver működéséhez szükséges kritikus fájlok szinkronizálása egy tartalék szerverre

Egy TSM szerver recoveryhez szükséges konfig fájlok mentését végző szkript. Egy tartalék szerverre szinkronizálja a fájlokat, 31 napig napi egyet őriz meg, az utolsó 24 órából pedig az összeset. Crontabból időzítve érdemes viszonylag gyakran futtatni.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_functions&amp;rev=1630934379&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-09-06T13:19:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ovm_functions.sh szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_functions&amp;rev=1630934379&amp;do=diff</link>
        <description>ovm_functions.sh szkript


red=$&#039;\e[1;31m&#039;
grn=$&#039;\e[1;32m&#039;
yel=$&#039;\e[1;33m&#039;
blu=$&#039;\e[1;34m&#039;
mag=$&#039;\e[1;35m&#039;
cyn=$&#039;\e[1;36m&#039;
whi=$&#039;\e[1;37m&#039;
inv=$&#039;\e[7;37m&#039;
gry=$&#039;\e[1;90m&#039;
end=$&#039;\e[0m&#039;

function ovm_cli() {
        OVMCLI=&quot;ssh -n -o ServerAliveInterval=40 admin@localhost -p 10000&quot;
        $OVMCLI $@
}

function kulcs_ellenorzes() {
if [[ $(ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=5 admin@localhost -p 10000 list manager |grep -c Success) -eq 0 ]]; then
        echo &quot;Nincs…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:ssh_kulcs_terites&amp;rev=1596549689&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-08-04T14:01:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SSH kulcs terítő szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:ssh_kulcs_terites&amp;rev=1596549689&amp;do=diff</link>
        <description>SSH kulcs terítő szkript


#!/usr/bin/expect -f

set host [lindex $argv 0]
set user [lindex $argv 1]
set password [lindex $argv 2]
spawn ssh-copy-id -i /home/$user/.ssh/id_ecdsa.pub $host

expect {
    &quot;continue&quot; { send &quot;yes\n&quot;; exp_continue }
    &quot;assword:&quot; { send &quot;$password\n&quot;; }
    &quot;added: 1&quot; { exit 0 }
    &quot;added: 0&quot; { exit 1 }
}</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux&amp;rev=1771245137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-16T12:32:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux okosságok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux&amp;rev=1771245137&amp;do=diff</link>
        <description>Linux okosságok

UDEV trigger
udevadm control --reload-rules &amp;&amp; udevadm trigger
Dátum figyelés
function date_diff()
{
  date=&#039;2020-08-12T16:00:10&#039;
  epoch=$(date -d &quot;$date&quot; +%s)
  if [ &quot;$epoch&quot; -lt &quot;$(date -d &#039;1 minute ago&#039; +%s)&quot; ] ; then
#[[ &quot;$(date -d &#039;2024-02-01 17:26:00&#039; +%s)&quot; -lt &quot;$(date +%s)&quot; ]] &amp;&amp; echo elmult || echo nem
      echo At least 3 days ago
  else
      echo Too recent
  fi
}</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:spp&amp;rev=1733388290&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-05T08:44:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spectrum Protect Plus (SPP)</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:spp&amp;rev=1733388290&amp;do=diff</link>
        <description>Spectrum Protect Plus (SPP)

Frissítés:

Max 2 verziót lehet egyszerre! Először a vsnap szervert kell, utána az appliance-t.

VSNAP

	*  Ütemezések pause-ba tétele a Jobs fülön.
	*  SSH-n bemenni a vsnap szerverre és systemctl stop vsnap</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux:szkripteles&amp;rev=1696425163&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-10-04T13:12:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Szkriptelés</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux:szkripteles&amp;rev=1696425163&amp;do=diff</link>
        <description>Szkriptelés

Gyors uniq awk-val
awk &#039;!x[$0]++&#039;
Fájlba beszúrás minta után, ha még nincs
sed -i &#039;/^EZENSTRINGUTAN /{N; /\nBEILLESZTENDO$/b; s/\n/\nBEILLESZTENDO\n/}&#039; /etc/resolv.conf
Futási logok archiválása havi lebontású .zip-be, és az 1 hónapnál régebbiek törlése</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1734615089&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-19T13:31:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM kliens riport shell szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1734615089&amp;do=diff</link>
        <description>TSM kliens riport shell szkript

TSM kliens ütemezések sikerességét riportoló szkript. A riport szabályokat a „tsm_kliens_riport.&lt;TSM sztanza&gt;” fájlokból veszi, aminek a formátuma:

email cím; (sql WHERE feltétel az events, mint „e”</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:find_shell_scripts&amp;rev=1583751037&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-09T10:50:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Shell szkript felderítő szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:find_shell_scripts&amp;rev=1583751037&amp;do=diff</link>
        <description>Shell szkript felderítő szkript

Felderíti a hoszton lévő shell szkripteket, és megmutatja a sha hast-üket, a módosítási dátumukat, meg van-e hívva valakinek a crontab-jából, illetve van-e benne IP cím, email cím, vagy előre definiált parancsok valamelyike.
Paraméterként meg lehet neki adni, hogy mely könyvtárra fusson, egyébként az egész fájlrendszerben keres. Illetve szkript lista fájl is megadható neki paraméterként, akkor az abban felsorolt szkripteket elemzi. Ilyen bemenetet gyárt kimenetké…</description>
    </item>
</rdf:RDF>
