Skip to content

Instantly share code, notes, and snippets.

View Zetta555's full-sized avatar
:octocat:
movement in learning

zetta555 Zetta555

:octocat:
movement in learning
View GitHub Profile
@Zetta555
Zetta555 / docker_rus.md
Created October 31, 2025 21:18 — forked from wtw24/docker_rus.md
Шпаргалка с командами Docker

Шпаргалка с командами Docker

1552317264965 1552317537397 1552317711879

1552318467562 1552318531067 1552318577900 1552318614839

#!/bin/bash
# Скрипт, который показывает процессы в стиле ps ax используя только файлы из /proc
# PID - имя папки
# TTY - сравнивать Uid в /proc/PID/status и владельца в /dev/pts, + если процесс без Groups:, то терминал ?
# STAT - как минимум строка state из /proc/PID/status, так же надо добавить допольнительные статусы, типа <, N, +
# TIME - cat /proc/PID/stat | awk '{print $14 " " $15 }', сумма этих показателей, измеряется в тиках. Обычно один 100 тиков - секунда
# COMMAND - cat /proc/PID/cmdline
# Ссылки
@Zetta555
Zetta555 / tutorial.md
Created December 15, 2018 16:22 — forked from Hengjie/tutorial.md
How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs

How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs

There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.

Summary

We attach the SATA HDDs as a RDM (Raw Device Mapper) into an existing virtual disk in the command line, then on the web app