uk
Feedback
کانال انجمن کلاد و دوآپس تبریز

کانال انجمن کلاد و دوآپس تبریز

Відкрити в Telegram

کانال انجمن کلاد، دوآپس و مهندسی اتکاپذیری سیستم تبریز، نشر اطلاعیه رویداد ها و همایش های حوزه کلاد و دوآپس تبریز لینک گروه — https://t.me/devops_tabriz_group — admin @arsalanses

Показати більше
284
Підписники
+124 години
+27 днів
Немає даних30 день
Архів дописів
hero.pdf10.15 KB

docker buildx cloud
docker buildx create --driver cloud <ORG>/<BUILDER_NAME>

Byobu Multip­lexer
Shift-F2: Create a horizontal split.
Ctrl-F2: Create a vertical split.

Shift-­Lef­t/R­igh­t/U­p/Down: Move focus among splits.

Shift-­Alt­-Le­ft/­Rig­ht/­Up/Down: Resize a split.

Ctrl-F5: Reconnect ssh/gp­g/dbus sockets.

Shift-F6: Detach session and do not logout.

Shift-F11: Zoom into a split, zoom out of a split.

Alt-Pa­geU­p/P­ageDown: Enter and move through scroll­back.

What is the difference between IaaS, CaaS, and PaaS
What is the difference between IaaS, CaaS, and PaaS

Content-CheatsheetPostgreSQL.pdf

journalctl -t CRON --since "today"
journalctl -t CRON --since "30 minutes ago"
journalctl -t CRON --since "2023-01-25"

0 4 * * * /home/user/make-backup.sh 2>&1 | logger -t backups
journalctl -t backups --since "today"
journalctl -t backups -f

0 4 * * * /home/user/make-backup.sh > /tmp/backups.log 2>&1
0 4 * * * /home/user/make-backup.sh 2>&1 | ts >> /tmp/backups.log
https://blog.healthchecks.io/2023/01/using-logs-to-troubleshoot-failing-cron-jobs/

Processes Signals in Linux
kill -KILL pid
kill -HUP pid
kill -TERM pid

pkill name
killall name

Yet Another Bench Script
curl -sL yabs.sh | bash -s -- -ign

DB size
SELECT
    table_schema AS 'DB Name',
    ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) AS 'DB Size in MB'
FROM
    information_schema.tables
GROUP BY
    table_schema;
Table sizes
SELECT 
    table_name AS "Table",
    ROUND(((data_length + index_length) / 1024 / 1024), 2) AS "Size (MB)"
FROM
    information_schema.TABLES
WHERE 
    table_schema = "<your-database-name>"
ORDER BY 
    (data_length + index_length) DESC;