需要使用Shell脚本在单个表中同时运行docker stats和ps命令和两个命令的输出
我在2个不同的表中得到输出,需要在一个表中
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-bacheca',
templateUrl: './bacheca.component.html',
styleUrls: ['./bacheca.component.sass']
})
export class BachecaComponent implements OnInit {
constructor(private route: ActivatedRoute) {
console.log('BachecaComponent Const');
this.route.paramMap.subscribe(params => {
});
}
ngOnInit() {
console.log('BachecaComponent');
}
}