<?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-09-19T21:45: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:device_management:rescan-scsi-bus&amp;rev=1495114364&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=doksik_leirasok:hadr&amp;rev=1637591284&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=shell:auto_deploy_planner&amp;rev=1490620422&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1779120156&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:drive_usage&amp;rev=1662372529&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=sql&amp;rev=1787732025&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=doksik_leirasok:tsm_install&amp;rev=1733919278&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:inclexcl&amp;rev=1732617535&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1779454865&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:drbd&amp;rev=1385839322&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_interfaces&amp;rev=1651835337&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_list_vms&amp;rev=1601040929&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:aix_rendev&amp;rev=1495114440&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_functions&amp;rev=1593087451&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:hasznos_anr-ek&amp;rev=1457010165&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_lin_tape_rules_conf_generate&amp;rev=1572008294&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:in_risk_vmware&amp;rev=1649928278&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tdp4sapr&amp;rev=1768396331&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:tsm_archiver&amp;rev=1680098207&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=journal&amp;rev=1382708251&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=shell:oravm&amp;rev=1595859598&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: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=shell:riportok:logcollector&amp;rev=1495114440&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:cancel_proc&amp;rev=1533720781&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:idle_vol_dismount&amp;rev=1533720661&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=shell:oravm:ovm_map_phys_disks&amp;rev=1593702397&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linktar&amp;rev=1659096595&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:rsync&amp;rev=1385384796&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:get_serial&amp;rev=1495113937&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:device_management:rescan-scsi-bus&amp;rev=1495114364&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:32:44+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=1495114364&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_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=doksik_leirasok:hadr&amp;rev=1637591284&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-11-22T14:28:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DB2 HADR beállítás</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:hadr&amp;rev=1637591284&amp;do=diff</link>
        <description>DB2 HADR beállítás

&lt;https://www.ibm.com/developerworks/community/blogs/storageneers/entry/tsmptha&gt;
&lt;https://www.ibm.com/support/pages/steps-reestablish-hadr-after-failure-standby&gt;

HADR bekonfugurálás:

/etc/services-be felvenni egy új, még használatlan portot a HADR-nek:
DB2_hadr        60010/tpc$ db2 update db cfg for tsmdb1 using HADR_LOCAL_HOST &lt;IP ADDRESS OF STNDBY&gt;
$ db2 update db cfg for tsmdb1 using HADR_LOCAL_SVC 60010
$ db2 update db cfg for tsmdb1 using HADR_REMOTE_HOST &lt;IP ADDRESS O…</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=shell:auto_deploy_planner&amp;rev=1490620422&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-03-27T13:13:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM Auto Deployment planner szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:auto_deploy_planner&amp;rev=1490620422&amp;do=diff</link>
        <description>TSM Auto Deployment planner szkript

A shell az Admin Center-t igyekszik kiváltani, legalábbis ami az Auto Deployment funkcióját illeti. Lekérdezi a beimportált autodeploy package-eket, és kilistázza. Ebből a listából választott package-hez meg kell adnunk milyen nevű ütemezést szeretnénk, mikor fusson, és mely node-okra állítsa be a deploy-t. A szkript</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1779120156&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-18T16:02:36+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=1779120156&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:riportok:drive_usage&amp;rev=1662372529&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-05T10:08:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM drive usage riport</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:drive_usage&amp;rev=1662372529&amp;do=diff</link>
        <description>TSM drive usage riport

Lekérdezi 24 órás, óránkénti bontásokban a TSM szerver teljes drive használatát, library-kre bontva, és felrajzolja egy ASCII hisztogramon. (Linux/AIX kompitibilis, bash és perl kell a futáshoz.)




#!/bin/bash
#########################################################
# TSM drive hasznalat riportolo szkript  v1.0           #
# Keszitette: Agoston Peter, tsm.agostonpeter.com       #
#########################################################
FILLER=&quot;#&quot;
TMP_FILE=/tmp/dr_usag…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=sql&amp;rev=1787732025&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-08-26T08:13:45+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=1787732025&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=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=doksik_leirasok:tsm_install&amp;rev=1733919278&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-11T12:14:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM szerver telepítés</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_install&amp;rev=1733919278&amp;do=diff</link>
        <description>TSM szerver telepítés

	*  TSM instance könyvtársturktúra (DB, Prilog, Archlog, stb...) létrehozása, jogok

	*  32 MB for the /var directory
	*  7 GB for the installation directory
	*  2 GB for the /tmp directory
	*  2 GB in the home directory</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:inclexcl&amp;rev=1732617535&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-26T10:38:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Include-exclude használat</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:inclexcl&amp;rev=1732617535&amp;do=diff</link>
        <description>Include-exclude használat

Match from top down
If you run dsmc q inclexcl -optfile=„C:\Program Files\Tivoli\tsm\TDPSql\dsm.opt”, you will see the outputs like the following:

(1). &#039;*\...\copyfull*&#039; in TSM Server:


  *** FILE INCLUDE/EXCLUDE ***
  Mode Function  Pattern (match from top down)  Source File
  ---- --------- ------------------------------ -----------------
  **Include All       *\...\copyfull*                Server**
  Include All       *\...\log\...\*                Server
  Includ…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1779454865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-22T13:01:05+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=1779454865&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=linux:drbd&amp;rev=1385839322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-30T19:22:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DRBD</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux:drbd&amp;rev=1385839322&amp;do=diff</link>
        <description>DRBD

telepítés
apt-get install drbd8-utils
konfigurálás
vi /etc/drbd.d/r1.res

#include &quot;drbd.d/global_common.conf&quot;;
#include &quot;drbd.d/*.res&quot;;

resource r1 {
 protocol A;
    # transfer protocol to use.
    # C: write IO is reported as completed, if we know it has
    #    reached _both_ local and remote DISK.
    #    * for critical transactional data.
    # B: write IO is reported as completed, if it has reached
    #    local DISK and remote buffer cache.
    #    * for most cases.
    # A: w…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_interfaces&amp;rev=1651835337&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-06T11:08:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux interfészek listázása</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_interfaces&amp;rev=1651835337&amp;do=diff</link>
        <description>Linux interfészek listázása


#!/bin/bash
SEARCH=${1-.}
VLAN_SNIFF_TIME=10
#ETH
echo &quot;Port#Address#Speed#State#VLANs#Slaves&quot; | awk -F&#039;#&#039; &#039;{printf &quot;%-25s | %-17s | %10s | %-10s | %-13s | %-15s\n&quot;,$1,$2,$3,$4,$5,$6}&#039;
echo &quot;# Ethernet:&quot;
for ETH in $(ip addr | awk -F&#039;: &#039; &#039;/&lt;/{print $2}&#039; | egrep -v &#039;(@|lo|^$)&#039; | grep &quot;$SEARCH&quot; | sort -k1); do
        STATE=$(ethtool $ETH 2&gt;/dev/null | awk -F&#039;: &#039; &#039;/Link detected/{print $2}&#039; | sed -e &#039;s/yes/Link UP/&#039; -e &#039;s/no/Link DOWN/&#039;)
        SPEED=$(ethtool $ETH 2…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_list_vms&amp;rev=1601040929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-25T13:35:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VM-ek listázása</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_list_vms&amp;rev=1601040929&amp;do=diff</link>
        <description>VM-ek listázása


#!/bin/bash
. ovm_functions.sh
kulcs_ellenorzes
OUT_FILE=ovm_list_vm_phys_disks.lst
TMP_FILE=${0}.tmp

echo &#039;NAME;OS;IP;VCPU;MEMORY;DISK_SIZE_SUM;NETWORKS&#039;
for VM_ID in $(ovm_exec &quot;list vm&quot; &quot;id&quot;); do
    ovm_cli &quot;show vm id=$VM_ID&quot; 2&gt;&amp;1 &gt; ${TMP_FILE}
    NAME=$(cat ${TMP_FILE} | awk -F&#039;=&#039; &#039;/Name/{print $2}&#039;)
    MEMORY=$(cat ${TMP_FILE} | grep -v Max | awk -F&#039;=&#039; &#039;/Memory/{print $2}&#039;)
    VCPU=$(cat ${TMP_FILE} | grep -v Max | awk -F&#039;=&#039; &#039;/Processors/{print $2}&#039;)
    OS=$(cat ${T…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:aix_rendev&amp;rev=1495114440&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:34:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AIX tape device-ok átnevezése beszédesre konfig állomány alapján</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:aix_rendev&amp;rev=1495114440&amp;do=diff</link>
        <description>AIX tape device-ok átnevezése beszédesre konfig állomány alapján

A szkript a .cfg fájl alapján végigmegy a tape device-okon (rmt és smc), és legenerálja az AIX-es parancsokat azok átnevezésére, a .cfg-ben deklarált paraméterek alapján.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_functions&amp;rev=1593087451&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-06-25T12:17:31+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=1593087451&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=doksik_leirasok:hasznos_anr-ek&amp;rev=1457010165&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-03T13:02:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Hasznos ANR-ek</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:hasznos_anr-ek&amp;rev=1457010165&amp;do=diff</link>
        <description>Hasznos ANR-ek

ANR1639I Attributes changed for node...

ANR1013I During a store operation, the server is switching to a next pool in the storage hierarchy. The next storage pool will inherit the simultaneous write configuration from the destination primary storage pool.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_lin_tape_rules_conf_generate&amp;rev=1572008294&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-25T12:58:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux-os lin_tape tape device-ok &#039;persistent binding&#039;-jat beállító udev konfig fájl generáló szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_lin_tape_rules_conf_generate&amp;rev=1572008294&amp;do=diff</link>
        <description>Linux-os lin_tape tape device-ok &#039;persistent binding&#039;-jat beállító udev konfig fájl generáló szkript


#!/bin/bash
tsm_inst_user=&#039;root&#039;
echo &quot;# Generated by $0 on $(date)&quot;
UDEVAPP=`which udevadm 2&gt;/dev/null`
UDEVPARAM=&#039;ATTR&#039;
if [ &quot;${UDEVAPP:0:1}&quot; != &#039;/&#039; ]; then
        UDEVAPP=`which udevinfo 2&gt;/dev/null`;
        UDEVPARAM=&#039;SYSFS&#039;
fi
if [ &quot;${UDEVAPP:0:1}&quot; != &#039;/&#039; ]; then
        echo &quot;# Nincs a PATH-ban sem &#039;udevadm&#039;, sem &#039;udevinfo&#039; parancs.&quot;
        exit 1
fi
echo &quot;# Hasznalt udev parancs: $UDE…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:in_risk_vmware&amp;rev=1649928278&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-14T09:24:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VMware image mentések riportja</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:in_risk_vmware&amp;rev=1649928278&amp;do=diff</link>
        <description>VMware image mentések riportja


TSMUSER=user
TSMPASS=password
TSMSERVER=tsm
EMAIL_FROM=&quot;TSM riporter&quot;
TSMNODE=VCENTER01
IN_RISK_DAYS=31
OUTPUT_FILE=&quot;in_risk_vm_machines.out&quot;
EXCEPTION_FILE=&quot;in_risk_vm_machines.exceptions&quot;
VCENTERS=&#039;https://vcenter01.fkf.hu/sdk&#039;</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tdp4sapr&amp;rev=1768396331&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-14T13:12:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TDP for SAP (R)</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tdp4sapr&amp;rev=1768396331&amp;do=diff</link>
        <description>TDP for SAP (R)

A dsierror.log-nak írhatónak kell lennie mindkét (oracub, cubadm) userrel valószínűleg.

Jelszó elmentése:

Instance userrel:
 cubadm$ backint -u cubadm -f password -p /oracle/CUB/.../initCUB.utl
Utána átadni a TSM.sth-t az oracub usernek.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:tsm_archiver&amp;rev=1680098207&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-29T13:56:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM &quot;Inkrementális&quot; archiváló szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:tsm_archiver&amp;rev=1680098207&amp;do=diff</link>
        <description>TSM &quot;Inkrementális&quot; archiváló szkript


#!/bin/bash
DIRECTORIES=&quot;/DIR1 /dir2&quot;
WORKDIR=&quot;/root/tsm_archiver&quot;
LOGFILE=&quot;${WORKDIR}/tsm_archiver.log&quot;
echo &quot;------------------------ $(date) START ----------------------&quot; &gt;&gt; &quot;$LOGFILE&quot;
for DIR in $DIRECTORIES; do
        FILELIST=&quot;${WORKDIR}/tsm_archiver_$(echo ${DIR} | sed &#039;s/[^a-zA-Z0-9\-\.]/_/g&#039;).lst&quot;
        dsmc q ar $DIR/ -subdir=y | awk &quot;/${DIR:1}/&quot;&#039;{print $5}&#039; | sort &gt; &quot;${FILELIST}.archived&quot;
        [[ ! -f &quot;${FILELIST}.archived&quot; ]] &amp;&amp; touch &quot;${…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=journal&amp;rev=1382708251&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-10-25T13:37:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Journal based backup</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=journal&amp;rev=1382708251&amp;do=diff</link>
        <description>Journal based backup

	*  Using filemon.exe to analyze Windows filesystems for journal backups
	*  Decoding a given NotifyFilter in tsmjbbd.ini with journal based backups
	*  TSM Journal based Backups</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=shell:oravm&amp;rev=1595859598&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-27T14:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle VM szkriptek</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm&amp;rev=1595859598&amp;do=diff</link>
        <description>Oracle VM szkriptek

Árva vdisk-ek kilistázása
for diskimage in $( ls /OVS/Repositories/*/VirtualDisks/* );do grep $diskimage /OVS/Repositories/*/*/*/vm.cfg 2&gt;/dev/null || echo $diskimage; done | grep -v file</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>
    <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=shell:riportok:logcollector&amp;rev=1495114440&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:34:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM kliens log gyűjtő</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:logcollector&amp;rev=1495114440&amp;do=diff</link>
        <description>TSM kliens log gyűjtő

Ez a szkript azoknak a TSM üzemeltetőknek lehet hasznos, akik ő maguk nem rendelkeznek hozzáféréssel a kliens hosztokra (node-okra). Az kliens hoszt üzemeltetője sok esetben nem rendelkezik kellő TSM-es ismerettel ahhoz, hogy egy esetleges TSM-es kliens oldali problémát kivizsgáljon. (Nem tudja milyen logokat, hol kell nézni, mit kell nézni bennük, stb.) Ilyen környezetben elég egy ehhez hasonló szkriptet elhelyezni egy publikus share-en, és csak megkérni az üzemeltetőt, h…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:cancel_proc&amp;rev=1533720781&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-08T09:33:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Minden TSM-es process leállítása</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:cancel_proc&amp;rev=1533720781&amp;do=diff</link>
        <description>Minden TSM-es process leállítása


#!/bin/sh
if [[ ! -n &quot;$1&quot; ]]; then
        echo &quot;Add meg a TSM szerver sztanzat parameterkent!&quot;
        exit
fi
TSMSERVER=$1
echo &quot;10 mp mulva leallitom az osszes processzt a $TSMSERVER-en...&quot;
sleep 10
for PROCESS in `dsmadmc -se=$TSMSERVER -id=report -pa=report -dataonly=y &quot;select PROCESS_NUM from processes&quot; | grep -v &#039;AN[RS]&#039;`; do
        echo &quot;$PROCESS processz leallitasa...&quot;
        dsmadmc -se=$TSMSERVER -id=daily_admin -pa=tech321 -dataonly=y can pr $PROC…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:idle_vol_dismount&amp;rev=1533720661&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-08T09:31:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Idle volume-okat dismountoló szkript szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:idle_vol_dismount&amp;rev=1533720661&amp;do=diff</link>
        <description>Idle volume-okat dismountoló szkript szkript


#!/bin/sh
if [[ ! -n &quot;$1&quot; ]]; then
        echo &quot;Add meg a TSM szerver sztanzat parameterkent!&quot;
        exit
fi
SZERVERNEV=$1
for VOLUME in `dsmadmc -se=$SZERVERNEV -id=report -pa=report -dataonly=y &quot;q mo&quot; | grep ANR8329I | awk &#039;{print $4}&#039;`; do
        echo $VOLUME
        dsmadmc -se=$SZERVERNEV -id=daily_admin -pa=tech321 -dataonly=y &quot;dismount v $VOLUME&quot;
done</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=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=linktar&amp;rev=1659096595&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-07-29T12:09:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linktár</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linktar&amp;rev=1659096595&amp;do=diff</link>
        <description>Linktár

	*  ADSM QuickFacts
	*  IBM FTP repoja
	*  Tivoli Storage Manager Trace Facility Guide
	*  VMware &amp; TSM
	*  All about Tivoli Storage Manager (blog)
	*  Collection of useful tapeutil and mtlib commands
	*  NAS Node File Level Restore Configuration with Web Client
	*  Return codes from the command line interface
	*  TSM API return codes
	*  LasCon TSM SHOW commands
	*  LasCon TSM Hints and Tips on Backups
	*  TSM Tutorials
	*  Hub for Troubleshooting ANR2968E/ANR2993E Server Database Back…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:rsync&amp;rev=1385384796&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-25T13:06:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Rsync szkript, mappák szinkronizálásához, mely rule fájlokból veszi a &quot;mit-hovákat&quot;</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:rsync&amp;rev=1385384796&amp;do=diff</link>
        <description>Rsync szkript, mappák szinkronizálásához, mely rule fájlokból veszi a &quot;mit-hovákat&quot;

A szkript az „rsync_*.rule” fájlokat dolgozza fel. 2 vagy 3 TAB-bal elválasztott oszlopból kell álljanak a rule fájlok.
Az első oszlop a „forrás”</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:get_serial&amp;rev=1495113937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:25:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van)</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:get_serial&amp;rev=1495113937&amp;do=diff</link>
        <description>AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van)



#!/bin/sh
if [[ &quot;$1&quot; != &quot;smc&quot; &amp;&amp; &quot;$1&quot; != &quot;all&quot; &amp;&amp; -z &quot;$1&quot; ]]; then
  DEVT=&#039;rmt&#039;;
  echo &quot;rmt eszkozok lekerdezese...&quot;
fi
if [ &quot;$1&quot; = &quot;all&quot; ]; then
  DEVT=&#039;(rmt|smc)&#039;;
  echo &quot;rmt&amp;smc eszkozok lekerdezese...&quot;
fi
if [ &quot;$1&quot; = &quot;smc&quot; ]; then
  DEVT=$1
  echo &quot;smc eszkozok lekerdezese...&quot;
fi

if [ -e &quot;/tmp/get_serial.out&quot; ]; then rm /tmp/get_serial.out; fi
if [ -e &quot;/tmp/get_serial.tmp&quot; ]; then rm /tmp/get_serial.tmp; fi
if [ -e …</description>
    </item>
</rdf:RDF>
