this post was submitted on 06 Jul 2023
15 points (100.0% liked)
Linux
48330 readers
625 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is my new build go to package. Right behind vim and netstat.
Before running updates or big installs, get in to a tmux session. If your ssh session drops, it won’t interrupt the process.
If you want to see multiple servers/network devices, run the same commands, see the same output, switch on pane synchronization and run identical commands in all of them. Even password inputs when you run in to a sudo.
You can design layouts by percentage of the screen - 30%, 60% I’ve got three sites with redundant ISPs, 6 panes showing mtr sessions for each link, which work on any terminal size.
You can have someone else log in to the server and connect to the same tmux session as you, and show them what you’re doing and typing real time. Then collect the log afterwards.
I found a tmux session on a CentOS box that had been running for 5 years in the lab environment when I joined my current company - the guy who spawned it left 4 years ago.
It’s incredibly powerful.
Also, mtr-tiny is great for diagnosing latency issues