<?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-28T16:13:51+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=sql&amp;rev=1769077493&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tapeutil&amp;rev=1398697456&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:riportok:q_pr&amp;rev=1731509933&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=shell:replikacio:smart_replicator&amp;rev=1774514667&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_create_vms&amp;rev=1588001304&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:change_repl_roles&amp;rev=1772446625&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:circular_copy&amp;rev=1479310056&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:dsmcad_init&amp;rev=1384445549&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:rescan-scsi-bus&amp;rev=1461142727&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_rename_phys_disk&amp;rev=1594733600&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=doksik_leirasok:vio&amp;rev=1532509124&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:oravm:ovm_map_phys_disks&amp;rev=1593702397&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_se&amp;rev=1732790751&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=sql&amp;rev=1769077493&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-22T10:24:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Hasznos TSM SQL lekérdezések</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=sql&amp;rev=1769077493&amp;do=diff</link>
        <description>Hasznos TSM SQL lekérdezések

SQL is implemented as if a query was executed in the following order:

	*  FROM clause
	*  WHERE clause
	*  GROUP BY clause
	*  HAVING clause
	*  SELECT clause
	*  ORDER BY clause

Takarításhoz

Nem használt aktív management class-ok listázása</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tapeutil&amp;rev=1398697456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T15:04:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Tapeutil, itdt használat</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tapeutil&amp;rev=1398697456&amp;do=diff</link>
        <description>Tapeutil, itdt használat

Tapeutil or ITDT
 parancs  leírás  tapeutil -f /dev/smc0 elementinfo	 Displays element information - library information tapeutil -f /dev/smc0 inventory	 Displays the element status information tapeutil -f /dev/smc0 inventory -i</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:riportok:q_pr&amp;rev=1731509933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-13T14:58:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Szebb &#039;q process&#039; kimenet</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_pr&amp;rev=1731509933&amp;do=diff</link>
        <description>Szebb &#039;q process&#039; kimenet

6-os szerver verzióhoz írt lekérdezés, mely sortörés nélkül írja ki a &#039;q process&#039; kimenetét, adatátviteli sebességekkel és process start idővel kiegészítve.


#!/bin/sh
TSMSERVER=&#039;tsmsrv01&#039;
ID=&#039;tsm_user&#039;
PA=&#039;tsm_pass&#039;

RED=&#039;\033[0;31m&#039;
GREEN=&#039;\033[0;32m&#039;
CYAN=&#039;\033[0;36m&#039;
LIGHT_GREEN=&#039;\033[1;32m&#039;
YELLOW=&#039;\033[1;33m&#039;
LIGHT_CYAN=&#039;\033[1;36m&#039;
DEFAULT=&#039;\033[0m&#039;
SQL=&#039;SELECT process_num, substr(process,1,20) as PROCESS, substr(char(start_time),1,19) AS START_TIME,substr(char…</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=shell:replikacio:smart_replicator&amp;rev=1774514667&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-26T08:44:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM Smart Replicator</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:smart_replicator&amp;rev=1774514667&amp;do=diff</link>
        <description>TSM Smart Replicator

Ez a szkript a node replikációkat hivatott vezérelni úgy, hogy mindig egy megadott maximum darabszámú (REPLMAXNUM) replikációt futtat. Meghatározott időközönként (REFRESHRATE) figyeli, hogy hány replikációs processz fut épp, és akkor indítja a következőt, mikor ez a szám a REPLMAXNUM alá csökken. A node-ok listáját a szerverről olvassa ki, a REPLSTATE=ENABLED és REPLMODE=SEND/SYNCSEND paraméterű node-okkal dolgozik. Ha az INFINITERUN=true, akkor ha a node-ok listájának végé…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_create_vms&amp;rev=1588001304&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-04-27T15:28:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Tömeges VM létrehozó szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_create_vms&amp;rev=1588001304&amp;do=diff</link>
        <description>Tömeges VM létrehozó szkript

Minta konfig fájl:
#OVS_NAME       REPO_NAME               POOL_NAME       VM_NAME         MEMORY_GB       VCPU_COUNT      BOOT_DISK_GB    CD_NAME         NETWORK_NAME

#!/bin/bash
. ovm_functions.sh
kulcs_ellenorzes

[[ -e $1 ]] || { echo &quot;Add meg a konfig fajlt parameterkent.&quot;; exit 1; }
        while read LINE; do
        OVS_NAME=$(echo $LINE | cut -d&#039; &#039; -f 1)
        REPO_NAME=$(echo $LINE | cut -d&#039; &#039; -f 2)
        POOL_NAME=$(echo $LINE | cut -d&#039; &#039; -f 3)
     …</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:change_repl_roles&amp;rev=1772446625&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-02T10:17:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM node replikacios iranyt forgato szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:change_repl_roles&amp;rev=1772446625&amp;do=diff</link>
        <description>TSM node replikacios iranyt forgato szkript

A szkript két replikációs TSM szervert tud kezelni. (Egy cél és egy hozzá tartozó forrás szerver.) Paraméterként megadott node, vagy node-ok replikációs szerepkörét cseréli meg (megfordítja a node replikációs irányát), törli, vagy teszi szinkron módba.</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:circular_copy&amp;rev=1479310056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-16T15:27:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM Cirkuláris Másolatkészítő szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:circular_copy&amp;rev=1479310056&amp;do=diff</link>
        <description>TSM Cirkuláris Másolatkészítő szkript

A primary pool-okat, amiket a PRIM_POOL_WHERE változóban megadott SQL feltétellel definiálunk, folyamatosan másolja az azonos nevű, _C végű copy poolokba. Egy időben BACKUPMAXNUM „backup stg” processzt enged futni, amit REFRESHRATE percenként vizsgál. Az INFINITERUN=true esetén ha a storage pool lista végére ért, kezdi előről.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:dsmcad_init&amp;rev=1384445549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-14T16:12:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>A &#039;dsmcad&#039; inittab-ba/init.d-be való betevése</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:dsmcad_init&amp;rev=1384445549&amp;do=diff</link>
        <description>A &#039;dsmcad&#039; inittab-ba/init.d-be való betevése

AIX-en az inittab-ba, linux alatt az init.d-be tesszük.


#!/bin/bash
### AIX inittab beallitas
# Megnezzuk nem letezik-e mar az inittab-ban a bejegyzes, letezik-e a dsmcad es AIX-on vagyunk-e
if [ `grep dsmcad /etc/inittab | wc -l` -eq 0 ] &amp;&amp; [ -f /usr/bin/dsmcad ] &amp;&amp; [ &quot;$(uname)&quot; = &quot;AIX&quot; ]; then
        # Megnezzuk mire mutat a symlink-je a dsmcad-nak, mert azt tesszuk az inittabba
        DSMCADPATH=`ls -l /usr/bin/dsmcad | awk &#039;{print$NF}&#039; | sed…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:rescan-scsi-bus&amp;rev=1461142727&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-20T08:58:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linuxos &quot;cfgmgr&quot;</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:rescan-scsi-bus&amp;rev=1461142727&amp;do=diff</link>
        <description>Linuxos &quot;cfgmgr&quot;


#!/bin/bash
# Skript to rescan SCSI bus, using the
# scsi add-single-device mechanism
# (c) 1998--2008 Kurt Garloff &lt;kurt@garloff.de&gt;, GNU GPL v2 or later
# (c) 2006--2008 Hannes Reinecke, GNU GPL v2 or later
# $Id: rescan-scsi-bus.sh,v 1.48 2010/08/10 19:32:22 garloff Exp $

setcolor ()
{
  red=&quot;\e[0;31m&quot;
  green=&quot;\e[0;32m&quot;
  yellow=&quot;\e[0;33m&quot;
  bold=&quot;\e[0;1m&quot;
  norm=&quot;\e[0;0m&quot;
}

unsetcolor ()
{
  red=&quot;&quot;; green=&quot;&quot;
  yellow=&quot;&quot;; norm=&quot;&quot;
}

# Output some text and return cursor t…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_rename_phys_disk&amp;rev=1594733600&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-14T13:33:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fizikai diszkeket átnevező szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_rename_phys_disk&amp;rev=1594733600&amp;do=diff</link>
        <description>Fizikai diszkeket átnevező szkript


#!/bin/bash
## bemeneti fajl szintaxis:
# DISK_UUID  DISK_NAME  SHAREABLE
# 6005076802820058A000000000000000        diszk_név  No [host1,host2,host3 - opcionális]
. ovm_functions.sh
kulcs_ellenorzes
TMP_FILE=/tmp/ovm_rename_phys_disks.tmp
LOGFILE=&quot;ovm_rename_phys_disks.log&quot;


&gt;$TMP_FILE
[[ -e $1 ]] || { echo &quot;Add meg a konfig fajlt parameterkent.&quot;; exit 1; }
ovm_cli &quot;list PhysicalDisk&quot; | awk -F&#039; &#039; &#039;/:/{print $2}&#039; | sed &#039;s/id://&#039; | while read SOR; do
#ovm_cli …</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=doksik_leirasok:vio&amp;rev=1532509124&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-25T08:58:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VIO parancsok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:vio&amp;rev=1532509124&amp;do=diff</link>
        <description>VIO parancsok

Login: padmin/padmin

Virtuális adapterek kiosztása új LPAR létrehozásakor

(LPAR létrehozásakor a Virtual Adaptersnél a „max. virt. adapterst” magasra kell venni, mert egy 40-es ID-jű adapter nem tudunk létrehozni, ha nincs min. 40-re véve a max. adapters száma.)</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:oravm:ovm_map_phys_disks&amp;rev=1593702397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-02T15:06:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fizikai diszkek tömeges mappelése VM(ek)hez</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_map_phys_disks&amp;rev=1593702397&amp;do=diff</link>
        <description>Fizikai diszkek tömeges mappelése VM(ek)hez

Input fájl szintaxis:
#VM_NÉV   DISZK_NÉV

#!/bin/bash
. ovm_functions.sh
kulcs_ellenorzes

trap ctrl_c INT

function ctrl_c() {
        echo -e $end
        exit
}

[[ -e $1 ]] || { echo &quot;Add meg a konfig fajlt parameterkent.&quot;; exit 1; }
while read LINE; do
    VDISK_NAME=$(echo $LINE | cut -d&#039; &#039; -f 1)
    VM_NAMES=$(echo $LINE | cut -d&#039; &#039; -f 2 | sed &#039;s/,/ /g&#039;)
    echo &quot;$(env printf &#039;\u250F&#039;) A(z) ${yel}$VDISK_NAME${end} hozzarendelese a...&quot;
    for…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_se&amp;rev=1732790751&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-28T10:45:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Szebb &#039;q session&#039; kimenet</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_se&amp;rev=1732790751&amp;do=diff</link>
        <description>Szebb &#039;q session&#039; kimenet

6-os szerver verzióhoz írt lekérdezés, mely sortörés nélkül írja ki a &#039;q session&#039; kimenetét, adatátviteli sebességekkel és session start idővel kiegészítve.


#!/bin/sh
TSMSERVER=&#039;tsmsrv01&#039;
ID=&#039;tsm_user&#039;
PA=&#039;tsm_pass&#039;

RED=&#039;\033[0;31m&#039;
GREEN=&#039;\033[0;32m&#039;
CYAN=&#039;\033[0;36m&#039;
LIGHT_GREEN=&#039;\033[1;32m&#039;
YELLOW=&#039;\033[1;33m&#039;
LIGHT_CYAN=&#039;\033[1;36m&#039;
DEFAULT=&#039;\033[0m&#039;
SQL=&quot;SELECT SESSION_ID, CLIENT_NAME, substr(char(start_time),1,19) AS START_TIME,substr(char(days(current_timesta…</description>
    </item>
</rdf:RDF>
