کانال انجمن کلاد و دوآپس تبریز – Telegram
کانال انجمن کلاد و دوآپس تبریز
261 subscribers
116 photos
5 videos
57 files
550 links
کانال انجمن کلاد، دوآپس و مهندسی اتکاپذیری سیستم تبریز، نشر اطلاعیه رویداد ها و همایش های حوزه کلاد و دوآپس تبریز
لینک گروه

https://news.1rj.ru/str/devops_tabriz_group

admin
@arsalanses
Download Telegram
Don't Push To Production On Friday
👍2
Forbidden PTY allocation request with ssh
no-pty,no-X11-forwarding,permitopen="localhost:3306",command="/bin/echo do-not-send-commands"
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;
1
Yet Another Bench Script
curl -sL yabs.sh | bash -s -- -ign
Processes Signals in Linux

kill -KILL pid
kill -HUP pid
kill -TERM pid

pkill name
killall name
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/
What is the difference between IaaS, CaaS, and PaaS
👍1
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.
👍1
docker buildx cloud
docker buildx create --driver cloud <ORG>/<BUILDER_NAME>
👍1