saltstack's salt-ssh (Update at any time)

Salt introduces a powerful message queue as a communication transmission mechanism. Sometimes we need old tools to be more effective -- salt ssh. Official documents https://docs.saltstack.com/en/latest/topics/ssh/index.html salt is designed to connect a large number of remote hosts at one time, while SSH (security shell is short for Secure she ...

Posted by tomwerner on Wed, 08 May 2019 17:54:04 +0200

Fusion of Deep Learning Batch Task Processing Scheduler and kubernetes Default Scheduler

Three-step installation of kubernetes cluster What is a batch task? In deep learning, there are many tasks of multi-machine and multi-card, that is to say, colleagues will have multiple pods, but these pods belong to the same task. So there's a problem. A task starts with 100 pods, each pod needs a card, a total of 100 GPU cards, while there ar ...

Posted by jrobles on Wed, 08 May 2019 14:45:03 +0200

Linux Disk and File System Management

fdisk Commonly used disk partitioning tools, limited by the mbr partition table, can only partition disks smaller than 2TB. If you use fdisk to partition disks larger than 2TB, although partitioning is possible, it can only recognize 2T of space. Generally, the parted partitioning tool is used - l # Display all disk partition information [ ...

Posted by deejay on Wed, 08 May 2019 14:39:03 +0200

Shell command - wc, tr for file and content processing

File and Content Processing - wc, tr 1. wc: Count lines, words, or bytes of a file Functional description of wc command The wc command calculates the number of words.With the wc command, we can calculate the number of bytes, words, or columns of a file. If you do not specify a file name or give it a file name of'-', the wc command reads data ...

Posted by xydon1 on Tue, 07 May 2019 22:40:02 +0200

A Glance at the [APUE] Process

Basic concepts Program: Executable file stored in disk file Processes: Instances of program execution Cmd: ps ,top Process ID: Each process has a unique process ID identified by a non-negative integer 0 is the dispatch process, 1 is the init process, (most UNIX systems) 2 is the page daemon /*In addition to the process ...

Posted by JOWP on Tue, 07 May 2019 21:05:03 +0200

LVN and Its Implementation on Linux

Reference material: LVM Details - Junma Jinlong - Blog Garden How to reduce the size of an LVM partition formatted with xfs filesystem on CentOS7? Brother Junma's blog will go a little deeper, and he is based on ext filesystem to demonstrate expansion and scaling, while I use xfs filesystem. Basic concepts Traditional disk partitioning ...

Posted by rakhi on Tue, 07 May 2019 20:15:04 +0200

Infinite Pole Classification (Recursive)

Infinite polar classification simply means that a class can be divided into several subclasses, and then one subclass can be divided into other subclasses indefinitely, as if windows could create a new folder, then create some folders in this folder, and some folders under the folder. So how does PHP achieve its infinite classif ...

Posted by igul222 on Tue, 07 May 2019 03:05:03 +0200