Add notes for 2023-07-31

This commit is contained in:
2023-08-02 23:04:11 +03:00
parent 9a2de13f21
commit 190a1ee4a3
32 changed files with 59 additions and 37 deletions

View File

@ -11,7 +11,7 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2023-07/" />
<meta property="article:published_time" content="2023-07-01T17:14:36+03:00" />
<meta property="article:modified_time" content="2023-07-28T11:59:59+03:00" />
<meta property="article:modified_time" content="2023-07-28T12:18:39+03:00" />
@ -28,9 +28,9 @@
"@type": "BlogPosting",
"headline": "July, 2023",
"url": "https://alanorth.github.io/cgspace-notes/2023-07/",
"wordCount": "2190",
"wordCount": "2255",
"datePublished": "2023-07-01T17:14:36+03:00",
"dateModified": "2023-07-28T11:59:59+03:00",
"dateModified": "2023-07-28T12:18:39+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -447,6 +447,16 @@
</ul>
</li>
</ul>
<h2 id="2023-07-29">2023-07-29</h2>
<ul>
<li>Export CGSpace to look for missing Initiative collection mappings</li>
<li>I found a bunch of locks waiting for many hours and killed them:</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>$ psql &lt; locks-age.sql | awk -F<span style="color:#e6db74">&#34;|&#34;</span> <span style="color:#e6db74">&#39;$9 ~ / [[:digit:]][1-9]:[[:digit:]]{2}:[[:digit:]]{2}\./ {print $10}&#39;</span> | sort -u | xargs kill
</span></span></code></pre></div><ul>
<li>This looks for a pattern matching something like <code>11:30:48.598436</code> in the age column (not 00:00:00) and kills them</li>
<li>Start a harvest on AReS</li>
</ul>
<!-- raw HTML omitted -->