Batch command operation method and device of Linux host
The embodiment of the invention discloses a batch command operation method and device of a Linux host. The method comprises: creating command operation threads with quantity equal to that of pre-stored connection information, wherein the command operation threads are all command operation threads st...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a batch command operation method and device of a Linux host. The method comprises: creating command operation threads with quantity equal to that of pre-stored connection information, wherein the command operation threads are all command operation threads stored in a thread pool; respectively obtaining the network connection among target hosts corresponding to the command operation threads by the command operation threads according to the connection information, respectively obtaining the conversations among the target hosts corresponding to the command operation threads by the command operation threads according to the network connection; starting the conversations, after a user inputs commands, respectively executing the commands input by the users on the target hosts by the command operation threads on the basis of the conversations; respectively obtaining the feedback information of the command executed on the target hosts by the command operation threads, and dis |
---|