Docker perintah atas
buruh pelabuhan top: Lihat proses informasi berjalan dalam wadah untuk mendukung parameter perintah ps.
tatabahasa
docker top [OPTIONS] CONTAINER [ps OPTIONS]
Belum tentu terminal runtime kontainer / bin / bash reciprocating perintah atas, dan wadah belum tentu perintah atas dapat digunakan untuk melaksanakan proses buruh pelabuhan pandangan atas wadah berjalan.
contoh
Lihat Proses mymysql wadah.
w3big@w3big:~/mysql$ docker top mymysql UID PID PPID C STIME TTY TIME CMD 999 40347 40331 18 00:58 ? 00:00:02 mysqld
Lihat semua proses yang berjalan informasi kontainer.
for i in `docker ps |grep Up|awk '{print $1}'`;do echo \ &&docker top $i; done